S76G/S78G Commands Set Reference
v1.6.5
July 2, 2018
34 of 73
Product Name
Version
Doc No
Date
Page
<bandID> - a decimal string representing band number, it can be from 0 to 15
<downlink frequency> - downlink frequency of specified channel in Hz.
Invalid
, if <ChannelId> string is not valid.
Purpose: Get the uplink frequency, maximum & minimum DR, dc band and downlink frequency of a
specified channel.
Example:
mac get_ch_para 0
>> 868000000 0 5 0 0
3.2.43
mac get_ch_status <ChannelId>
<ChannelId>: a decimal string representing channel number, its value range depends on different
regional band (e.g. EU868 range falls in 0 to 15; US915 range falls in 0 to 71).
Response:
on
or
off
, state of specified channel.
Invalid
, if <ChannelId> string is not valid.
Purpose: Get state of specified channel.
on
means the channel is enabled, and
off
means the
channel is disabled.
Example:
mac get_ch_status 0
>> on
3.2.44
mac get_dc_ctl
Response: state of duty cycle,
on
or
off
.
Default:
off
Purpose: Get state of duty cycle checking. “
on”
means the checking is enabled, and “
off”
means the
checking is disabled.
Example:
mac get_dc_ctl
>> on
3.2.45
mac get_dc_band <BandID>
<BandID>: a decimal string representing band number, it can be from
0
to
15
.
Response:
<duty cycle>
, if <BandID> is valid.
<duty cycle> - duty cycle of specified band, it can be from
0
to
65535
.
0
: means 0%.
1-65535
: duty cycle is equal to 1/<duty cycle>.
Invalid
, if <BandID> string is not valid.