Bluetooth: Central / GATT Write
概述
和 Central 示例工程类似, 在程序扫描和建立连接后,本示例执行 不带应答的 GATT 写操作。
环境要求
支持 BLE 功能的开发板
具有 BLE 外设功能的蓝牙设备
编译和烧录
示例位置:
examples/bluetooth/central_gatt_write
编译、烧录等操作,具体参考 快速入门 章节 。
运行结果
I/bt_smp [0.134] LE SC enabled
I/bt_hci_core [0.262] No ID address. App must call settings_load()
I/bt_hci_core [0.270] Identity: 28:6D:CE:01:02:03 (public)
I/bt_hci_core [0.276] HCI: version 4.2 (0x08) revision 0x0709, manufacturer 0x070c
I/bt_hci_core [0.284] LMP: version 4.2 (0x08) subver 0x0709
I/gatt_write [0.290] Bluetooth initialized
D/gatt_write [0.296] start_scan: Scanning successfully started