S76G/S78G Commands Set Reference
v1.6.5
July 2, 2018
29 of 73
Product Name
Version
Doc No
Date
Page
Purpose: Enable of disable specified channel. Example:
mac set_ch_status 0 on
>> Ok
3.2.22
mac set_dc_ctl <Status>
<Status>: a string representing duty cycle status, it can be
on
or
off
.
Response:
Ok
, if <Status> string is valid.
Invalid
, if <Status> string is not valid. Enable or disable duty cycle check at transmitting
packet.
Note: Used for CE certification.
Example:
mac set_dc_ctl on
>> Ok
3.2.23
mac set_dc_band <BandID> <DutyCycle>
<BandID>: a decimal string representing band number, it can be from
0
to
15
for EU868 or AS923,
0
for US915 or CN470.
<DutyCycle>: a decimal string representing 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>.
Response:
Ok
, if <BandID> and <DutyCycle> strings are valid.
Invalid
, if <BandID> and <DutyCycle> strings are not valid.
Purpose: Set frequency range and duty cycle of specified band.
Example:
mac set_dc_band 1 100
>> Ok
3.2.24
mac set_join_ch <ChannelId> <Status>
<ChannelID>: a decimal string representing channel number, it can be from
0
to
15
.
<Status>: a string representing whether the specified join channel is
on
or
off
.
Response:
Ok
, if <ChannelID> and <Status> string is valid.
Invalid
, if <ChannelID> and <Status> string is not valid.
Purpose: Set frequency channel for join request.
Example:
mac set_join_ch 1 on
>> Ok