S76G/S78G Commands Set Reference
v1.6.5
July 2, 2018
23 of 73
Product Name
Version
Doc No
Date
Page
3.2.3
mac save
Response:
Ok
Purpose: Save LoRaWAN
TM
configuration parameters to flash.
Example:
mac save
>> Ok
3.2.4
mac get_join_status
Response: a string representing whether module is joined successfully. Returned string can be:
joined
,
unjoined
.
Purpose: Get join status of LoRaWAN
TM
.
Example:
mac get_join_status
>> joined
3.2.5
mac set_linkchk
Response:
Ok
.
Purpose: Next packet sent to server will include a Link Check MAC command. The downlink of sent
packet will contain the response of Link Check MAC command. The response includes:
DemoMargin
: link margin in dB of the last successfully received Link Check MAC command,
value from 0 to 255
NbGateways
: gateway number that successfully received the last Link Check MAC command,
value from 0 to 255
Example:
mac set_linkchk
>> Ok
mac tx ucnf 11 55
>> Ok
>> DemodMargin = 19
>> NbGateways = 1
>> tx_ok
3.2.6
mac set_deveui <DevEUI>
<DevEUI>: an 8-byte hexadecimal string representing Device EUI used for LoRaWAN
TM
.
Response:
Ok
, if <DevEUI> string is valid
Invalid
, if <DevEUI> string is not valid.