Skip to content

Instantly share code, notes, and snippets.

@maclarensg
Last active September 13, 2018 08:32
Show Gist options
  • Save maclarensg/3da7ddee2dd5f1f05e4186869bcf4981 to your computer and use it in GitHub Desktop.
Save maclarensg/3da7ddee2dd5f1f05e4186869bcf4981 to your computer and use it in GitHub Desktop.
RisingHR Commands

AT Commands RisingHF

Use serial set at 9600 baud rate, does not display INPUT is normal

Appkey 2B7E151628AED2A6ABF7158809CF4F3C

10.16.101.47

Commands

To get the DevEUI and AppEUI.

AT+ID
AT+ID=DevEui, "47:99:33:95:00:29:00:F8"
AT+ID=DevEui, "47:99:33:95:00:29:00:F9"
AT+ID=DevEui, "47:9A:BD:91:00:1F:00:4F"
AT+ID=DevEui, "47:9A:BD:91:00:1F:00:48" <<< iotnz-preprod
AT+ID=DevEui, "47:9A:BD:91:00:1F:00:49" <<< iotnz
AT+ID=DevEui, "47:9A:BD:91:00:1F:00:50" <<< opg-preprod

APPEUI

AT+ID
+INFO: Input timeout
+ID: DevAddr, E0:1C:59:16
+ID: DevEui, 47:9A:BD:91:00:1F:00:48
+ID: AppEui, 52:69:73:69:6E:67:48:46


AT+KEY=?
AT+KEY=NWKSKEY?
AT+KEY=NWKSKEY, "2B7E151628AED2A6ABF7158809CF4F3C"
AT+KEY=APPSKEY, "2B7E151628AED2A6ABF7158809CF4F3C"
AT+ID=DevAddr,"040A6AA2"

Reset the device

AT+FDEFAULT=RISINGHF

Set the band

AT+DR=AS923
AT+DR=kr920

Switch to OTAA

AT+MODE=?
AT+MODE=LWOTAA

Switch to ABP

AT+MODE=LWABP

Enable logs

AT+LOG=ON
AT+LOG=OFF

Join the network

AT+JOIN=FORCE
wait few secs)

Set the Class B version (Pre-LoRaWAN 1.1)

AT+LW=VERSION, CLASSBV11

Set the beacon and pingslot parameters

AT+BEACON=3,DR3,922.2, DR3, 922.4

Switch to Class

B AT+CLASS=B AT+CLASS?

Send Hex Data

AT+CMSGHEX="123456"
AT+CMSG="1"
AT+CMSG="2"
AT+CMSG="3"
AT+CMSG="4"
AT+CMSG="5"
AT+CMSG="6"
AT+CMSG="hello world"
AT+MSG="1"
AT+CMSGHEX="676176696e20796170"
AT+MSGHEX="123456"
version
AT+VER
+INFO: Input timeout
+ID: DevAddr, 05E6C066
+ID: DevEui, 479933950029003A
+ID: AppEui, 526973696E674846
+INFO: Input timeout, start parse
+ID: DevAddr, 00acc21c
+ID: DevEui, 4797c5340022002e
+ID: AppEui, 526973696e674846
+INFO: Input timeout
+ID: DevAddr, 01:04:F0:4E
+ID: DevEui, 479ABD91001F0040
+ID: AppEui, 526973696E674846
AT+KEY=NWKSKEY?

AT+CH=?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment