S76G/S78G Commands Set Reference
v1.6.5
July 2, 2018
27 of 73
Product Name
Version
Doc No
Date
Page
Purpose: Set retry number of transmission.
Example:
mac set_txretry 8
>> Ok
3.2.16
mac set_rxdelay1 <Delay>
<Delay>: a decimal string representing delay interval in milliseconds used for receive window 1, it
can be from
950
to
64000
. Delay interval of receive window 2 will be set to
<Delay>+1.
Response:
Ok
, if <Delay> string is valid
Invalid
, if <Delay> string is not valid.
Purpose: Set delay interval of receive window 1.
Example:
mac set_rxdelay1 1000
>> Ok
3.2.17
mac set_rx2 <DataRate> <Frequency>
<DataRate>: a decimal string representing data rate of second receive window, it can be
0
to
7
(EU868 or AS923),
0
to
5
(CN470),
0
to
15
(US915).
<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 <DataRate> and <Frequency> strings are valid
Invalid
, if <DataRate> and <Frequency> strings are not valid.
Purpose: Set data rate and operation frequency used for second receive window.
Example:
mac set_rx2 0 868000000
>> Ok
3.2.18
mac set_sync <SyncWord>
<SyncWord>: a hexadecimal string representing sync word, it can be from
0
to
FF
.
Response:
Ok
, if <SyncWord> string is valid
Invalid
, if <SyncWord> string is not valid.
Purpose: Set the sync word used for communication.
Example:
> mac set_sync 34
>> Ok