
RN2483 LoRa Technology Module Command Reference User’s Guide
DS40001784G-page 40
2015-2018 Microchip Technology Inc.
2.4.9.5
mac get class
Response: A single letter
A
or
C
This command will return the LoRaWAN operation class as set in the module.
Default: A
Example:
mac get class
2.4.9.6
mac get dcycleps
Response: decimal number representing the prescaler value, from 0 to 65535.
This command returns the duty cycle prescaler. The value of the prescaler can be
configured
ONLY
by the
SERVER
through use of the Duty Cycle Request frame. Upon
reception of this command from the server, the duty cycle prescaler is changed for all
enabled channels.
Default: 1
Example:
mac get dcycleps
2.4.9.7
mac get devaddr
Response: 4-byte hexadecimal number representing the device address, from
00000000 to FFFFFFFF.
This command will return the current end-device address of the module.
Default: 00000000
Example:
mac get devaddr
2.4.9.8
mac get deveui
Response: 8-byte hexadecimal number representing the device EUI.
This command returns the globally unique end-device identifier, as set in the module.
Default: pre-programmed EUI node address
Example:
mac get deveui
2.4.9.9
mac get dnctr
Response: decimal number representing the value of the downlink frame counter that
will be used for the next 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 dnctr
2.4.9.10
mac get dr
Response: decimal number representing the current data rate.
This command will return the current data rate.
Default: 5
Example:
mac get dr
Note:
After the
mac reset <band>
command is explicitly called, the device EUI
value will be set to all zeros. Make certain that a valid value is given to the
device EUI.