Chengdu Ebyte Electronic Technology Co.,Ltd
E104-BT53C3 Manual User
Copyright ©2012–2020
,Chengdu Ebyte Electronic Technology Co.,Ltd
29
6.3.28 Sleep pattern
Command
reply
inquire
AT+SLEEP?
+ OK =[para1],[para2]
setting
AT+SLEEP=<para1>,<para2>
+ERR=[NUM]:error
parameters
para1: module serial port function switch (0, off; 1, open)
para2: Module BLE function switch (0, off; 1, open)
Description
After the serial port is closed, the power consumption can be significantly reduced.
After the serial port function is closed, wake up the serial port by raising the edge of the
CTS pin.
Turn off BLE, if the module is connected, disconnect all connections and turn off the broadcast;
If the module is in the active role (single host or master/slave) and the automatic connection
function is enabled, the module does not reconnect automatically after BLE is disabled. Turn
off BLE to still use the relevant BLE instructions;
After the serial port is closed, the function pins are still valid.
Example
The module enters the minimum sleep state (turn off the serial port and BLE).
Instruction :AT+SLEEP=0,0
Return :+OK
Module Bluetooth Silence (BLE off only)
Instruction :AT+SLEEP=1,0
Return :+OK
Module Bluetooth Low power operation (only turn off serial port)
Instruction :AT+SLEEP=0,1
Return :+OK
6.3.29 Turn on/off the watchdog
command
reply
inquire
AT+WDOG?
+ WDOG =[para]
setting
AT+WDOG =[para]
+OK:success
+ERR=[NUM]:error
parameters
0: The watchdog function is disabled
1: Watchdog function enabled (default)
description
Restart takes effect, power failure save;
After the watchdog is disabled, the overall power consumption of the module is reduced by 2
to 3uA.
example
Example Query the watchdog status
Command: AT+WDOG?
OK =1
Set to turn off watchdog
Instruction: AT+WDOG=0
Return to +OK