S76G/S78G Commands Set Reference
v1.6.5
July 2, 2018
24 of 73
Product Name
Version
Doc No
Date
Page
Purpose: Set Device EUI used for LoRaWAN
TM
.
Example:
mac set_deveui 9c65f9fffe123456
>> Ok
Note: This assigned DevEUI would be stored into EEPROM immediately after it is changed. No need to
use “mac save” command to store it, and it would NOT be changed to default value by “sip
factory_reset” command.
3.2.7
mac set_appeui <AppEUI>
<AppEUI>: an 8-byte hexadecimal string representing Application EUI used for LoRaWAN
TM
.
Response:
Ok
, if <AppEUI> string is valid.
Invalid
, if <AppEUI> string is not valid.
Purpose: Set Application EUI used for LoRaWAN
TM
.
Example:
mac set_appeui 0000000000000000
>> Ok
Note: This assigned AppEUI would be stored into EEPROM immediately after it is changed. No need
to use “mac save” command to store it, and it would NOT be changed to default value by “sip
factory_reset” command.
3.2.8
mac set_appkey <AppKey>
<AppKey>: a 16-byte hexadecimal string representing Application Key used for LoRaWAN
TM
.
Response:
Ok
, if <AppKey> string is valid
Invalid
, if <AppKey> string is not valid.
Purpose: Set Network Session Key used for LoRaWAN
TM
.
Example:
mac set_appkey 8089b0e2879ff3307a8c95bfbd7416ff
>> Ok
Note: This assigned AppKey would be stored into EEPROM immediately after it is changed. No need
to use “mac save” command to store it, and it would NOT be changed to default value by “sip
factory_reset” command.
3.2.9
mac set_devaddr <DevAddr>
<DevAddr>: a 4-byte hexadecimal string representing Device Address used for LoRaWAN
TM
.