![]() |
![]() |
![]() |
![]() |
![]() |
---|
This project is a quick start for the new RAKwireless WisDuo RAK11300 LPWAN stamp module. It gives the opportunity to test the LPWAN functionality without writing and flashing code.
It is a very simple firmware that provides an AT Command Interface over USB and RX1/TX1 UART of the module. It is not optimized for low power consumption.
The LPWAN credentials are stored in the flash memory of the RAK11300 LPWAN stamp module. The firmware is written using the Arduino framework, the source code is provided for both Arduino IDE and for PlatformIO. It uses the Raspberry Pi RP2040 boards package which needs to be patched with the RAK_Patch to support the RAK11300/RAK11310.
REMARK
This firmware uses some functions to access the flash memory that are available in Arduino BSP versions older than V0.0.6. You need to need to upgrade the BSP to the latest version
All AT commands are listed and explained in the AT-Command Manual.
Set the DevEUI
AT+DEVEUI=5555555553525150
Set the AppEUI
AT+APPEUI=5051525355555555
Set the AppKey
AT+APPKEY=55555555535251505051525355555555
Set the Region (US915)
AT+BAND=8
Check the settings
AT+STATUS=?
Start network join (requires a gateway connected to a LPWAN server and the device registered on the LPWAN server with above credentials)
AT+JOIN=1:0:1:1
Log output:
============================
RAK11300 AT Command Firmware
SW Version 1.0.0
LoRa(R) is a registered trademark or service mark of Semtech Corporation or its affiliates.
LoRaWAN(R) is a licensed mark.
============================
Device status:
Auto join enabled
Mode LPWAN
LPWAN status:
Marks: AA 55
Dev EUI AC1F09FFFE0142C8
App EUI 1200353833333250
App Key 2B84E0B09B68E5CB42176FE753DCEE79
Dev Addr 83986D12
NWS Key 50323333383500121200353833333250
Apps Key 50323333383500121200353833333250
OTAA enabled
ADR disabled
Public Network
Dutycycle disabled
Repeat time 60000
Join trials 10
TX Power 0
DR 3
Class 2
Subband 1
Fport 2
Unconfirmed Message
Region AS923-3
Network not joined
LoRa P2P status:
P2P frequency 916000000
P2P TX Power 22
P2P BW 125
P2P SF 7
P2P CR 1
P2P Preamble length 8
P2P Symbol Timeout 0
============================
AT+JOIN=1:0:30:10
AT+JOIN=1:0:30:10
OK
AT+JOIN=SUCCESS