kopia lustrzana https://github.com/espressif/esp-idf
feat(ble_mesh): esp32c61 support for ble mesh
rodzic
6f466df73c
commit
f43b1d2dea
|
@ -907,6 +907,9 @@ if(CONFIG_BLE_MESH_V11_SUPPORT)
|
|||
elseif(CONFIG_IDF_TARGET_ESP32C6)
|
||||
add_prebuilt_library(ble_mesh "esp_ble_mesh/lib/lib/esp32c6/libble_mesh.a")
|
||||
target_link_libraries(${COMPONENT_LIB} PRIVATE ble_mesh)
|
||||
elseif(CONFIG_IDF_TARGET_ESP32C61)
|
||||
add_prebuilt_library(ble_mesh "esp_ble_mesh/lib/lib/esp32c61/libble_mesh.a")
|
||||
target_link_libraries(${COMPONENT_LIB} PRIVATE ble_mesh)
|
||||
elseif(CONFIG_IDF_TARGET_ESP32H2)
|
||||
add_prebuilt_library(ble_mesh "esp_ble_mesh/lib/lib/esp32h2/libble_mesh.a")
|
||||
target_link_libraries(${COMPONENT_LIB} PRIVATE ble_mesh)
|
||||
|
|
|
@ -1003,6 +1003,10 @@ config SOC_BLE_SUPPORTED
|
|||
bool
|
||||
default y
|
||||
|
||||
config SOC_BLE_MESH_SUPPORTED
|
||||
bool
|
||||
default y
|
||||
|
||||
config SOC_ESP_NIMBLE_CONTROLLER
|
||||
bool
|
||||
default y
|
||||
|
|
|
@ -475,7 +475,7 @@
|
|||
|
||||
/*---------------------------------- Bluetooth CAPS ----------------------------------*/
|
||||
#define SOC_BLE_SUPPORTED (1) /*!< Support Bluetooth Low Energy hardware */
|
||||
// #define SOC_BLE_MESH_SUPPORTED (1) /*!< Support BLE MESH */
|
||||
#define SOC_BLE_MESH_SUPPORTED (1) /*!< Support BLE MESH */
|
||||
#define SOC_ESP_NIMBLE_CONTROLLER (1) /*!< Support BLE EMBEDDED controller V1 */
|
||||
#define SOC_BLE_50_SUPPORTED (1) /*!< Support Bluetooth 5.0 */
|
||||
#define SOC_BLE_DEVICE_PRIVACY_SUPPORTED (1) /*!< Support BLE device privacy mode */
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
| Supported Targets | ESP32 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
||||
| Supported Targets | ESP32 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-H2 | ESP32-S3 |
|
||||
| ----------------- | ----- | -------- | -------- | -------- | --------- | -------- | -------- |
|
||||
|
||||
ESP BLE Mesh AliGenie Example
|
||||
=============================
|
||||
|
|
|
@ -0,0 +1,17 @@
|
|||
# Override some defaults so BT stack is enabled
|
||||
# by default in this example
|
||||
CONFIG_IDF_TARGET="esp32c61"
|
||||
CONFIG_BT_LE_SCAN_DUPL_TYPE_DATA_DEVICE=y
|
||||
CONFIG_BT_BLE_42_FEATURES_SUPPORTED=y
|
||||
CONFIG_BT_BLE_50_FEATURES_SUPPORTED=n
|
||||
CONFIG_BT_LE_50_FEATURE_SUPPORT=n
|
||||
|
||||
#
|
||||
# light driver config
|
||||
#
|
||||
CONFIG_LIGHT_GPIO_RED=4
|
||||
CONFIG_LIGHT_GPIO_GREEN=5
|
||||
CONFIG_LIGHT_GPIO_BLUE=6
|
||||
CONFIG_LIGHT_GPIO_COLD=7
|
||||
CONFIG_LIGHT_GPIO_WARM=10
|
||||
# end of light driver config
|
|
@ -1,5 +1,5 @@
|
|||
| Supported Targets | ESP32 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
||||
| Supported Targets | ESP32 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-H2 | ESP32-S3 |
|
||||
| ----------------- | ----- | -------- | -------- | -------- | --------- | -------- | -------- |
|
||||
|
||||
# Directed Forwarding
|
||||
|
||||
|
|
|
@ -38,6 +38,10 @@ menu "Example Configuration"
|
|||
bool "ESP32C5-DevKitC"
|
||||
depends on IDF_TARGET_ESP32C5
|
||||
|
||||
config BLE_MESH_ESP32C61_DEV
|
||||
bool "ESP32C61-DevKitC"
|
||||
depends on IDF_TARGET_ESP32C61
|
||||
|
||||
endchoice
|
||||
|
||||
endmenu
|
||||
|
|
|
@ -35,6 +35,8 @@ extern "C" {
|
|||
#define LED_B GPIO_NUM_47
|
||||
#elif defined(CONFIG_BLE_MESH_ESP32C6_DEV)
|
||||
#define BLE_MESH_LED_STRIP_IO GPIO_NUM_8
|
||||
#elif defined(CONFIG_BLE_MESH_ESP32C61_DEV)
|
||||
#define BLE_MESH_LED_STRIP_IO GPIO_NUM_8
|
||||
#elif defined(CONFIG_BLE_MESH_ESP32H2_DEV)
|
||||
#define LED_R GPIO_NUM_8
|
||||
#define LED_G GPIO_NUM_8
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
# Override some defaults so BT stack is enabled
|
||||
# by default in this example
|
||||
CONFIG_IDF_TARGET="esp32c61"
|
||||
CONFIG_BT_LE_SCAN_DUPL_TYPE_DATA_DEVICE=y
|
||||
CONFIG_BT_BLE_42_FEATURES_SUPPORTED=y
|
||||
CONFIG_BT_BLE_50_FEATURES_SUPPORTED=n
|
||||
CONFIG_BT_LE_50_FEATURE_SUPPORT=n
|
|
@ -38,6 +38,10 @@ menu "Example Configuration"
|
|||
bool "ESP32C5-DevKitC"
|
||||
depends on IDF_TARGET_ESP32C5
|
||||
|
||||
config BLE_MESH_ESP32C61_DEV
|
||||
bool "ESP32C61-DevKitC"
|
||||
depends on IDF_TARGET_ESP32C61
|
||||
|
||||
endchoice
|
||||
|
||||
endmenu
|
||||
|
|
|
@ -34,6 +34,8 @@ extern "C" {
|
|||
#define LED_B GPIO_NUM_47
|
||||
#elif defined(CONFIG_BLE_MESH_ESP32C6_DEV)
|
||||
#define BLE_MESH_LED_STRIP_IO GPIO_NUM_8
|
||||
#elif defined(CONFIG_BLE_MESH_ESP32C61_DEV)
|
||||
#define BLE_MESH_LED_STRIP_IO GPIO_NUM_8
|
||||
#elif defined(CONFIG_BLE_MESH_ESP32H2_DEV)
|
||||
#define LED_R GPIO_NUM_8
|
||||
#define LED_G GPIO_NUM_8
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
# Override some defaults so BT stack is enabled
|
||||
# by default in this example
|
||||
CONFIG_IDF_TARGET="esp32c61"
|
||||
CONFIG_BT_LE_SCAN_DUPL_TYPE_DATA_DEVICE=y
|
||||
CONFIG_BT_BLE_42_FEATURES_SUPPORTED=y
|
||||
CONFIG_BT_BLE_50_FEATURES_SUPPORTED=n
|
||||
CONFIG_BT_LE_50_FEATURE_SUPPORT=n
|
|
@ -1,5 +1,5 @@
|
|||
| Supported Targets | ESP32 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
||||
| Supported Targets | ESP32 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-H2 | ESP32-S3 |
|
||||
| ----------------- | ----- | -------- | -------- | -------- | --------- | -------- | -------- |
|
||||
|
||||
ESP BLE Mesh Fast Provisioning Client example
|
||||
========================
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
# Override some defaults so BT stack is enabled
|
||||
# by default in this example
|
||||
CONFIG_IDF_TARGET="esp32c61"
|
||||
CONFIG_BT_LE_SCAN_DUPL_TYPE_DATA_DEVICE=y
|
||||
CONFIG_BT_BLE_42_FEATURES_SUPPORTED=y
|
||||
CONFIG_BT_BLE_50_FEATURES_SUPPORTED=n
|
||||
CONFIG_BT_LE_50_FEATURE_SUPPORT=n
|
|
@ -1,5 +1,5 @@
|
|||
| Supported Targets | ESP32 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
||||
| Supported Targets | ESP32 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-H2 | ESP32-S3 |
|
||||
| ----------------- | ----- | -------- | -------- | -------- | --------- | -------- | -------- |
|
||||
|
||||
ESP BLE Mesh Fast Provisioning Server example
|
||||
========================
|
||||
|
|
|
@ -38,6 +38,10 @@ menu "Example Configuration"
|
|||
bool "ESP32C5-DevKitC"
|
||||
depends on IDF_TARGET_ESP32C5
|
||||
|
||||
config BLE_MESH_ESP32C61_DEV
|
||||
bool "ESP32C61-DevKitC"
|
||||
depends on IDF_TARGET_ESP32C61
|
||||
|
||||
endchoice
|
||||
|
||||
endmenu
|
||||
|
|
|
@ -36,6 +36,10 @@ extern "C" {
|
|||
#define LED_R GPIO_NUM_8
|
||||
#define LED_G GPIO_NUM_8
|
||||
#define LED_B GPIO_NUM_8
|
||||
#elif defined(CONFIG_BLE_MESH_ESP32C61_DEV)
|
||||
#define LED_R GPIO_NUM_8
|
||||
#define LED_G GPIO_NUM_8
|
||||
#define LED_B GPIO_NUM_8
|
||||
#elif defined(CONFIG_BLE_MESH_ESP32H2_DEV)
|
||||
#define LED_R GPIO_NUM_8
|
||||
#define LED_G GPIO_NUM_8
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
# Override some defaults so BT stack is enabled
|
||||
# by default in this example
|
||||
CONFIG_IDF_TARGET="esp32c61"
|
||||
CONFIG_BT_LE_SCAN_DUPL_TYPE_DATA_DEVICE=y
|
||||
CONFIG_BT_BLE_42_FEATURES_SUPPORTED=y
|
||||
CONFIG_BT_BLE_50_FEATURES_SUPPORTED=n
|
||||
CONFIG_BT_LE_50_FEATURE_SUPPORT=n
|
|
@ -1,5 +1,5 @@
|
|||
| Supported Targets | ESP32 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
||||
| Supported Targets | ESP32 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-H2 | ESP32-S3 |
|
||||
| ----------------- | ----- | -------- | -------- | -------- | --------- | -------- | -------- |
|
||||
|
||||
ESP BLE Mesh Client Model Demo
|
||||
========================
|
||||
|
|
|
@ -38,6 +38,10 @@ menu "Example Configuration"
|
|||
bool "ESP32C5-DevKitC"
|
||||
depends on IDF_TARGET_ESP32C5
|
||||
|
||||
config BLE_MESH_ESP32C61_DEV
|
||||
bool "ESP32C61-DevKitC"
|
||||
depends on IDF_TARGET_ESP32C61
|
||||
|
||||
endchoice
|
||||
|
||||
endmenu
|
||||
|
|
|
@ -37,6 +37,10 @@ extern "C" {
|
|||
#define LED_R GPIO_NUM_8
|
||||
#define LED_G GPIO_NUM_8
|
||||
#define LED_B GPIO_NUM_8
|
||||
#elif defined(CONFIG_BLE_MESH_ESP32C61_DEV)
|
||||
#define LED_R GPIO_NUM_8
|
||||
#define LED_G GPIO_NUM_8
|
||||
#define LED_B GPIO_NUM_8
|
||||
#elif defined(CONFIG_BLE_MESH_ESP32H2_DEV)
|
||||
#define LED_R GPIO_NUM_8
|
||||
#define LED_G GPIO_NUM_8
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
# Override some defaults so BT stack is enabled
|
||||
# by default in this example
|
||||
CONFIG_IDF_TARGET="esp32c61"
|
||||
CONFIG_BT_LE_SCAN_DUPL_TYPE_DATA_DEVICE=y
|
||||
CONFIG_BT_BLE_42_FEATURES_SUPPORTED=y
|
||||
CONFIG_BT_BLE_50_FEATURES_SUPPORTED=n
|
||||
CONFIG_BT_LE_50_FEATURE_SUPPORT=n
|
|
@ -1,5 +1,5 @@
|
|||
| Supported Targets | ESP32 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
||||
| Supported Targets | ESP32 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-H2 | ESP32-S3 |
|
||||
| ----------------- | ----- | -------- | -------- | -------- | --------- | -------- | -------- |
|
||||
|
||||
ESP BLE Mesh Node demo
|
||||
==========================
|
||||
|
|
|
@ -38,6 +38,10 @@ menu "Example Configuration"
|
|||
bool "ESP32C5-DevKitC"
|
||||
depends on IDF_TARGET_ESP32C5
|
||||
|
||||
config BLE_MESH_ESP32C61_DEV
|
||||
bool "ESP32C61-DevKitC"
|
||||
depends on IDF_TARGET_ESP32C61
|
||||
|
||||
endchoice
|
||||
|
||||
endmenu
|
||||
|
|
|
@ -36,6 +36,10 @@ extern "C" {
|
|||
#define LED_R GPIO_NUM_8
|
||||
#define LED_G GPIO_NUM_8
|
||||
#define LED_B GPIO_NUM_8
|
||||
#elif defined(CONFIG_BLE_MESH_ESP32C61_DEV)
|
||||
#define LED_R GPIO_NUM_8
|
||||
#define LED_G GPIO_NUM_8
|
||||
#define LED_B GPIO_NUM_8
|
||||
#elif defined(CONFIG_BLE_MESH_ESP32H2_DEV)
|
||||
#define LED_R GPIO_NUM_8
|
||||
#define LED_G GPIO_NUM_8
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
# Override some defaults so BT stack is enabled
|
||||
# by default in this example
|
||||
CONFIG_IDF_TARGET="esp32c61"
|
||||
CONFIG_BT_LE_SCAN_DUPL_TYPE_DATA_DEVICE=y
|
||||
CONFIG_BT_BLE_42_FEATURES_SUPPORTED=y
|
||||
CONFIG_BT_BLE_50_FEATURES_SUPPORTED=n
|
||||
CONFIG_BT_LE_50_FEATURE_SUPPORT=n
|
|
@ -1,5 +1,5 @@
|
|||
| Supported Targets | ESP32 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
||||
| Supported Targets | ESP32 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-H2 | ESP32-S3 |
|
||||
| ----------------- | ----- | -------- | -------- | -------- | --------- | -------- | -------- |
|
||||
|
||||
ESP BLE Mesh Provisioner demo
|
||||
================================
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
# Override some defaults so BT stack is enabled
|
||||
# by default in this example
|
||||
CONFIG_IDF_TARGET="esp32c61"
|
||||
CONFIG_BT_LE_SCAN_DUPL_TYPE_DATA_DEVICE=y
|
||||
CONFIG_BT_BLE_42_FEATURES_SUPPORTED=y
|
||||
CONFIG_BT_BLE_50_FEATURES_SUPPORTED=n
|
||||
CONFIG_BT_LE_50_FEATURE_SUPPORT=n
|
|
@ -1,5 +1,5 @@
|
|||
| Supported Targets | ESP32 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
||||
| Supported Targets | ESP32 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-H2 | ESP32-S3 |
|
||||
| ----------------- | ----- | -------- | -------- | -------- | --------- | -------- | -------- |
|
||||
# Remote Provisioning
|
||||
|
||||
(See the README.md file in the upper level 'examples' directory for more information about examples.)
|
||||
|
|
|
@ -38,6 +38,10 @@ menu "Example Configuration"
|
|||
bool "ESP32C5-DevKitC"
|
||||
depends on IDF_TARGET_ESP32C5
|
||||
|
||||
config BLE_MESH_ESP32C61_DEV
|
||||
bool "ESP32C61-DevKitC"
|
||||
depends on IDF_TARGET_ESP32C61
|
||||
|
||||
endchoice
|
||||
|
||||
endmenu
|
||||
|
|
|
@ -30,6 +30,8 @@ extern "C" {
|
|||
#define BLE_MESH_LED_STRIP_IO GPIO_NUM_47
|
||||
#elif defined(CONFIG_BLE_MESH_ESP32C6_DEV)
|
||||
#define BLE_MESH_LED_STRIP_IO GPIO_NUM_8
|
||||
#elif defined(CONFIG_BLE_MESH_ESP32C61_DEV)
|
||||
#define BLE_MESH_LED_STRIP_IO GPIO_NUM_8
|
||||
#elif defined(CONFIG_BLE_MESH_ESP32H2_DEV)
|
||||
#define BLE_MESH_LED_STRIP_IO GPIO_NUM_8
|
||||
#elif defined(CONFIG_BLE_MESH_ESP32C5_DEV)
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
# Override some defaults so BT stack is enabled
|
||||
# by default in this example
|
||||
CONFIG_IDF_TARGET="esp32c61"
|
||||
CONFIG_BT_LE_SCAN_DUPL_TYPE_DATA_DEVICE=y
|
||||
CONFIG_BT_BLE_42_FEATURES_SUPPORTED=y
|
||||
CONFIG_BT_BLE_50_FEATURES_SUPPORTED=n
|
||||
CONFIG_BT_LE_50_FEATURE_SUPPORT=n
|
|
@ -38,6 +38,10 @@ menu "Example Configuration"
|
|||
bool "ESP32C5-DevKitC"
|
||||
depends on IDF_TARGET_ESP32C5
|
||||
|
||||
config BLE_MESH_ESP32C61_DEV
|
||||
bool "ESP32C61-DevKitC"
|
||||
depends on IDF_TARGET_ESP32C61
|
||||
|
||||
endchoice
|
||||
|
||||
endmenu
|
||||
|
|
|
@ -30,6 +30,8 @@ extern "C" {
|
|||
#define BLE_MESH_LED_STRIP_IO GPIO_NUM_47
|
||||
#elif defined(CONFIG_BLE_MESH_ESP32C6_DEV)
|
||||
#define BLE_MESH_LED_STRIP_IO GPIO_NUM_8
|
||||
#elif defined(CONFIG_BLE_MESH_ESP32C61_DEV)
|
||||
#define BLE_MESH_LED_STRIP_IO GPIO_NUM_8
|
||||
#elif defined(CONFIG_BLE_MESH_ESP32H2_DEV)
|
||||
#define BLE_MESH_LED_STRIP_IO GPIO_NUM_8
|
||||
#elif defined(CONFIG_BLE_MESH_ESP32C5_DEV)
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
# Override some defaults so BT stack is enabled
|
||||
# by default in this example
|
||||
CONFIG_IDF_TARGET="esp32c61"
|
||||
CONFIG_BT_LE_SCAN_DUPL_TYPE_DATA_DEVICE=y
|
||||
CONFIG_BT_BLE_42_FEATURES_SUPPORTED=y
|
||||
CONFIG_BT_BLE_50_FEATURES_SUPPORTED=n
|
||||
CONFIG_BT_LE_50_FEATURE_SUPPORT=n
|
|
@ -38,6 +38,10 @@ menu "Example Configuration"
|
|||
bool "ESP32C5-DevKitC"
|
||||
depends on IDF_TARGET_ESP32C5
|
||||
|
||||
config BLE_MESH_ESP32C61_DEV
|
||||
bool "ESP32C61-DevKitC"
|
||||
depends on IDF_TARGET_ESP32C61
|
||||
|
||||
endchoice
|
||||
|
||||
endmenu
|
||||
|
|
|
@ -30,6 +30,8 @@ extern "C" {
|
|||
#define BLE_MESH_LED_STRIP_IO GPIO_NUM_47
|
||||
#elif defined(CONFIG_BLE_MESH_ESP32C6_DEV)
|
||||
#define BLE_MESH_LED_STRIP_IO GPIO_NUM_8
|
||||
#elif defined(CONFIG_BLE_MESH_ESP32C61_DEV)
|
||||
#define BLE_MESH_LED_STRIP_IO GPIO_NUM_8
|
||||
#elif defined(CONFIG_BLE_MESH_ESP32H2_DEV)
|
||||
#define BLE_MESH_LED_STRIP_IO GPIO_NUM_8
|
||||
#elif defined(CONFIG_BLE_MESH_ESP32C5_DEV)
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
# Override some defaults so BT stack is enabled
|
||||
# by default in this example
|
||||
CONFIG_IDF_TARGET="esp32c61"
|
||||
CONFIG_BT_LE_SCAN_DUPL_TYPE_DATA_DEVICE=y
|
||||
CONFIG_BT_BLE_42_FEATURES_SUPPORTED=y
|
||||
CONFIG_BT_BLE_50_FEATURES_SUPPORTED=n
|
||||
CONFIG_BT_LE_50_FEATURE_SUPPORT=n
|
|
@ -1,5 +1,5 @@
|
|||
| Supported Targets | ESP32 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
||||
| Supported Targets | ESP32 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-H2 | ESP32-S3 |
|
||||
| ----------------- | ----- | -------- | -------- | -------- | --------- | -------- | -------- |
|
||||
|
||||
ESP BLE Mesh Sensor Client Example
|
||||
==================================
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
# Override some defaults so BT stack is enabled
|
||||
# by default in this example
|
||||
CONFIG_IDF_TARGET="esp32c61"
|
||||
CONFIG_BT_LE_SCAN_DUPL_TYPE_DATA_DEVICE=y
|
||||
CONFIG_BT_BLE_42_FEATURES_SUPPORTED=y
|
||||
CONFIG_BT_BLE_50_FEATURES_SUPPORTED=n
|
||||
CONFIG_BT_LE_50_FEATURE_SUPPORT=n
|
|
@ -1,5 +1,5 @@
|
|||
| Supported Targets | ESP32 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
||||
| Supported Targets | ESP32 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-H2 | ESP32-S3 |
|
||||
| ----------------- | ----- | -------- | -------- | -------- | --------- | -------- | -------- |
|
||||
|
||||
ESP BLE Mesh Sensor Server Example
|
||||
==================================
|
||||
|
|
|
@ -38,6 +38,10 @@ menu "Example Configuration"
|
|||
bool "ESP32C5-DevKitC"
|
||||
depends on IDF_TARGET_ESP32C5
|
||||
|
||||
config BLE_MESH_ESP32C61_DEV
|
||||
bool "ESP32C61-DevKitC"
|
||||
depends on IDF_TARGET_ESP32C61
|
||||
|
||||
endchoice
|
||||
|
||||
endmenu
|
||||
|
|
|
@ -36,6 +36,10 @@ extern "C" {
|
|||
#define LED_R GPIO_NUM_8
|
||||
#define LED_G GPIO_NUM_8
|
||||
#define LED_B GPIO_NUM_8
|
||||
#elif defined(CONFIG_BLE_MESH_ESP32C61_DEV)
|
||||
#define LED_R GPIO_NUM_8
|
||||
#define LED_G GPIO_NUM_8
|
||||
#define LED_B GPIO_NUM_8
|
||||
#elif defined(CONFIG_BLE_MESH_ESP32H2_DEV)
|
||||
#define LED_R GPIO_NUM_8
|
||||
#define LED_G GPIO_NUM_8
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
# Override some defaults so BT stack is enabled
|
||||
# by default in this example
|
||||
CONFIG_IDF_TARGET="esp32c61"
|
||||
CONFIG_BT_LE_SCAN_DUPL_TYPE_DATA_DEVICE=y
|
||||
CONFIG_BT_BLE_42_FEATURES_SUPPORTED=y
|
||||
CONFIG_BT_BLE_50_FEATURES_SUPPORTED=n
|
||||
CONFIG_BT_LE_50_FEATURE_SUPPORT=n
|
|
@ -1,5 +1,5 @@
|
|||
| Supported Targets | ESP32 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
||||
| Supported Targets | ESP32 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-H2 | ESP32-S3 |
|
||||
| ----------------- | ----- | -------- | -------- | -------- | --------- | -------- | -------- |
|
||||
|
||||
ESP BLE Mesh Vendor Client Example
|
||||
==================================
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
# Override some defaults so BT stack is enabled
|
||||
# by default in this example
|
||||
CONFIG_IDF_TARGET="esp32c61"
|
||||
CONFIG_BT_LE_SCAN_DUPL_TYPE_DATA_DEVICE=y
|
||||
CONFIG_BT_BLE_42_FEATURES_SUPPORTED=y
|
||||
CONFIG_BT_BLE_50_FEATURES_SUPPORTED=n
|
||||
CONFIG_BT_LE_50_FEATURE_SUPPORT=n
|
|
@ -1,5 +1,5 @@
|
|||
| Supported Targets | ESP32 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
||||
| Supported Targets | ESP32 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-H2 | ESP32-S3 |
|
||||
| ----------------- | ----- | -------- | -------- | -------- | --------- | -------- | -------- |
|
||||
|
||||
ESP BLE Mesh Vendor Server Example
|
||||
==================================
|
||||
|
|
|
@ -38,6 +38,10 @@ menu "Example Configuration"
|
|||
bool "ESP32C5-DevKitC"
|
||||
depends on IDF_TARGET_ESP32C5
|
||||
|
||||
config BLE_MESH_ESP32C61_DEV
|
||||
bool "ESP32C61-DevKitC"
|
||||
depends on IDF_TARGET_ESP32C61
|
||||
|
||||
endchoice
|
||||
|
||||
endmenu
|
||||
|
|
|
@ -36,6 +36,10 @@ extern "C" {
|
|||
#define LED_R GPIO_NUM_8
|
||||
#define LED_G GPIO_NUM_8
|
||||
#define LED_B GPIO_NUM_8
|
||||
#elif defined(CONFIG_BLE_MESH_ESP32C61_DEV)
|
||||
#define LED_R GPIO_NUM_8
|
||||
#define LED_G GPIO_NUM_8
|
||||
#define LED_B GPIO_NUM_8
|
||||
#elif defined(CONFIG_BLE_MESH_ESP32H2_DEV)
|
||||
#define LED_R GPIO_NUM_8
|
||||
#define LED_G GPIO_NUM_8
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
# Override some defaults so BT stack is enabled
|
||||
# by default in this example
|
||||
CONFIG_IDF_TARGET="esp32c61"
|
||||
CONFIG_BT_LE_SCAN_DUPL_TYPE_DATA_DEVICE=y
|
||||
CONFIG_BT_BLE_42_FEATURES_SUPPORTED=y
|
||||
CONFIG_BT_BLE_50_FEATURES_SUPPORTED=n
|
||||
CONFIG_BT_LE_50_FEATURE_SUPPORT=n
|
|
@ -1,5 +1,5 @@
|
|||
| Supported Targets | ESP32 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-S3 |
|
||||
| ----------------- | ----- | -------- | -------- | -------- | -------- |
|
||||
| Supported Targets | ESP32 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-C61 | ESP32-S3 |
|
||||
| ----------------- | ----- | -------- | -------- | -------- | --------- | -------- |
|
||||
|
||||
ESP-BLE-MESH and Wi-Fi Coexistence Example
|
||||
=============================================
|
||||
|
|
|
@ -33,6 +33,10 @@ menu "Example Configuration"
|
|||
bool "ESP32C5-DevKitC"
|
||||
depends on IDF_TARGET_ESP32C5
|
||||
|
||||
config BLE_MESH_ESP32C61_DEV
|
||||
bool "ESP32C61-DevKitC"
|
||||
depends on IDF_TARGET_ESP32C61
|
||||
|
||||
endchoice
|
||||
|
||||
endmenu
|
||||
|
|
|
@ -32,6 +32,10 @@
|
|||
#define LED_R GPIO_NUM_8
|
||||
#define LED_G GPIO_NUM_8
|
||||
#define LED_B GPIO_NUM_8
|
||||
#elif defined(CONFIG_BLE_MESH_ESP32C61_DEV)
|
||||
#define LED_R GPIO_NUM_8
|
||||
#define LED_G GPIO_NUM_8
|
||||
#define LED_B GPIO_NUM_8
|
||||
#elif defined(CONFIG_BLE_MESH_ESP32C5_DEV)
|
||||
#define LED_R GPIO_NUM_8
|
||||
#define LED_G GPIO_NUM_8
|
||||
|
|
|
@ -0,0 +1,7 @@
|
|||
# Override some defaults so BT stack is enabled
|
||||
# by default in this example
|
||||
CONFIG_IDF_TARGET="esp32c61"
|
||||
CONFIG_BT_LE_SCAN_DUPL_TYPE_DATA_DEVICE=y
|
||||
CONFIG_BT_BLE_42_FEATURES_SUPPORTED=y
|
||||
CONFIG_BT_BLE_50_FEATURES_SUPPORTED=n
|
||||
CONFIG_BT_LE_50_FEATURE_SUPPORT=n
|
Ładowanie…
Reference in New Issue