![AcSiP S76G Скачать руководство пользователя страница 31](http://html1.mh-extra.com/html/acsip/s76g/s76g_command-reference-manual_2841906031.webp)
S76G/S78G Commands Set Reference
v1.6.5
July 2, 2018
30 of 73
Product Name
Version
Doc No
Date
Page
3.2.25
mac set_upcnt <UplinkCounter>
<UplinkCounter>: a decimal string representing uplink counter, it can be from
0
to
4294967295
.
Response:
Ok
, if <UplinkCounter> string is valid.
Invalid
, if <UplinkCounter> string is not valid. Set uplink counter that will be used for next
uplink transmission.
Note: Not suggested to change Uplink counter when executing LoRaWAN
TM
protocol.
Example:
mac set_upcnt 1
>> Ok
3.2.26
mac set_downcnt <DownlinkCounter>
<DownlinkCounter>: a decimal string representing downlink counter, it can be from
0
to
4294967295
.
Response:
Ok
, if <DownlinkCounter> string is valid.
Invalid
, if <DownlinkCounter> string is not valid. Set downlink counter that will be used
for next downlink reception.
Example:
mac set_downcnt 1
>> Ok
3.2.27
mac set_class <Class>
<Class>: A or C.
Response:
Ok
, if <Class> is valid.
Invalid
, if <Class> is not valid.
already_joined
, if this command executes after joined either by OTAA or ABP.
Purpose: Set class type of LoRaWAN
TM
.
Behavior: 1. RX2 window would not open immediately after “mac set_class” executed. 2. It only
opens RX2 windows after joined. 3. Not allow to execute “mac set_class” after joined.
Example:
mac set_class C
>> Ok
3.2.28
mac get_devaddr
Response: a hexadecimal string representing Device Address used for LoRaWAN
TM
.
Purpose: Return Device Address used for LoRaWAN
TM
.
Example: