cancel
Showing results for 
Search instead for 
Did you mean: 

Set up B-L072Z-LRWAN1, send data to multitech gateway and loriot

Thai Le
Associate
Posted on August 23, 2017 at 09:02

Hello, currently im using B-L072Z-LRWAN1 send AT command to multitech gateway and server is loriot.io. And i cant get data at the server.

Here some information:

Firmware version B-L072Z-LRWAN1 v1.1.1

AT command:

   AT

   AT+CFM=0

   AT+NJM=0

   AT+DADDR=...

   AT+NWKSKEY=...

   AT+APPSKEY=...

   AT+JOIN

   AT+NJS=? (response = 1)

   AT+SEND=1:0123

   OK

   txDone

   rxTimeOut

   rxTimeOut

I cant connect to Multitech gateway.

Any suggestion?

#lora #b-l072z-lrwan1
3 REPLIES 3
Posted on August 23, 2017 at 15:14

There is a problem with the sscanf() in the AT+SEND command parsing

https://community.st.com/0D50X00009XkXrMSAV

 

uint8_t appport; needs to be 

uint32_t appport;

See also the rest of that thread for some foundation in the issue.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
Posted on August 23, 2017 at 15:22

Thank for fast answer Clive One

I will try it tomorrow, but my config above is correct ?

I see when i run AT+JOIN the DADDR, 

NWKSKEY, APPSKEY is back to default. Is there something wrong?

Posted on August 23, 2017 at 16:57

I'm doing mostly point-to-point communication, I don't have a Gateway to tinker with.

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..