ble_mesh: Rename the folders ble_mesh_fast_prov_* to fast_prov_*
@@ -30,19 +30,19 @@ See [ble_mesh_provisioner](ble_mesh_console/ble_mesh_provisioner) folder for mor
|
||||
|
||||
This example illustrates the solution of ESP-BLE-MESH Fast Provisioning.
|
||||
|
||||
#### ble_mesh_fast_prov_client
|
||||
#### fast_prov_client
|
||||
|
||||
This example shows how ESP32, acting as a BLE Mesh Fast Provisioning Client, provisions other unprovisioned devices and then controls the nodes.
|
||||
|
||||
See [ble_mesh_fast_prov_client](ble_mesh_fast_provision/ble_mesh_fast_prov_client) folder for more details.
|
||||
See [fast_prov_client](ble_mesh_fast_provision/fast_prov_client) folder for more details.
|
||||
|
||||
#### ble_mesh_fast_prov_server
|
||||
#### fast_prov_server
|
||||
|
||||
This example illustrates the process that:
|
||||
1. ESP32 as a BLE Mesh Fast Provisioning Server is provisioned into a node;
|
||||
2. ESP32 as a Temporary Provisioner provisions other unprovisioned devices.
|
||||
|
||||
See [ble_mesh_fast_prov_server](ble_mesh_fast_provision/ble_mesh_fast_prov_server) folder for more details.
|
||||
See [fast_prov_server](ble_mesh_fast_provision/fast_prov_server) folder for more details.
|
||||
|
||||
## ble_mesh_node
|
||||
|
||||
|
@@ -1,6 +0,0 @@
|
||||
set(COMPONENT_SRCS "main.c"
|
||||
"board.c")
|
||||
|
||||
set(COMPONENT_ADD_INCLUDEDIRS ".")
|
||||
|
||||
register_component()
|
@@ -6,4 +6,4 @@ set(EXTRA_COMPONENT_DIRS $ENV{IDF_PATH}/examples/bluetooth/esp_ble_mesh/common_c
|
||||
$ENV{IDF_PATH}/examples/bluetooth/esp_ble_mesh/common_components/fast_prov_vendor_model)
|
||||
|
||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
project(ble_mesh_fast_prov_client)
|
||||
project(fast_prov_client)
|
@@ -3,7 +3,7 @@
|
||||
# project subdirectory.
|
||||
#
|
||||
|
||||
PROJECT_NAME := ble_mesh_fast_prov_client
|
||||
PROJECT_NAME := fast_prov_client
|
||||
|
||||
EXTRA_COMPONENT_DIRS := $(IDF_PATH)/examples/bluetooth/esp_ble_mesh/common_components/example_init \
|
||||
$(IDF_PATH)/examples/bluetooth/esp_ble_mesh/common_components/fast_prov_vendor_model
|
@@ -6,4 +6,4 @@ set(EXTRA_COMPONENT_DIRS $ENV{IDF_PATH}/examples/bluetooth/esp_ble_mesh/common_c
|
||||
$ENV{IDF_PATH}/examples/bluetooth/esp_ble_mesh/common_components/fast_prov_vendor_model)
|
||||
|
||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
project(ble_mesh_fast_prov_server)
|
||||
project(fast_prov_server)
|
@@ -3,7 +3,7 @@
|
||||
# project subdirectory.
|
||||
#
|
||||
|
||||
PROJECT_NAME := ble_mesh_fast_prov_server
|
||||
PROJECT_NAME := fast_prov_server
|
||||
|
||||
EXTRA_COMPONENT_DIRS := $(IDF_PATH)/examples/bluetooth/esp_ble_mesh/common_components/example_init \
|
||||
$(IDF_PATH)/examples/bluetooth/esp_ble_mesh/common_components/fast_prov_vendor_model
|
@@ -13,7 +13,7 @@ A video of this demo can be seen
|
||||
|
||||
> Note:
|
||||
>
|
||||
> 1. Please flash the [`ble_mesh_fast_prov_server`](https://glab.espressif.cn/ble_mesh/esp-ble-mesh-v0.6/tree/ble_mesh_release/esp-ble-mesh-v0.6/examples/bluetooth/esp_ble_mesh/ble_mesh_fast_provision/ble_mesh_fast_prov_server) to your boards first;
|
||||
> 1. Please flash the [`fast_prov_server`](https://glab.espressif.cn/ble_mesh/esp-ble-mesh-v0.6/tree/ble_mesh_release/esp-ble-mesh-v0.6/examples/bluetooth/esp_ble_mesh/ble_mesh_fast_provision/fast_prov_server) to your boards first;
|
||||
> 2. To have a better understanding of the performance of the BLE Mesh network, we recommend that at least 3 devices should be added in your network.
|
||||
> 3. We recommend that you solder LED indicators if your development board does not come with lights.
|
||||
> 4. Please check the type of board and LED pin definition enabled in `Example BLE Mesh Config` by running `idf.py menuconfig`
|
||||
@@ -24,7 +24,7 @@ A video of this demo can be seen
|
||||
# Flash and Monitor
|
||||
|
||||
1. Enter the directory:
|
||||
examples/bluetooth/esp_ble_mesh/ble_mesh_fast_provision/ble_mesh_fast_prov_server
|
||||
examples/bluetooth/esp_ble_mesh/ble_mesh_fast_provision/fast_prov_server
|
||||
2. Make sure that the `IDF_PATH` environment variable was set in accordance with your current IDF path
|
||||
3. Check the version of your toolchain. Version 4.1 or newer should be used.
|
||||
|
Before Width: | Height: | Size: 178 KiB After Width: | Height: | Size: 178 KiB |
Before Width: | Height: | Size: 348 KiB After Width: | Height: | Size: 348 KiB |
Before Width: | Height: | Size: 71 KiB After Width: | Height: | Size: 71 KiB |
Before Width: | Height: | Size: 68 KiB After Width: | Height: | Size: 68 KiB |
Before Width: | Height: | Size: 56 KiB After Width: | Height: | Size: 56 KiB |
@@ -6,5 +6,4 @@ set(EXTRA_COMPONENT_DIRS $ENV{IDF_PATH}/examples/bluetooth/esp_ble_mesh/common_c
|
||||
$ENV{IDF_PATH}/examples/bluetooth/esp_ble_mesh/common_components/example_init)
|
||||
|
||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
set(SUPPORTED_TARGETS esp32)
|
||||
project(vendor_client)
|
||||
|
@@ -5,5 +5,4 @@ cmake_minimum_required(VERSION 3.5)
|
||||
set(EXTRA_COMPONENT_DIRS $ENV{IDF_PATH}/examples/bluetooth/esp_ble_mesh/common_components/example_init)
|
||||
|
||||
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
|
||||
set(SUPPORTED_TARGETS esp32)
|
||||
project(vendor_server)
|
||||
|
@@ -3,7 +3,7 @@
|
||||
This demo demonstrates the Wi-Fi and Bluetooth (BLE/BR/EDR) coexistence feature of ESP32. Simply put, users can use the Wi-Fi function while operating Bluetooth. In this demo,
|
||||
|
||||
* The Wi-Fi function is demonstrated by measuring its transfer rate, using the `iperf` protocol;
|
||||
* The Bluetooth function is demonstrated by the fast provisioning function. Details can be seen in `ble_mesh_fast_prov_server`.
|
||||
* The Bluetooth function is demonstrated by the fast provisioning function. Details can be seen in `fast_prov_server`.
|
||||
|
||||
|
||||
> Note: In this demo, you call wifi API and bluetooth API to achieve the functions you want. such as `wifi_get_local_ip` API and `esp_ble_mesh_provisioner_add_unprov_dev` API.
|
||||
@@ -46,7 +46,7 @@ $ tree examples/bluetooth/esp_ble_mesh/ble_mesh/ble_mesh_wifi_coexist
|
||||
└── tutorial /* More in-depth information about the demo */
|
||||
```
|
||||
|
||||
The `main` folder mainly implements the BLE Mesh feature. Details can be seen in `ble_mesh_fast_prov_server`.
|
||||
The `main` folder mainly implements the BLE Mesh feature. Details can be seen in `fast_prov_server`.
|
||||
|
||||
The `components` folder mainly implements the Wi-Fi feature, which allows some basic commands and `iperf-relared` test commands.
|
||||
|
||||
|