Skip to main content
Thai Le
Associate
Aug 23, 2017 7:02 AM UTC
Question

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

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
This topic has been closed for replies.

3 replies

Tesla DeLorean
Guru
Aug 23, 2017 1:14 PM UTC
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 (See Profile) Up vote any posts that you find helpful, it shows what's working..
Thai Le
Thai LeAuthor
Associate
Aug 23, 2017 3:22 PM UTC
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?

Tesla DeLorean
Guru
Aug 23, 2017 4:57 PM UTC
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 (See Profile) Up vote any posts that you find helpful, it shows what's working..