Справочник Пользователя для Iotek Systems LLC HXC900
HXC Client Module User Guide
Version 1.09
© 2017 All rights reserved. Iotek Systems, LLC
Page 29 of 59
AT+NJM=5
>>>
AT_PARAM_ERROR
8.7.3.2 AT+JOIN: Join LoRa
®
Network
This command sends a join request to the network. If the join mode is OTAA, this
command will send the Join Request and wait for JN1DL milliseconds for RX1 window
and JN2DL milliseconds for the RX2 window to listen for an ACK from the server.
command will send the Join Request and wait for JN1DL milliseconds for RX1 window
and JN2DL milliseconds for the RX2 window to listen for an ACK from the server.
The client module takes three attempts (default) to join with a network server and then
go back to sleep. The users can change the number of retries using Set Command, but it
has to be more than three. During ABP join mode, although the Join Request isn’t
necessary, users will have to use this command to set the client module’s JOIN flag.
has to be more than three. During ABP join mode, although the Join Request isn’t
necessary, users will have to use this command to set the client module’s JOIN flag.
Note: Users can send a join request anytime they want, even if the device is
already joined, to update the dynamic security session keys.
already joined, to update the dynamic security session keys.
AT+JOIN?
>>>
Join Network
>>>
OK
// OTAA – Successfully joined on 1
st
attempt
AT+JOIN
>>>
OK
>>>
txDone
>>>
rxDone
>>>
JOINED
// OTAA – Failed to join
AT+JOIN=4
>>>
OK
>>>
txDone
// 1
st
attempt
>>>
rx1TimeOut
>>>
rx2TimeOut
>>>
txDone
// 2
nd
attempt
>>>
rx1TimeOut
>>>
rx2TimeOut
>>>
txDone
// 3
rd
attempt
>>>
rx1TimeOut
>>>
rx2TimeOut
>>>
txDone
// 4
th
attempt
>>>
rx1TimeOut
>>>
rx2TimeOut
// ABP Join Scheme
AT+JOIN
>>>
OK
>>>
JOINED