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

Bluetooth: Scan

概述

本示例演示了 如何同时使能 BLE 的扫描功能。

环境要求

  • 支持 BLE 功能的开发板

编译和烧录

示例位置:

examples/bluetooth/central_scan_only

编译、烧录等操作请参考:[快速入门](https://doc.winnermicro.net/w800/zh_CN/2.1.0rc1/get_started/index.html)

运行结果

I/scan_adv        [0.002] Starting Scanner Demo

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