S76G/S78G Commands Set Reference
v1.6.5
July 2, 2018
37 of 73
Product Name
Version
Doc No
Date
Page
<Battery>: a decimal string representing battery level indication, it can be from
0
to
255.
Response:
Ok
, if < Battery > string is valid.
Invalid
, if < Battery > string is not valid or out of range.
Purpose: It allows user to give a battery level which is complianted with DevStatusAns MAC
command of LoRaWAN
TM
alliance.
Example:
mac set_batt 254
>> Ok
3.2.53
mac get_batt
Response: a decimal string representing battery level indication, it can be from
0
to
255.
Purpose: A battery level which is complianted with DevStatusAns MAC command of LoRaWAN
TM
alliance.
Example:
mac get_batt
>> 254
3.2.54
mac set_tx_confirm <Confirm>
<Confirm>: A string representing whether S76G TX uplink needs server’s ACK in downlink, it can be
on
or
off.
Response:
Ok
, if <Confirm> string is valid.
Invalid
, if <Confirm> string is not valid.
Purpose: Every uplink from devices like S76/78S can request the following downlink whether
includes ACK filed. So user can use this command to decide it. If <Confirm> is
on,
the next and later
uplink all would requests ACK filed in downlink from server, which is following the behavior of
LoRaWAN
TM
alliance.
Example:
mac set_tx_confirm on
>> Ok
3.2.55
mac get_tx_confirm
Response: A string representing whether the current S76G TX uplink needs server’s ACK in downlink,
it would be
on
or
off.
Purpose: See “mac set_tx_confirm” command.
Example:
mac get_tx_confirm
>> on