01 Overview
Scan, connect, read/write.
- Use when: a gateway collecting BLE sensors.
- Skip when: the phone should connect to you (Server).
Phone nearby
The module reads someone else’s sensor or wearable.
Official path: examples/bluetooth/bluedroid/ble/gatt_client
Scan, connect, read/write.
1. Scan by UUID or name.
2. Connect, discover, enable notify.
3. Handle dropouts and pairing failures.
中文
手机近场
模组去读别人的传感器或手环类设备。
官方路径: examples/bluetooth/bluedroid/ble/gatt_client
扫描并连接 GATT 服务器,读写特征。
1. 扫描目标 UUID 或名字。
2. 连接、发现服务、开通知。
3. 产品要处理掉线重连和配对失败。