S76G/S78G Commands Set Reference
v1.6.5
July 2, 2018
44 of 73
Product Name
Version
Doc No
Date
Page
mac set_dc_ctl off
>> Ok
mac set_tx_interval 6000
>> Ok
(The uplinks of LoRaWAN would be uploaded automatically in every 6s)
3.2.68
mac get_tx_interval
Response: A decimal string representing the current TX intval setting value, its range would be from
5000
to
86400000
.
Purpose: See “mac set_tx_interval” command.
Example:
mac get_tx_interval
>> 6000
3.2.69
mac set_rx1_freq <Rx1_Freq_Begin> <Rx1_Step> <Rx1_Count>
<Rx1_Freq_Begin>: a decimal string representing the beginning of setting rx1 frequency in Hz, it can
be set from
902000000
to
932000000
(US915); from
470000000
to
510000000
(CN470); from
433000000
to
932000000
(other region); “
0”
value can let Tx/Rx1 frequency be set back to the
identical frequency value (Rx1 would follow the “mac set_ch_freq” value, same as Tx1 frequency).
<Rx1_Step>: a decimal string representing the incremental frequency step, it can be assigned from
0
to
600000
. The normal usage is 20000 when BW is set at 125KHz.
<Rx1_Count>: a decimal string representing the RX1 channels count, it can’t exceed the maximum
allowed channels number defined in LoRaWAN v1.0.2 regional parameters setting.
Response:
Ok
, if <ChannelID> and <Status> string is valid.
Invalid
, if <ChannelID> and <Status> string is not valid.
Purpose: It allows to set RX1 frequency for multiple channels just by one command. The 1
st
RX1
frequency is beginning from <Rx1_Freq_Begin>, the next 2
nd
RX1 would be set at <Rx1_Freq_Begin>
+ <Rx1_Step> * 1, the 3
rd
RX1 is <Rx1_Freq_Begin> + <Rx1_Step> * 2; So the Nth Rx1 channel
frequency would be <Rx1_Freq_Begin> + <Rx1_Step> * (<Rx1_Count> - 1);