What is the relation between SLEEP_RQ pin and sleep mode AT code, do I need both to enter sleep mode?
Yes, you need to first enable sleep mode on the endpoint using the command:
ATSM1
and then pull the SLEEP_RQ pin high to enter sleep. Pull the pin low to exit sleep mode.
Related Articles
If I only used AT sleep mode command without SLEEP_RQ, coordinator still receives STA 0001, is this behavior right?
The sleep mode command ATSM will enable or disable sleep mode, but does not put the device to sleep. If an endpoint has sleep mode enabled but it is not sleeping then the coordinator should not receive the STA 0001 (sleepy endpoint) status message.
Does the coordinator need to have its sleep mode enabled to send queued packets to sleepy endpoints?
No and you typically don’t want to put the coordinator into sleep mode. When the queue packet command is used the coordinator will check to see if the endpoint is sleepy, and if it is not then it will send the message immediately. In other words, the ...
Can I wake the sleepy endpoint using AT command?
No, the serial ports do not run in sleep mode. To bring the endpoint out of sleep mode you need to set the SLEEP_RQ pin low.
What is the AT command to enter the bootloader?
The AT command is: BL. Note that the bootloader runs at 115200 baud so it is best to first change your baud rate to 115200 (ATBR7), do a write to flash (ATWR), and then enter bootloader (ATBL). After you update the firmware, the default baud rate of ...
Is there a way to write code for the ARM processor on the Bridgebee module so that I don’t need an external micro to talk to the module?
No, the BridgeBee is a stand-alone radio module and interfaces to a host through the serial port. Thus, a user may not add application code on the BridgeBee itself. If a stand-alone module is required (such as what we have done with our sensor ...