!
Response:
OK
Start advertising:
AT+BLEADVSTART
Response:
OK
Open WeChat on your mobile phone and then select "Shake Nearby" to discover the
ESP32 device that is advertising, as shown in Figure 9-1.
9.5.1.2. ESP32 Device Scanning for iBeacons
Not only can the ESP32 device transmits iBeacons, but it can also work as a BLE client
that scans for iBeacons and gets the advertisement data which can then be parsed by the
host MCU.
⚠ Notice:
If the ESP32 device has already been initialized as a BLE server, you need to call AT+BLEINIT=0 to de-init
it first, and then re-init it as a BLE client.
1. Initialize the role of the ESP32 device as a BLE client:
AT+BLEINIT=1 // client role
Espressif
!
Figure 9-1. "Shake Nearby" on WeChat
77 97
!
/!
9. AT Commands Examples
2019.06
Need help?
Do you have a question about the ESP32 and is the answer not in the manual?
Questions and answers