Справочник Пользователя для Iotek Systems LLC HXC900

Скачать
Страница из 59
HXC Client Module User Guide
Version 1.09
© 2017 All rights reserved. Iotek Systems, LLC
Page 53 of 59
10 Appendix II: List of AT Commands for OTAA
The following list shows the bare minimum AT commands to send a packet using OTAA
join  mode.  HXC400  and  HXC900  commands  are  exactly  same  except  the  channel
configuration.
 
To  facilitate  the  example,  all  <CR><LF>  is  intentionally  omitted.  All 
commands will have to end with <CR><LF>.
 
10.1  HXC400 with Class A
AT+FD 
 
 
 
 
// Factory reset the module, to make sure the module
 
>>>
OK  
 
 
 
 
// starts with default values.
 
>>>
HXC400 AT Interface 
>>>
FW Ver: 1.15 
>>>
RDY
AT+NJM=OTAA 
 
 
 
// Set join mode
>>>
OK 
AT+CLASS=A 
 
 
 
// Set class
 
>>>OK 
/*
* You can use default channels, or you can define your custom channels using
AT+CH
*/
AT+CH=? 
>>>
0,471500000,5,0 
>>>
1,471700000,5,0 
>>>
2,471900000,5,0 
>>>
OK 
AT+DEVEUI=be7a00000000042c 
>>>
OK 
AT+APPEUI=be7c000000000178 
>>>
OK 
AT+APPKEY=3e03deb24a835b3be54ca996c334408a 
>>>
OK 
AT+JOIN 
>>>
OK 
>>>
txDone 
>>>
rxDone 
>>>
JOINED 
AT+SEND:0,12:Eureka! 
>>>
OK 
>>>
txDone 
>>>
rx1TimeOut   
 
 
// Assuming there isn’t a downlink packet from NS
 
>>>
rx2TimeOut