zephyr: LoRaWAN Sample: `join accept` but "Join failed"
Hey Guys, @Mani-Sadhasivam
I am using the lorawan example (OTAA) and successfully can send a join request from the transceiver (Semtech SX1276 controlled by a nRF52840-dk). My LoRaWAN-GW receives the request and responds with a join accept (See pictures).

Somehow my transceiver doesn’t seam to receive (or accept?!) the join accept:
2021-06-25 14:10:09,415 # *** Booting Zephyr OS build zephyr-v2.6.0-404-g13416c584ba8 ***
2021-06-25 14:10:10,388 # [00:00:00.452,209] <inf> sx127x: SX127x version 0x12 found
2021-06-25 14:10:10,395 # [00:00:00.550,445] <dbg> lorawan.lorawan_init: LoRaMAC Initialized
2021-06-25 14:10:15,488 # [00:00:05.550,537] <inf> lorawan_class_a: Joining network over OTAA
2021-06-25 14:10:15,495 # [00:00:05.560,455] <dbg> lorawan.lorawan_join: Network join request sent!
2021-06-25 14:10:23,822 # [00:00:13.882,568] <dbg> lorawan.MlmeConfirm: Received MlmeConfirm (for MlmeRequest 1)
2021-06-25 14:10:23,829 # [00:00:13.882,598] <err> lorawan: MlmeConfirm failed : Join failed
2021-06-25 14:10:23,837 # [00:00:13.883,789] <err> lorawan_class_a: lorawan_join_network failed: -22
Also my (Chirpstack)-LoRaWAN-GW says that it received a packet (the request) and emitted another one (i guess the join accept):
Jun 25 12:28:25 raspberrypi3 user.info chirpstack-concentratord-sx1301[5496]: Frame received, uplink_id: 3e3626a4-7eb5-4e8a-8f4d-51885fe24482, count_us: 25135716, freq: 868500000, bw: 125000, mod: LoRa, dr: SF12
Jun 25 12:28:25 raspberrypi3 user.info chirpstack-concentratord-sx1301[5496]: Enqueueing timestamped packet, downlink_id: e15bd81f-0034-46c9-87c2-e8bd22945e15, counter_us: 30135716, current_counter_us: 25420284
Jun 25 12:28:30 raspberrypi3 user.info chirpstack-concentratord-sx1301[5496]: Scheduled packet for TX, downlink_id: e15bd81f-0034-46c9-87c2-e8bd22945e15, count_us: 30135716, freq: 868500000, bw: 125000, mod: LoRa, dr: SF12
Jun 25 12:28:32 raspberrypi3 user.info chirpstack-concentratord-sx1301[5496]: Publishing stats event, stats_id: 7d710b38-ab7d-40b8-904a-8d3958e22f27, rx_received: 1, rx_received_ok: 1, tx_received: 1, tx_emitted: 1
Does anyone has an idea what could be wrong anyways?
PS: I have some other different LoRaWAN-Nodes (Raspi LoRa Node, RIOT LoRaWAN) up and running with the same setup and there are just working fine, so I dont think the gateway or Network-/Application-Server-Part is causing the problem.
Setup:
LoRaWAN Node
- Zephyr 2.6 (latest)
- nRF52840 Development Kit
- Semtech SX1276
LoRaWAN GW
- Raspberry Pi
- Pi Supply LoRaWAN HAT (RAK2247)
- Chirpstack Gateway OS (Base)
LoRaWAN Application/Network-Sevrer
- Chirpstack
With best regards, Sebastian
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 17
LoRaWAN 1.1.x is not supported yet. I think we will wait for stable upstream support.