S76G/S78G Commands Set Reference
v1.6.5
July 2, 2018
33 of 73
Product Name
Version
Doc No
Date
Page
3.2.39
mac get_rxdelay
Response: <rxdelay1> <rxdelay2>
<rxdelay1> - delay interval in
milliseconds
used for receive window 1 (RX1), it can be from
950
to
64000
.
<rxdelay2> - delay interval in milliseconds used for receive window 2 (RX2), this value would be more
1000 than rxdelay1.
Purpose: Get delay interval of receive window 1 and receive window 2.
Example:
mac get_rxdelay
>> 1000 2000
3.2.40
mac get_rx2
Response: <DR> <freq>
<DR> - data rate of second receive window.
<freq> - operation frequency of second receive window in Hz.
Purpose: Get data rate and operation frequency used for second receive window.
Example:
mac get_rx2
>> 0 868000000
3.2.41
mac get_sync
Response: a hexadecimal string representing current sync word. Default:
34
Purpose: Return current sync word used for LoRaWAN
TM
communication.
Example:
mac get_sync
>> 12
3.2.42
mac get_ch_para <ChannelId>
<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).
Response:
<uplink frequency> <minimum DR> <maximum DR> <bandID> <downlink frequency>
, if
<ChannelId> is valid.
<uplink frequency> - uplink frequency of specified channel in Hz, its range depends
on “mac set_ch_frequency” command range.
<minimum DR> - minimum DR can be used, it can be from 0 to 6.
<maximum DR> - maximum DR can be used, it can be from 0 to 6.