Hey all,
I have seeed’s mmwave sensor and I’m trying to send ‘AT’ commands to a lorawan node connected via grove pins. How do I do this? I know the syntax I’ll have to use looks something like this :
- uart.write:
id: uart_lorawan
data: 'AT+DR=2'
But I’m not sure where I should place this in my code? Do I necessarily to add this below a ‘on_…’ statement? All I’m looking to do is write ‘AT+DR=2’ over the uart bus (with id: uart_lorawan) once when the device starts. This isn’t any action based on any trigger value or anything. I tried using this after on_boot but that didn’t work - I’m not really sure why.
Thanks.