To see all options for network server commands`
# lora-query -x help`
For ABP device registration first a device record is added then a session created for the device. The appeui will be attached to uplinks, the joineui is for recording purposes, it would have been sent in an OTA join.
# lora-query -x device add '{"deveui":"00-80-00-00-00-00-e1-9c","class":"C"}'
# lora-query -x session add
'{"deveui":"00-80-00-00-00-00-1-9c","dev_addr":"00112233",
"appeui":"00-88-88-88-00-00-e1-9c","joineui":"00-99-99-99-00-00-e1-9c",
"net_id":"000017",
"app_senc_key":"531bd9c5ec5d8ba5ef3b262cebfb3e66",
"fnwk_sint_key":"531bd9c5ec5d8ba5ef3b262cebfb3e66"}'
The whitelist is for OTA devices, records in the list should be as follows:
{ "deveui": "", "appeui": "", "appkey": "", "class": "A" }
-
This reply was modified 6 years, 1 month ago by Jason Reiss.
-
This reply was modified 6 years, 1 month ago by Jason Reiss.
-
This reply was modified 6 years, 1 month ago by Jason Reiss.
-
This reply was modified 6 years, 1 month ago by Jason Reiss.