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

Bluetooth: Mesh Shell

概述

本示例演示了如何在 SHELL 下操控 BLE Mesh 功能。

环境要求

  • 支持 BLE Mesh功能的开发板

  • Provisioner

编译和烧录

示例位置:

examples/bluetooth/mesh_cli

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

运行结果

I/mesh            [0.056] Initializing...

I/bt_hci_core     [0.082] No ID address. App must call settings_load()
I/mesh            [0.088] Bluetooth initialized

I/bt_hci_core     [0.222] Identity: 28:6D:CE:01:02:03 (public)
I/bt_hci_core     [0.228] HCI: version 4.2 (0x08) revision 0x0709, manufacturer 0x070c
I/bt_hci_core     [0.236] LMP: version 4.2 (0x08) subver 0x0709
I/mesh            [0.244] Mesh shell initialized

I/mesh            [0.248] Press the help button for supported commands.

I/mesh            [0.254] Before any Mesh commands you must run "mesh_init"