S76G/S78G Commands Set Reference
v1.6.5
July 2, 2018
36 of 73
Product Name
Version
Doc No
Date
Page
>> 9
3.2.48
mac get_downcnt
Response: downlink counter that will be used at next transmission. Default:
0
Purpose: Get downlink counter that will be used at next transmission.
Example:
mac get_downcnt
>> 5
3.2.49
mac get_class
Response: class type of LoRaWAN, it can be
A
or
C
. Default:
A
Purpose: Get class type of LoRaWAN
TM
.
Example:
mac get_class
>> A
3.2.50
mac set_tx_mode <Cycle>
<Cycle>: A string representing TX signal would be sent continuously or not, it can be
cycle
or
no_cycle.
Response:
Ok
, if <Cycle> string is valid.
Invalid
, if <Cycle> string is not valid.
Purpose:
no_cycle
mode means no any TX signal would be sent after joining, user needs to send TX
signal manually by “mac tx” command;
cycle
mode allows TX signal keep running, but the TX interval
is assigned by other duty cycle related command.
Example:
mac set_tx_mode no_cycle
>> Ok
3.2.51
mac get_tx_mode
Response: A string representing TX signal would be sent continuously or not, it can be
cycle
or
no_cycle.
Purpose: See “mac set_tx_mode” command.
Example:
mac get_tx_mode
>> cycle
3.2.52
mac set_batt <Battery>