But wait: Will #LoRaWAN allow replayed "Join Network" Requests? 😲 Nope it doesn't! #WisGate #ChirpStack will reject Replayed Requests because the Nonce needs to be unique ... Here's how we find Nonce Errors in RAKwireless WisGate
Let's copy the Join #LoRaWAN Network Request generated by #BL602 ... And retransmit with #WisBlock ... Surprise: the Join Request succeeds! 😲 Which proves the Nonce and Message Integrity Code are OK ... Probably the BL602 Power Amplifier setting is wrong 🤔
https://github.com/lupyuen/bl_iot_sdk/tree/lorawan/customer_app/sdk_app_lorawan#output-log
#BL602 vs #WisBlock: Join #LoRaWAN Network Request ... Let's check the Nonce and Message Integrity Code ... Wonder if we can retransmit the BL602 packet from WisBlock 🤔
https://github.com/lupyuen/bl_iot_sdk/tree/lorawan/customer_app/sdk_app_lorawan#output-log
#LoRaWAN Packet: #BL602 vs #WisBlock ... Seems BL602 is transmitting at Lower Power than WisBlock ... Let's check the Power Amplifier settings 🤔
https://github.com/lupyuen/bl_iot_sdk/tree/lorawan/customer_app/sdk_app_lorawan#output-log
#LoRaWAN "Join Network" Packet transmitted by #WisBlock ... Looks similar to the one transmitted by BL602 ... Nonce and Message Integrity Code will differ of course
https://github.com/lupyuen/wisblock-lorawan/blob/master/README.md#output-log
Here's the "Join Network" #LoRaWAN Packet transmitted by #BL602 ... Does this look right? 🤔 Let's compare with WisBlock
https://github.com/lupyuen/bl_iot_sdk/tree/lorawan/customer_app/sdk_app_lorawan#output-log
Airspy SDR verifies that #BL602 is indeed transmitting the Join #LoRaWAN Network packet ... Maybe it contains garbage 🤔
https://github.com/lupyuen/bl_iot_sdk/tree/lorawan/customer_app/sdk_app_lorawan#output-log
Sadly our #WisGate #LoRaWAN Gateway didn't receive any LoRaWAN Packets transmitted by #BL602 ... Let's look inside the transmitted packets ... And verify the transmission with Airspy SDR
https://github.com/lupyuen/bl_iot_sdk/tree/lorawan/customer_app/sdk_app_lorawan#output-log
#WisGate #ChirpStack you're so funny ... I'm nowhere near Chinese Garden, Japanese Garden and Jurong Bird Park 😂
#BL602 is now transmitting the #LoRaWAN Join Network Request ... But doesn't receive any response from our LoRaWAN Gateway (WisGate) ... Let's check the WisGate LoRaWAN Log
https://github.com/lupyuen/bl_iot_sdk/tree/lorawan/customer_app/sdk_app_lorawan#output-log
After disabling #LoRaWAN Carrier Sensing ... #BL602 hits an Exception while transmitting the Join Network Request ... Let's lookup these addresses in the RISC-V Disassembly
https://github.com/lupyuen/bl_iot_sdk/tree/lorawan/customer_app/sdk_app_lorawan#output-log
Oops Mynewt's #LoRaWAN Carrier Sensing implementation is outdated ... Semtech's LoRaWAN Reference Implementation does NOT require Carrier Sensing outside Japan and South Korea ... So we disable Carrier Sensing and use a random LoRa Frequency Channel
#BL602 tries to join the #LoRaWAN Network ... But no Join Request gets transmitted to WisGate 🤔
https://github.com/lupyuen/bl_iot_sdk/tree/lorawan/customer_app/sdk_app_lorawan#lorawan-commands
IoT Techie and Educator / Apache NuttX PMC