
Command Reference
2015-2018 Microchip Technology Inc.
DS40001784G-page 41
2.4.9.11
mac get gwnb
Response: decimal number representing the number of gateways, from 0 to 255.
This command will return the number of gateways that successfully received the last
Link Check Request frame command, as received in the last Link Check Answer.
Default: 0
Example:
mac get gwnb
2.4.9.12
mac get mcast
Response: string representing the Multicast state of the module, either
on
or
off
This command will return the Multicast state as set in the module.
Default: off
Example:
mac get mcast
2.4.9.13
mac get mcastdevaddr
Response: 4-byte hexadecimal number representing the device multicast address,
from 00000000 to FFFFFFFF
This command will return the current multicast end-device address of the module.
Default: 00000000
Example:
mac get mcastdevaddr
2.4.9.14
mac get mcastdnctr
Response: decimal number representing the value of the downlink frame counter that
will be used for the next multilink downlink reception, from 0 to 4294967295.
This command will return the value of the downlink frame counter that will be used for
the next downlink reception.
Default: 0
Example:
mac get mcastdnctr
2.4.9.15
mac get mrgn
Response: decimal number representing the demodulation margin, from 0 to 255.
This command will return the demodulation margin as received in the last Link Check
Answer frame. For the description of the values, refer to the
LoRaWAN™ Specification
V1.0.2
.
Default: 255
Example:
mac get mrgn
2.4.9.16
mac get pwridx
Response: decimal number representing the current output power index value, from 0 to 5.
This command returns the current output power index value.
Default: 1
Example:
mac get pwridx