S76G/S78G Commands Set Reference
v1.6.5
July 2, 2018
28 of 73
Product Name
Version
Doc No
Date
Page
3.2.19
mac set_ch_freq <ChannelId> <Frequency>
<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
).
<Frequency>: a decimal string representing operation frequency of specified channel in Hz, it can be
from
902000000
to
932000000
(US915); from
470000000
to
510000000
(CN470); from
433000000
to
932000000
(Other regions).
Response:
Ok
, if <ChannelId> and <Frequency> strings are valid.
Invalid
, if <ChannelId> and <Frequency> strings are not valid.
Purpose: Set operation frequency of specified channel.
Example:
mac set_ch_freq 0 868000000
>> Ok
3.2.20
mac set_ch_dr_range <ChannelId> <MinDR> <MaxDR>
<ChannelId>: a decimal string representing channel number, its value range depends on different
regional band, it can be
0
to
15
(EU868 or AS923),
0
to
95
(CN470) or
0
to
71
(US915).
<MinDR>: a string representing minimum data rate, it can be from
0
when uplink dwell is on,
2
when
downlink dwell is off.
<MaxDR>: a string representing maximum data rate, it would be
6
for EU868 or AS923,
5
for CN470
and
4
for US915.
Response:
Ok
, if <ChannelId>, <MinDR> and <MaxDR> strings are valid.
Invalid
, if <ChannelId>, <MinDR> and <MaxDR> strings are not valid.
Purpose: Set data rate range of specified channel.
Example:
mac set_ch_dr_range 0 0 6
>> Ok
3.2.21
mac set_ch_status <ChannelId> <Status>
<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
).
<Status>: a string representing whether the specified channel is
on
or
off
.
Response:
Ok
, if <ChannelId> and <Status> strings are valid.
Invalid
, if <ChannelId> and <Status> strings are not valid.