这个页面的 最新开发版本 可能比这个发布的 0.4.0 版本新。

Bluetooth: Eddystone

概述

本示例演示了 Eddystone Configuration Service 功能。 Eddystone配置服务在信标上作为GATT服务运行,它是可连接的, 并允许配置广播数据、广播功率水平、和广播间隔。它还包含了 如何配置和注册 Eddystone-EID 信标的定义。

环境要求

  • 支持 BLE 功能的开发板

编译和烧录

示例位置:

examples/bluetooth/eddystone

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

运行结果

I/bt_hci_core     [0.026] Identity: 28:6D:CE:01:02:03 (public)
I/bt_hci_core     [0.032] HCI: version 4.2 (0x08) revision 0x0709, manufacturer 0x070c
I/bt_hci_core     [0.040] LMP: version 4.2 (0x08) subver 0x0709
I/eddystone       [0.046] Bluetooth initialized

I/eddystone       [0.052] Initial advertising as 28:6D:CE:01:02:03 (public)