S76G/S78G Commands Set Reference
v1.6.5
July 2, 2018
26 of 73
Product Name
Version
Doc No
Date
Page
3.2.12
mac set_power <Power>
<Power>: a decimal string representing transmitting power in dBm, it can be
2, 5, 8, 11, 14, 20
(non-915 band);
30, 28, 26, 24, 22, 20, 18, 16, 14, 12, 10
(915 band);
17, 16, 14, 12, 10, 7, 5, 2
(470
band)
Response:
Ok
, if <Power> string is valid
Invalid
, if <Power> string is not valid.
Purpose: Set transmitting power.
Example:
mac set_power 14
>> Ok
3.2.13
mac set_dr <Datarate>
<DataRate>: a decimal string representing data rate used for LoRaWAN, it can be from
0
to
6.
(US915
is limited from
0
to
4
; CN470 is limited from
0
to
5)
Response:
Ok
, if <DataRate> string is valid
Invalid
, if <DataRate> string is not valid.
Purpose: Set uplink’s data rate used for LoRaWAN
TM
.
Example:
mac set_dr 0
>> Ok
3.2.14
mac set_adr <State>
<State>: a string representing whether ADR is
on
or
off
.
Response:
Ok
, if <State> string is valid
Invalid
, if <State> string is not valid.
Purpose: Set the state of ADR.
Example:
mac set_adr on
>> Ok
3.2.15
mac set_txretry <RetryCount>
<RetryCount>: a decimal string representing retry number of transmission, it can be from
0
to
255
.
Response:
Ok
, if <RetryCount> string is valid
Invalid
, if <RetryCount> string is not valid.