这是最新(主)开发分支的文档。如果您正在查找以前版本的文档,使用左侧的下拉菜单选择所需的版本。

Bluetooth: Peripheral DIS

概述

外围设备 示例类似, 本示例提供了 DIS (Device Information) GATT Service.

环境要求

  • 支持 BLE 功能的开发板

编译和烧录

示例位置:

examples/bluetooth/peripheral_dis

编译、烧录等操作,具体参考 快速入门 章节 。

运行结果

I/bt_hci_core     [0.034] No ID address. App must call settings_load()
I/bt_hci_core     [0.044] Identity: 28:6D:CE:01:02:03 (public)
I/bt_hci_core     [0.050] HCI: version 4.2 (0x08) revision 0x0709, manufacturer 0x070c
I/bt_hci_core     [0.058] LMP: version 4.2 (0x08) subver 0x0709
I/peripheral_dis  [0.120] Bluetooth initialized

I/peripheral_dis  [0.126] Advertising successfully started