AT Command Usage Scenario
eWBM LoRa AT Command Manual for Consumer Products, Rev. 0.6, 02/2021
8 | 49
5.
AT COMMAND
USAGE
SCENARIO
5.1.
INITIAL JOIN REQUEST TO NETWORK SERVER OVER THE AIR
ACTIVATION (OTAA)
⚫
To be connected to a LoRa network server, the device EUI information of the node device (module) must be
sent to the server company, and in return, the server company must provide Application EUI (AppEUI) and
Application KEY (AppKEY) to each node.
1)
Device EUI of the Node can be obtained by using AT+Command (see below), or from module label.
2)
Received AppEUI and AppKey are stored in the Node device (Module) by using the following
AT+Command.
3)
Execute AT+JOIN command to join the server. The connection status can be checked in the resulting
Log file. It can also be confirmed by running AT+NJS command.
AT+DEVEUI
0000000000000001
<OK>
AT+APPEUI
70b3d57ed0010e4f
<OK>
AT+APPKEY
de52ddd16146079649c89a0c1bd9eae5
<OK>
AT+JOIN
Send JOIN_REQ Port 0 Size 0 Adr 1 AdrAckReq 0 Ack 0 Cnt 0
00:00:19.925 TxConfig ch922500000 pwr 14 bw 0 sf7
<OK>
00:00:20.001 TxDone
00:00:24.974 RxConfig ch 922500000 bw 0 sf7
00:00:26.037 RxConfig ch 921900000 bw 0 sf12
00:00:27.072 TxConfig ch 922100000 pwr 14 bw 0 sf7
00:00:27.148 TxDone
00:04:42.642 RxConfig ch922100000 bw 0 sf7
Rx1 JOIN_ACCEPT size 33 rssi -88 snr 24 Rx1DrOffset 0 RxDelay1 1000 Rx2Dr 0
[EVENT] JOINED
<-
An Event Message is generated when the server connection is completed
.
AT+NJS
<-
To monitor the Join status to the server
1
<-
(0: not connected, 1: connected)
<OK>