diff --git a/docs/en/api-guides/esp-ble-mesh/ble-mesh-feature-list.rst b/docs/en/api-guides/esp-ble-mesh/ble-mesh-feature-list.rst index 017af20fa4..85a81eec8d 100644 --- a/docs/en/api-guides/esp-ble-mesh/ble-mesh-feature-list.rst +++ b/docs/en/api-guides/esp-ble-mesh/ble-mesh-feature-list.rst @@ -128,8 +128,6 @@ Mesh Applications * :example_file:`Tutorial ` * :example:`Example ` * `Demo Video `__ -* ESP-BLE-MESH Console Commands - * :example:`Example ` Future Release Features diff --git a/docs/en/api-guides/esp-ble-mesh/ble-mesh-index.rst b/docs/en/api-guides/esp-ble-mesh/ble-mesh-index.rst index ff93a7abcc..22d4f67865 100644 --- a/docs/en/api-guides/esp-ble-mesh/ble-mesh-index.rst +++ b/docs/en/api-guides/esp-ble-mesh/ble-mesh-index.rst @@ -223,8 +223,6 @@ ESP-BLE-MESH Examples * :example_file:`ESP-BLE-MESH and Wi-Fi Coexistence ` - an example that demonstrates the Wi-Fi and Bluetooth (BLE/BR/EDR) coexistence feature of {IDF_TARGET_NAME}. Simply put, users can use the Wi-Fi while operating Bluetooth, see :example:`example code `. -* ESP-BLE-MESH Console - an example that implements BLE Mesh basic features. Within this example a node can be scanned and provisioned by Provisioner and reply to get/set message from Provisioner, see :example:`example node code `. - .. _esp-ble-mesh-demo-videos: diff --git a/docs/zh_CN/api-guides/esp-ble-mesh/ble-mesh-index.rst b/docs/zh_CN/api-guides/esp-ble-mesh/ble-mesh-index.rst index 903ef81234..081b836020 100644 --- a/docs/zh_CN/api-guides/esp-ble-mesh/ble-mesh-index.rst +++ b/docs/zh_CN/api-guides/esp-ble-mesh/ble-mesh-index.rst @@ -223,8 +223,6 @@ ESP-BLE-MESH 示例 * :example_file:`Wi-Fi 和 ESP-BLE-MESH 共存 ` - 该示例用于演示 Wi-Fi 和 ESP-BLE-MESH 共存的功能。简而言之,用户可在运行 ESP-BLE-MESH 时使用 Wi-Fi,示例请见 :example:`example code `。 -* ESP-BLE-MESH 节点控制台 - 该演示实现 ESP-BLE-MESH 节点的基本功能。在演示中,Provisioner and Node 可以扫描、验证节点,节点可以回复 Provisioner 的获取/设置消息,示例请见::example:`example code `。 - .. _esp-ble-mesh-demo-videos: diff --git a/examples/bluetooth/esp_ble_mesh/README.md b/examples/bluetooth/esp_ble_mesh/README.md index 8da08e5f98..64577c2523 100644 --- a/examples/bluetooth/esp_ble_mesh/README.md +++ b/examples/bluetooth/esp_ble_mesh/README.md @@ -10,10 +10,6 @@ Note: To use examples in this directory, you need to have Bluetooth enabled in c This directory includes examples to demonstrate ESP-BLE-MESH functionality based on [Zephyr Bluetooth Mesh stack](https://github.com/zephyrproject-rtos/zephyr/tree/master/subsys/bluetooth/mesh). -## ble_mesh_console - -This example demonstrates how ESP-BLE-MESH uses Console for message transmitting/receiving tests. - ## ble_mesh_fast_provision This example illustrates the solution of ESP-BLE-MESH Fast Provisioning. diff --git a/examples/bluetooth/esp_ble_mesh/ble_mesh_console/CMakeLists.txt b/examples/bluetooth/esp_ble_mesh/ble_mesh_console/CMakeLists.txt deleted file mode 100644 index 75804879ed..0000000000 --- a/examples/bluetooth/esp_ble_mesh/ble_mesh_console/CMakeLists.txt +++ /dev/null @@ -1,8 +0,0 @@ -# The following lines of boilerplate have to be in your project's CMakeLists -# in this exact order for cmake to work correctly -cmake_minimum_required(VERSION 3.16) - -set(EXTRA_COMPONENT_DIRS $ENV{IDF_PATH}/examples/bluetooth/esp_ble_mesh/common_components/example_init) - -include($ENV{IDF_PATH}/tools/cmake/project.cmake) -project(ble_mesh_console) diff --git a/examples/bluetooth/esp_ble_mesh/ble_mesh_console/README.md b/examples/bluetooth/esp_ble_mesh/ble_mesh_console/README.md deleted file mode 100644 index 0683711365..0000000000 --- a/examples/bluetooth/esp_ble_mesh/ble_mesh_console/README.md +++ /dev/null @@ -1,12 +0,0 @@ -| Supported Targets | ESP32 | ESP32-C3 | ESP32-C6 | ESP32-S3 | -| ----------------- | ----- | -------- | -------- | -------- | - -# ble mesh node console demo -## Introduction -This demo implements ble mesh node basic features.Based on this demo, node can be scaned and proved by provisioner, reply get/set message to provisioner. - -Demo steps: -1. Build the ble mesh node console demo with sdkconfig.default -2. register node and set oob info, load model to init ble mesh node -3. enable bearer, so that it can be scaned and provisioned by provisioner - diff --git a/examples/bluetooth/esp_ble_mesh/ble_mesh_console/ble_mesh_commands_README.md b/examples/bluetooth/esp_ble_mesh/ble_mesh_console/ble_mesh_commands_README.md deleted file mode 100644 index b9277422ad..0000000000 --- a/examples/bluetooth/esp_ble_mesh/ble_mesh_console/ble_mesh_commands_README.md +++ /dev/null @@ -1,166 +0,0 @@ -# The Document of ESP32 BLE_MESH Commands - -## Overall Command - - -* `bmreg`: Provisioner/node register callback - * Example: `bmreg` - * Result: `Bm:Reg,OK` - -* `bminit`: Provisioner/node initialize - * `-m`: `mesh modle` - * Example: `bminit -m 0x0001` - * Result: `Bm:Init,OK` - -* `bmpbind`: Provisioner binds Appkey with local model - * `-a`: `:appkey index` - * `-e`: `:element address` - * `-n`: `:network index` - * `-m`: `:model id` - * `-c`: `:company id` - * Example: `bmpbind -a 0 -e 0x01 -m 0x1001 -n 0x00` - * Result: `provisioning:AppKeyBind,OK` - -* `bmpdev`: Provisioner add/delete unprovisioned device - * `-z`: `action type ` - * `-d`: `device address` - * `-u`: `device uuid` - * `-a`: `address type` - * `-f`: `address flag` - * `-b`: `used bearer` - * `-o`: `oob information` - * Example: `bmpdev -z add -d bt_mac -b -1 -a 0` - * Result: `provisioner:DevAdd/Del,OK` - -* `bmoob`: Provisioner/node config OOB parameters - * `-s`: `Static OOB value` - * `-l`: `Static OOB value length` - * `-x`: `Maximum size of Output OOB` - * `-o`: `Supported Output OOB Actions` - * `-y`: `Maximum size of Input OOB` - * `-i`: `Supported Input OOB Actions` - * `-p`: `start address assigned by provisioner` - * Example: `bmoob -o -0 -x 0` - * Result: `OOB:Load,OK` - -* `bmpbearer`: Enable/disable provisioner different bearer - * `-b`: `bearer supported` - * `-e`: `enable or disable bearer` - * Example: `bmpbearer -b 1 -e 1` - * Result: `provisioner:EnBearer,OK` - -* `bmnbearer`: Enable/disable node different bearer - * `-b`: `bearer supported` - * `-e`: `enable or disable bearer` - * Example: `bmnbearer -b 1 -e 1` - * Result: `Node:EnBearer,OK` - -* `bmpkey`: Add/Delete NetKey and AppKey of Provisioner - * `-z`: `:add app key or network key` - * `-n`: `:network key index` - * `-k`: `:appkey or network` - * `-a`: `:appkey index` - * Example: `bmpkey -z netkey -n 1 -k ` - * Result: `provisioner:NetKeyAdd,OK` - -* `bmccm`: BLE Mesh configuration client model operations - * `-z`: `:action type`:add or del client model - * `-x`: `:set state` - * `-o`: `:message opcode` - * `-u`: `
:unicast address` - * `-n`: `:net work index` - * `-i`: `:appkey index` - * `-r`: `:relay statue` - * `-t`: `:relay transmit` - * `-c`: `:company id` - * `-v`: `:value` - * `-a`: `
:address` - * `-m`: `:model id` - * Example: `bmccm -z reg` - * Result: `ConfigClient:OK` - -* `bmgocm`: BLE Mesh onoff client model operations - * `-z`: `:action type`: on or off client model - * `-o`: `:message opcode` - * `-u`: `
:unicast address` - * `-n`: `:network key index` - * `-a`: `:appkey index` - * `-r`: `:role` - * `-t`: `