
RN2483 LoRa Technology Module Command Reference User’s Guide
DS40001784G-page 26
2015-2018 Microchip Technology Inc.
2.4.5
mac forceENABLE
Response:
ok
The network can issue a certain command (Duty Cycle Request frame with parameter
255) that would require the RN2483 module to go silent immediately. This mechanism
disables any further communication of the module, effectively isolating it from the
network. Using
mac forceENABLE
after this network command has been received
restores the module’s connectivity by allowing it to send data.
Example:
mac forceENABLE
// Disables the Silent Immediately state.
2.4.6
mac pause
Response: 0 – 4294967295 (decimal number representing the number of milliseconds
the mac can be paused)
This command pauses the LoRaWAN stack functionality to allow transceiver (radio)
configuration. Through the use of
mac pause
, radio commands can be generated
between a LoRaWAN Class A protocol uplink application (
mac tx
command), and the
LoRaWAN Class A protocol Receive windows (second response for the
mac tx
command). This command will reply with the time interval in milliseconds that the
transceiver can be used without affecting the LoRaWAN functionality. The maximum
value (4294967295) is returned whenever the LoRaWAN stack functionality is in Idle
state and the transceiver can be used without restrictions. ‘
0
’ is returned when the
LoRaWAN stack functionality cannot be paused.
For example, when operating in LoRaWAN Class C mode, the receiver is continuously
in receive. The
mac pause
command will return ‘
0
’ indicating that the LoraWAN stack
cannot be paused.
After the radio configuration is complete, the
mac resume
command must be used to
return to LoRaWAN protocol commands.
Example:
mac pause
// Pauses the LoRaWAN stack
functionality if the response is different
from 0.
2.4.7
mac resume
Response:
ok
This command resumes LoRaWAN stack functionality, in order to continue normal
functionality after being paused.
Example:
mac resume
// Resumes the LoRaWAN stack functionality.
Note:
The
silent immediately status
bit of the MAC status register
indicates the device has been silenced by the network. Refer to
2-1: “MAC Status bit-Mapped Register (1)”
.
Note:
If already joined to a network, this command
MUST
be called
BEFORE
configuring the radio parameters, initiating radio reception, or transmission.
Note:
This command
MUST
be called
AFTER
all radio commands have been
issued and all the corresponding asynchronous messages have been
replied.