docs(ble): add flow diagrams to bluedroid BLE examples

(cherry picked from commit 051077835c)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
This commit is contained in:
Zhang Hai Peng
2026-01-05 00:03:36 +08:00
committed by BLE BOT
parent 1741046791
commit f279115113
18 changed files with 949 additions and 13 deletions
@@ -5,6 +5,52 @@
This example is to test the Bluetooth compatibility and mobile phones.
## Flow Diagram
```
┌──────────────────┐ ┌──────────────────┐
│ ESP32 BLE │ │ Mobile Phone │
│ (Compatibility) │ │ (LightBlue App) │
└────────┬─────────┘ └────────┬─────────┘
│ │
│ 1. Initialize BLE │
│ 2. Create GATT Services │
│ 3. Start Advertising │
│ │
│ ─────────── Test Scenarios ─────────── │
│ │
│ Scan & Discover │
│ <════════════════════════════════════════════│
│ │
│ Connection Request │
│ <════════════════════════════════════════════│
│ │
│ Service Discovery │
│ <════════════════════════════════════════════│
│ │
│ Read Characteristic │
│ <════════════════════════════════════════════│
│ Read Response │
│ ════════════════════════════════════════════>│
│ │
│ Write Characteristic │
│ <════════════════════════════════════════════│
│ Write Confirmation │
│ ════════════════════════════════════════════>│
│ │
│ Enable Notification │
│ <════════════════════════════════════════════│
│ Notification Data │
│ ════════════════════════════════════════════>│
│ │
│ Disconnection │
│ <═══════════════════════════════════════════>│
│ │
┌────────┴─────────┐ ┌────────┴─────────┐
│ ESP32 BLE │ │ Mobile Phone │
└──────────────────┘ └──────────────────┘
```
## How to Use Example
Before project configuration and build, be sure to set the correct chip target using: