Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
7 years, 4 months ago.
LoRaWAN-demo-72 missing rx frames
Hi
I connected SX1272MB2xAS to Nucleo-L152RE. Programmed STM32L152 with LoRaWAN-demo-72 changing connection parameters. I tried to connect to gateway with OTAA unsuccessfully then switched to ABP and my Lorank gateway see "gwmsgs" frames. Frames look identically like this from RN2483 device (both connected). But in applicaton in Loriot (LoraWan server) there is no "rx" frames from SX1272MB2xAS. Only "txd". Loriot see the frames but not display them at all. Only display "txd". On RN2483 with Loriot there is no problem. So I think that frames from SX1272MB2xAS could be damaged. I send one from Lorank gateway: Jul 14 12:04:37 lorank8 lorank8v1[311]: JSON up: {"cmd":"gwmsgs","messages":[{"tmst":3715196020,"time":"2017-07-14T12:04:30.304583Z","freq":867700000,"rssi":-89,"snr":2.2,"sf":12,"bw":125,"cr":"4/5","mic":"94C5731D","mt":4,"devaddr":"12345678","fctrl":128,"fcnt":0,"port":15,"toa":1318,"len":19,"data":"gHhWNBKAAAAPOcI040Tx"}]} Jul 14 12:04:37 lorank8 lorank8v1[311]: {"cmd":"rxack","tmst":[3715196020]} Jul 14 12:04:37 lorank8 lorank8v1[311]: {"cmd":"txpk","tmst":3716196020,"freq":867700000,"rfch":0,"powe":14,"modu":"LORA","ipol":true,"datr":"SF12BW125","size":13,"data":"oHhWNBKhRAUGn3KAOg=="}
In differences to RN2483 I saw that fcnt is always 0. But it can cause that SX1272MB2xAS connected by ABP and RN2483 connected by OTAA. I do not know that?
Why I can not connect over OTAA? Why server do not see "rx" frames? Do i make bad settings for SX1272MB2xAS? What could be the reason of that behaviour?
Question relating to:
1 Answer
6 years, 8 months ago.
I'm experiencing also some problems with the current version of the system. I've migrated from L073 to L152 to eliminate one variable.
I managed to have bi directional communication in ABP mode, getting the periodic downlink, then activate the test application by senfing the proper payload to the port 224, and seeing the test mode in action.
However, when switching to OTAA, the board is stuck in Joining state.
The same setup with the same keys and EUIDs work fine with the previous version of the LoRaWAN stack and SX1272 driver.
Not sure what causes this issue.