User's Manual

Copyright ©20122020Chengdu Ebyte Electronic Technology Co.,Ltd
7
4.1.3 Observer
1. Command AT+ROLE=2 to select the observation mode (valid after restart)
2. After receiving the advertising, print out all the contents of the advertising package through the serial port.
3. The observer device cannot be connected to any device.
Check format below
LEN
MAC
RSSI
Advdata
1 byte
6 byte
1 byte
No more than 31 byte
Note: LEN is the sum of MAC, RSSI, and advertising data length.
1. The scan window and scan gap are consistent with the scan parameters.
2. The AT command is valid during the period.
4.2 Power supply mode
There are low power consumption mode and wake-up mode.
4.2.1 Low power consumption mode
The so-called low power consumption mode means that the BLE function continues to run after the module enters this mode, and
peripherals other than the wake-up pin of the module are turned off. If you need lower power consumption, you can turn off
advertising and scan through AT commands, disconnect all connections, and set a longer advertising gap, scan gap, and connection
gap.
Enter low power consumption:
1. AT command "AT+SLEEP" immediately enters low power consumption mode;
2. AT command "AT+ONSLEEP=1" power on immediately enters low power consumption;
3. Enter low power consumption through the rising edge of pin WKP;
After the module enters the low power consumption mode, it outputs "STA: sleep" through the serial port (LOGMSG does not
turn off the output).
Note: In the low-power mode, the serial port output is valid and cannot be input
4.2.2 Wake-up mode
The so-called wake-up mode means that the peripherals required by the module are in a normal working state in
this mode. After the module wakes up, it outputs the status "STA: wakeup".
Wake-up method:
1. Wake up immediately through the falling edge of WKP pin;
2. The serial port RX pin wakes up. The serial port rx falling edge, and the low level remains at 50us and above,
wake up immediately.
4.3 Data transmission mode
There are data transparent transmission and format transmission.
4.3.1 Data transparent transmission
The so-called data transparent transmission means that the data received by the serial port is sent to the other
device through BLE without any processing, and the data received by BLE is sent through the serial port without
any processing.
"AT+TRANMD" command setting.