ASR6501 HDK

From ElectroDragon Wiki

AT Commands Examples

Basic Enquiry

  • AT+CGMI?
  • AT+CGMM?
  • AT+CGMR?
  • AT+CGSN?
  • AT+CGBR?
  • AT+CJOINMODE?

Join LoRaWan Network OTAA

  • AT+CRESTORE //Initiate LM502 module.
  • AT+CJOIN=1,1,10,8 // Enable OTAA Join to LoRaWAN network, join periodically 10s. max retry 8.If module is reboot, this command need to run again to join network,
  • AT+DTRX=0,0,10,0123456789 // Send a string 0123456789

Join LoRaWan Network via ABP

  • AT+CRESTORE // Initiate LM502 module.
  • AT+CJOINMODE=1 //Set to ABP join, (If LM502 is reboot, user need to run these command again)
  • AT+DEVADDR=xxxxxxxx // xxxxxxxx is the Dev Addr from the TTN page.
  • AT+DTRX=0,0,10,0123456789 // Test command, send “0123456789” to LoRaWAN server