S76G/S78G Commands Set Reference
v1.6.5
July 2, 2018
46 of 73
Product Name
Version
Doc No
Date
Page
>> Ok
mac get_ch_para 0
>> 470300000 0 5 0 0 (
The last “0” mean the downlink frequency RX1 is the same as TX)
mac get_ch_para 1
>> 470500000 0 5 0 0
mac get_ch_para 2
>> 470700000 0 5 0 0
3.2.70
mac get_rx1_freq
Response: three decimal string representing the Rx1 related setting mentioned in “mac set_rx1_freq”
command.
Purpose: See “mac set_rx1_freq” command.
Example:
mac get_rx1_freq
>> 500300000 200000 8
3.2.71
mac set_auto_join <Switch> <Join_Type> <Join_Count>
<Switch>: A string representing whether auto join mode is
on
or
off
.
Response:
Ok
, if < Swtich > string is valid
Invalid
, if < Switch > string is not valid.
<Join_Type>: A string representing the selected join type of LoRaWAN, it can be
otaa
(over-the-air
activation) or
abp
(activation by personalization).
<Join_Count>: If <Join_Type> is selected as otaa, <Join_Count> can be
1
to
65535
and its meaning is
the re-try times of OTAA when it’s failed to join; If joining by ABP, the <Join_Count> is un-necessary
and leave it empty.
Purpose: When using remote mode, user might want to let S76G start to join automatically after
rebooted by “sip reset” or power off/on. By setting this commands and then execute “mac save”, the
next boot-up would execute the joining behavior by the previous auto join setting.
Example: