forked from espressif/esp-idf
feat(ble): support ble on esp32c5
This commit is contained in:
@@ -4,29 +4,17 @@ if(${target} STREQUAL "linux")
|
|||||||
return() # This component is not supported by the POSIX/Linux simulator
|
return() # This component is not supported by the POSIX/Linux simulator
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
if(CONFIG_IDF_TARGET_ESP32S3)
|
||||||
|
set(target_name "esp32c3")
|
||||||
|
else()
|
||||||
|
set(target_name "${idf_target}")
|
||||||
|
endif()
|
||||||
|
|
||||||
# API headers that are used in the docs are also compiled
|
# API headers that are used in the docs are also compiled
|
||||||
# even if CONFIG_BT_ENABLED=n as long as CONFIG_IDF_DOC_BUILD=y
|
# even if CONFIG_BT_ENABLED=n as long as CONFIG_IDF_DOC_BUILD=y
|
||||||
|
|
||||||
if(CONFIG_IDF_TARGET_ESP32)
|
if(CONFIG_SOC_BT_SUPPORTED)
|
||||||
set(target_specific_include_dirs include/esp32/include)
|
set(target_specific_include_dirs include/${target_name}/include)
|
||||||
|
|
||||||
elseif(CONFIG_IDF_TARGET_ESP32C3)
|
|
||||||
set(target_specific_include_dirs include/esp32c3/include)
|
|
||||||
|
|
||||||
elseif(CONFIG_IDF_TARGET_ESP32S3)
|
|
||||||
set(target_specific_include_dirs include/esp32c3/include)
|
|
||||||
|
|
||||||
elseif(CONFIG_IDF_TARGET_ESP32C2)
|
|
||||||
set(target_specific_include_dirs include/esp32c2/include)
|
|
||||||
|
|
||||||
elseif(CONFIG_IDF_TARGET_ESP32C6)
|
|
||||||
set(target_specific_include_dirs include/esp32c6/include)
|
|
||||||
|
|
||||||
elseif(CONFIG_IDF_TARGET_ESP32H2)
|
|
||||||
set(target_specific_include_dirs include/esp32h2/include)
|
|
||||||
|
|
||||||
elseif(CONFIG_IDF_TARGET_ESP32C5)
|
|
||||||
set(target_specific_include_dirs include/esp32c5/include)
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
set(common_include_dirs
|
set(common_include_dirs
|
||||||
@@ -76,34 +64,19 @@ if(CONFIG_BT_ENABLED)
|
|||||||
set(include_dirs "")
|
set(include_dirs "")
|
||||||
set(ldscripts "linker_common.lf")
|
set(ldscripts "linker_common.lf")
|
||||||
if(CONFIG_BT_CONTROLLER_ENABLED)
|
if(CONFIG_BT_CONTROLLER_ENABLED)
|
||||||
|
list(APPEND srcs "controller/${target_name}/bt.c")
|
||||||
|
|
||||||
if(CONFIG_IDF_TARGET_ESP32)
|
if(CONFIG_IDF_TARGET_ESP32)
|
||||||
list(APPEND srcs "controller/esp32/bt.c"
|
list(APPEND srcs "controller/esp32/hli_api.c"
|
||||||
"controller/esp32/hli_api.c"
|
|
||||||
"controller/esp32/hli_vectors.S")
|
"controller/esp32/hli_vectors.S")
|
||||||
list(APPEND ldscripts "linker_rw_bt_controller.lf")
|
list(APPEND ldscripts "linker_rw_bt_controller.lf")
|
||||||
|
|
||||||
elseif(CONFIG_IDF_TARGET_ESP32C3)
|
elseif(CONFIG_IDF_TARGET_ESP32C3)
|
||||||
list(APPEND srcs "controller/esp32c3/bt.c")
|
|
||||||
list(APPEND ldscripts "linker_rw_bt_controller.lf")
|
list(APPEND ldscripts "linker_rw_bt_controller.lf")
|
||||||
|
|
||||||
elseif(CONFIG_IDF_TARGET_ESP32S3)
|
elseif(CONFIG_IDF_TARGET_ESP32S3)
|
||||||
list(APPEND srcs "controller/esp32c3/bt.c")
|
|
||||||
list(APPEND ldscripts "linker_rw_bt_controller.lf")
|
list(APPEND ldscripts "linker_rw_bt_controller.lf")
|
||||||
|
|
||||||
elseif(CONFIG_IDF_TARGET_ESP32C2)
|
elseif(CONFIG_IDF_TARGET_ESP32C2)
|
||||||
list(APPEND srcs "controller/esp32c2/bt.c")
|
|
||||||
set(ldscripts "linker_esp32c2.lf")
|
set(ldscripts "linker_esp32c2.lf")
|
||||||
|
else()
|
||||||
elseif(CONFIG_IDF_TARGET_ESP32C6)
|
|
||||||
list(APPEND srcs "controller/esp32c6/bt.c")
|
|
||||||
list(APPEND ldscripts "linker_esp_ble_controller.lf")
|
|
||||||
|
|
||||||
elseif(CONFIG_IDF_TARGET_ESP32H2)
|
|
||||||
list(APPEND srcs "controller/esp32h2/bt.c")
|
|
||||||
list(APPEND ldscripts "linker_esp_ble_controller.lf")
|
|
||||||
|
|
||||||
elseif(CONFIG_IDF_TARGET_ESP32C5)
|
|
||||||
list(APPEND srcs "controller/esp32c5/bt.c")
|
|
||||||
list(APPEND ldscripts "linker_esp_ble_controller.lf")
|
list(APPEND ldscripts "linker_esp_ble_controller.lf")
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
@@ -870,7 +843,7 @@ if(CONFIG_BT_ENABLED)
|
|||||||
"${CMAKE_CURRENT_LIST_DIR}/controller/lib_esp32c3_family/esp32s3")
|
"${CMAKE_CURRENT_LIST_DIR}/controller/lib_esp32c3_family/esp32s3")
|
||||||
target_link_libraries(${COMPONENT_LIB} PUBLIC btdm_app)
|
target_link_libraries(${COMPONENT_LIB} PUBLIC btdm_app)
|
||||||
elseif(CONFIG_BT_CONTROLLER_ENABLED)
|
elseif(CONFIG_BT_CONTROLLER_ENABLED)
|
||||||
add_prebuilt_library(libble_app "controller/lib_${target}/${target}-bt-lib/libble_app.a")
|
add_prebuilt_library(libble_app "controller/lib_${target_name}/${target_name}-bt-lib/libble_app.a")
|
||||||
target_link_libraries(${COMPONENT_LIB} PRIVATE libble_app)
|
target_link_libraries(${COMPONENT_LIB} PRIVATE libble_app)
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
|
@@ -303,34 +303,34 @@ static int esp_intr_free_wrapper(void **ret_handle)
|
|||||||
void esp_bt_rtc_slow_clk_select(uint8_t slow_clk_src)
|
void esp_bt_rtc_slow_clk_select(uint8_t slow_clk_src)
|
||||||
{
|
{
|
||||||
/* Select slow clock source for BT momdule */
|
/* Select slow clock source for BT momdule */
|
||||||
// switch (slow_clk_src) {
|
switch (slow_clk_src) {
|
||||||
// case MODEM_CLOCK_LPCLK_SRC_MAIN_XTAL:
|
case MODEM_CLOCK_LPCLK_SRC_MAIN_XTAL:
|
||||||
// ESP_LOGI(NIMBLE_PORT_LOG_TAG, "Using main XTAL as clock source");
|
ESP_LOGI(NIMBLE_PORT_LOG_TAG, "Using main XTAL as clock source");
|
||||||
// uint32_t chip_version = efuse_hal_chip_revision();
|
uint32_t chip_version = efuse_hal_chip_revision();
|
||||||
// if (chip_version == 0) {
|
if (chip_version == 0) {
|
||||||
// modem_clock_select_lp_clock_source(PERIPH_BT_MODULE, slow_clk_src, (400 - 1));
|
modem_clock_select_lp_clock_source(PERIPH_BT_MODULE, slow_clk_src, (400 - 1));
|
||||||
// } else{
|
} else{
|
||||||
// modem_clock_select_lp_clock_source(PERIPH_BT_MODULE, slow_clk_src, (5 - 1));
|
modem_clock_select_lp_clock_source(PERIPH_BT_MODULE, slow_clk_src, (5 - 1));
|
||||||
// }
|
}
|
||||||
// break;
|
break;
|
||||||
// case MODEM_CLOCK_LPCLK_SRC_RC_SLOW:
|
case MODEM_CLOCK_LPCLK_SRC_RC_SLOW:
|
||||||
// ESP_LOGI(NIMBLE_PORT_LOG_TAG, "Using 136 kHz RC as clock source, can only run legacy ADV or SCAN due to low clock accuracy!");
|
ESP_LOGI(NIMBLE_PORT_LOG_TAG, "Using 136 kHz RC as clock source, can only run legacy ADV or SCAN due to low clock accuracy!");
|
||||||
// modem_clock_select_lp_clock_source(PERIPH_BT_MODULE, slow_clk_src, (5 - 1));
|
modem_clock_select_lp_clock_source(PERIPH_BT_MODULE, slow_clk_src, (5 - 1));
|
||||||
// break;
|
break;
|
||||||
// case MODEM_CLOCK_LPCLK_SRC_XTAL32K:
|
case MODEM_CLOCK_LPCLK_SRC_XTAL32K:
|
||||||
// ESP_LOGI(NIMBLE_PORT_LOG_TAG, "Using external 32.768 kHz XTAL as clock source");
|
ESP_LOGI(NIMBLE_PORT_LOG_TAG, "Using external 32.768 kHz XTAL as clock source");
|
||||||
// modem_clock_select_lp_clock_source(PERIPH_BT_MODULE, slow_clk_src, (1 - 1));
|
modem_clock_select_lp_clock_source(PERIPH_BT_MODULE, slow_clk_src, (1 - 1));
|
||||||
// break;
|
break;
|
||||||
// case MODEM_CLOCK_LPCLK_SRC_RC32K:
|
case MODEM_CLOCK_LPCLK_SRC_RC32K:
|
||||||
// ESP_LOGI(NIMBLE_PORT_LOG_TAG, "Using 32 kHz RC as clock source, can only run legacy ADV or SCAN due to low clock accuracy!");
|
ESP_LOGI(NIMBLE_PORT_LOG_TAG, "Using 32 kHz RC as clock source, can only run legacy ADV or SCAN due to low clock accuracy!");
|
||||||
// modem_clock_select_lp_clock_source(PERIPH_BT_MODULE, slow_clk_src, (1 - 1));
|
modem_clock_select_lp_clock_source(PERIPH_BT_MODULE, slow_clk_src, (1 - 1));
|
||||||
// break;
|
break;
|
||||||
// case MODEM_CLOCK_LPCLK_SRC_EXT32K:
|
case MODEM_CLOCK_LPCLK_SRC_EXT32K:
|
||||||
// ESP_LOGI(NIMBLE_PORT_LOG_TAG, "Using 32 kHz oscillator as clock source, can only run legacy ADV or SCAN due to low clock accuracy!");
|
ESP_LOGI(NIMBLE_PORT_LOG_TAG, "Using 32 kHz oscillator as clock source, can only run legacy ADV or SCAN due to low clock accuracy!");
|
||||||
// modem_clock_select_lp_clock_source(PERIPH_BT_MODULE, slow_clk_src, (1 - 1));
|
modem_clock_select_lp_clock_source(PERIPH_BT_MODULE, slow_clk_src, (1 - 1));
|
||||||
// break;
|
break;
|
||||||
// default:
|
default:
|
||||||
// }
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
IRAM_ATTR void controller_sleep_cb(uint32_t enable_tick, void *arg)
|
IRAM_ATTR void controller_sleep_cb(uint32_t enable_tick, void *arg)
|
||||||
|
Submodule components/bt/controller/lib_esp32c5/esp32c5-bt-lib updated: 77c67a4d06...a59ed65177
@@ -65,7 +65,7 @@ config BT_NIMBLE_LOG_LEVEL
|
|||||||
config BT_NIMBLE_MAX_CONNECTIONS
|
config BT_NIMBLE_MAX_CONNECTIONS
|
||||||
int "Maximum number of concurrent connections"
|
int "Maximum number of concurrent connections"
|
||||||
range 1 2 if IDF_TARGET_ESP32C2
|
range 1 2 if IDF_TARGET_ESP32C2
|
||||||
range 1 70 if IDF_TARGET_ESP32C6
|
range 1 70 if IDF_TARGET_ESP32C6 || IDF_TARGET_ESP32C5
|
||||||
range 1 35 if IDF_TARGET_ESP32H2
|
range 1 35 if IDF_TARGET_ESP32H2
|
||||||
range 1 9
|
range 1 9
|
||||||
default 2 if IDF_TARGET_ESP32C2
|
default 2 if IDF_TARGET_ESP32C2
|
||||||
|
@@ -75,6 +75,9 @@ typedef enum {
|
|||||||
* @brief Bluetooth TX power level(index), it's just a index corresponding to power(dbm).
|
* @brief Bluetooth TX power level(index), it's just a index corresponding to power(dbm).
|
||||||
*/
|
*/
|
||||||
typedef enum {
|
typedef enum {
|
||||||
|
ESP_PWR_LVL_N24 = 0, /*!< Corresponding to -24dbm */
|
||||||
|
ESP_PWR_LVL_N21 = 1, /*!< Corresponding to -21dbm */
|
||||||
|
ESP_PWR_LVL_N18 = 2, /*!< Corresponding to -18dbm */
|
||||||
ESP_PWR_LVL_N15 = 3, /*!< Corresponding to -15dbm */
|
ESP_PWR_LVL_N15 = 3, /*!< Corresponding to -15dbm */
|
||||||
ESP_PWR_LVL_N12 = 4, /*!< Corresponding to -12dbm */
|
ESP_PWR_LVL_N12 = 4, /*!< Corresponding to -12dbm */
|
||||||
ESP_PWR_LVL_N9 = 5, /*!< Corresponding to -9dbm */
|
ESP_PWR_LVL_N9 = 5, /*!< Corresponding to -9dbm */
|
||||||
|
@@ -191,6 +191,14 @@ config SOC_SPIRAM_SUPPORTED
|
|||||||
bool
|
bool
|
||||||
default y
|
default y
|
||||||
|
|
||||||
|
config SOC_BT_SUPPORTED
|
||||||
|
bool
|
||||||
|
default y
|
||||||
|
|
||||||
|
config SOC_PHY_SUPPORTED
|
||||||
|
bool
|
||||||
|
default y
|
||||||
|
|
||||||
config SOC_XTAL_SUPPORT_40M
|
config SOC_XTAL_SUPPORT_40M
|
||||||
bool
|
bool
|
||||||
default y
|
default y
|
||||||
@@ -1151,6 +1159,34 @@ config SOC_RCC_IS_INDEPENDENT
|
|||||||
bool
|
bool
|
||||||
default y
|
default y
|
||||||
|
|
||||||
|
config SOC_BLE_SUPPORTED
|
||||||
|
bool
|
||||||
|
default y
|
||||||
|
|
||||||
|
config SOC_ESP_NIMBLE_CONTROLLER
|
||||||
|
bool
|
||||||
|
default y
|
||||||
|
|
||||||
|
config SOC_BLE_50_SUPPORTED
|
||||||
|
bool
|
||||||
|
default y
|
||||||
|
|
||||||
|
config SOC_BLE_DEVICE_PRIVACY_SUPPORTED
|
||||||
|
bool
|
||||||
|
default y
|
||||||
|
|
||||||
|
config SOC_BLE_POWER_CONTROL_SUPPORTED
|
||||||
|
bool
|
||||||
|
default y
|
||||||
|
|
||||||
|
config SOC_BLE_MULTI_CONN_OPTIMIZATION
|
||||||
|
bool
|
||||||
|
default y
|
||||||
|
|
||||||
|
config SOC_BLE_PERIODIC_ADV_ENH_SUPPORTED
|
||||||
|
bool
|
||||||
|
default y
|
||||||
|
|
||||||
config SOC_LP_CORE_SINGLE_INTERRUPT_VECTOR
|
config SOC_LP_CORE_SINGLE_INTERRUPT_VECTOR
|
||||||
bool
|
bool
|
||||||
default y
|
default y
|
||||||
|
@@ -78,6 +78,8 @@
|
|||||||
#define SOC_MODEM_CLOCK_SUPPORTED 1
|
#define SOC_MODEM_CLOCK_SUPPORTED 1
|
||||||
// #define SOC_PM_SUPPORTED 1 // TODO: [ESP32C5] IDF-8643
|
// #define SOC_PM_SUPPORTED 1 // TODO: [ESP32C5] IDF-8643
|
||||||
#define SOC_SPIRAM_SUPPORTED 1
|
#define SOC_SPIRAM_SUPPORTED 1
|
||||||
|
#define SOC_BT_SUPPORTED 1
|
||||||
|
#define SOC_PHY_SUPPORTED 1
|
||||||
|
|
||||||
/*-------------------------- XTAL CAPS ---------------------------------------*/
|
/*-------------------------- XTAL CAPS ---------------------------------------*/
|
||||||
#define SOC_XTAL_SUPPORT_40M 1
|
#define SOC_XTAL_SUPPORT_40M 1
|
||||||
@@ -577,17 +579,14 @@
|
|||||||
// #define SOC_WIFI_HE_SUPPORT (1) /*!< Support Wi-Fi 6 */
|
// #define SOC_WIFI_HE_SUPPORT (1) /*!< Support Wi-Fi 6 */
|
||||||
|
|
||||||
/*---------------------------------- Bluetooth CAPS ----------------------------------*/
|
/*---------------------------------- Bluetooth CAPS ----------------------------------*/
|
||||||
// #define SOC_BLE_SUPPORTED (1) /*!< Support Bluetooth Low Energy hardware */
|
#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_ESP_NIMBLE_CONTROLLER (1) /*!< Support BLE EMBEDDED controller V1 */
|
||||||
// #define SOC_BLE_50_SUPPORTED (1) /*!< Support Bluetooth 5.0 */
|
#define SOC_BLE_50_SUPPORTED (1) /*!< Support Bluetooth 5.0 */
|
||||||
// #define SOC_BLE_DEVICE_PRIVACY_SUPPORTED (1) /*!< Support BLE device privacy mode */
|
#define SOC_BLE_DEVICE_PRIVACY_SUPPORTED (1) /*!< Support BLE device privacy mode */
|
||||||
// #define SOC_BLE_POWER_CONTROL_SUPPORTED (1) /*!< Support Bluetooth Power Control */
|
#define SOC_BLE_POWER_CONTROL_SUPPORTED (1) /*!< Support Bluetooth Power Control */
|
||||||
// #define SOC_BLE_PERIODIC_ADV_ENH_SUPPORTED (1) /*!< Support For BLE Periodic Adv Enhancements */
|
#define SOC_BLE_MULTI_CONN_OPTIMIZATION (1) /*!< Support multiple connections optimization */
|
||||||
// #define SOC_BLUFI_SUPPORTED (1) /*!< Support BLUFI */
|
#define SOC_BLE_PERIODIC_ADV_ENH_SUPPORTED (1) /*!< Support For BLE Periodic Adv Enhancements */
|
||||||
// #define SOC_BLE_MULTI_CONN_OPTIMIZATION (1) /*!< Support multiple connections optimization */
|
|
||||||
|
|
||||||
// #define SOC_BLE_USE_WIFI_PWR_CLK_WORKAROUND (1)
|
|
||||||
|
|
||||||
/*------------------------------------- PHY CAPS -------------------------------------*/
|
/*------------------------------------- PHY CAPS -------------------------------------*/
|
||||||
// #define SOC_PHY_COMBO_MODULE (1) /*!< Support Wi-Fi, BLE and 15.4*/
|
// #define SOC_PHY_COMBO_MODULE (1) /*!< Support Wi-Fi, BLE and 15.4*/
|
||||||
|
@@ -189,6 +189,10 @@ examples/bluetooth/nimble/blecent:
|
|||||||
<<: *bt_default_depends
|
<<: *bt_default_depends
|
||||||
disable:
|
disable:
|
||||||
- if: SOC_BLE_SUPPORTED != 1
|
- if: SOC_BLE_SUPPORTED != 1
|
||||||
|
disable_test:
|
||||||
|
- if: IDF_TARGET in ["esp32c5"]
|
||||||
|
temporary: true
|
||||||
|
reason: Not supported yet
|
||||||
depends_components:
|
depends_components:
|
||||||
- bt
|
- bt
|
||||||
- esp_phy
|
- esp_phy
|
||||||
@@ -237,6 +241,10 @@ examples/bluetooth/nimble/power_save:
|
|||||||
<<: *bt_default_depends
|
<<: *bt_default_depends
|
||||||
disable:
|
disable:
|
||||||
- if: SOC_BLE_SUPPORTED != 1
|
- if: SOC_BLE_SUPPORTED != 1
|
||||||
|
disable_test:
|
||||||
|
- if: IDF_TARGET in ["esp32c5"]
|
||||||
|
temporary: true
|
||||||
|
reason: Not supported yet
|
||||||
depends_components:
|
depends_components:
|
||||||
- bt
|
- bt
|
||||||
- esp_phy
|
- esp_phy
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# ESP-IDF BLE ANCS Example
|
# ESP-IDF BLE ANCS Example
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# ESP-IDF BLE Compatibility Test Example
|
# ESP-IDF BLE Compatibility Test Example
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# ESP-IDF Eddystone Example
|
# ESP-IDF Eddystone Example
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# ESP-IDF BLE HID Example
|
# ESP-IDF BLE HID Example
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# ESP-IDF iBeacon demo
|
# ESP-IDF iBeacon demo
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# ESP-IDF SPP GATT CLIENT demo
|
# ESP-IDF SPP GATT CLIENT demo
|
||||||
|
|
||||||
@@ -49,7 +49,7 @@ idf.py set-target <chip_name>
|
|||||||
|
|
||||||
* `uart_task` - process Uart
|
* `uart_task` - process Uart
|
||||||
* `spp_cmd_task` - process command messages, the commands and processing were defined by customer
|
* `spp_cmd_task` - process command messages, the commands and processing were defined by customer
|
||||||
* `spp_heartbeat_task` - if heartbeat is supported, the task will send a heatbeat packet to the remote device
|
* `spp_heartbeat_task` - if heartbeat is supported, the task will send a heartbeat packet to the remote device
|
||||||
|
|
||||||
### Packet Structure
|
### Packet Structure
|
||||||
|
|
||||||
@@ -77,7 +77,7 @@ idf.py set-target <chip_name>
|
|||||||
|
|
||||||
### GATT Server Attribute Table
|
### GATT Server Attribute Table
|
||||||
|
|
||||||
charactertistic|UUID|Permissions
|
characteristic|UUID|Permissions
|
||||||
:-:|:-:|:-:
|
:-:|:-:|:-:
|
||||||
SPP_DATA_RECV_CHAR|0xABF1|READ&WRITE_NR
|
SPP_DATA_RECV_CHAR|0xABF1|READ&WRITE_NR
|
||||||
SPP_DATA_NOTIFY_CHAR|0xABF2|READ&NOTIFY
|
SPP_DATA_NOTIFY_CHAR|0xABF2|READ&NOTIFY
|
||||||
@@ -95,7 +95,7 @@ See the [Getting Started Guide](https://idf.espressif.com/) for full steps to co
|
|||||||
|
|
||||||
## Example Output
|
## Example Output
|
||||||
|
|
||||||
The spp cilent will auto connect to the spp server, do service search, exchange MTU size and register notification.
|
The spp client will auto connect to the spp server, do service search, exchange MTU size and register notification.
|
||||||
|
|
||||||
### Client
|
### Client
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
## ESP-IDF GATT SERVER SPP Example
|
## ESP-IDF GATT SERVER SPP Example
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# ESP-IDF BLE throughput GATT CLIENT Test
|
# ESP-IDF BLE throughput GATT CLIENT Test
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# ESP-IDF BLE throughput GATT SERVER Test
|
# ESP-IDF BLE throughput GATT SERVER Test
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# ESP-IDF Gatt Client Example
|
# ESP-IDF Gatt Client Example
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# ESP-IDF Gatt Security Client Example
|
# ESP-IDF Gatt Security Client Example
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# ESP-IDF Gatt Security Server Example
|
# ESP-IDF Gatt Security Server Example
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# ESP-IDF Gatt Server Example
|
# ESP-IDF Gatt Server Example
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# ESP-IDF Gatt Server Service Table Example
|
# ESP-IDF Gatt Server Service Table Example
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# ESP-IDF Gatt Client Multi Connection Example
|
# ESP-IDF Gatt Client Multi Connection Example
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
| Supported Targets | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||||
| ----------------- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# ESP-IDF Gatt Security Client Example
|
# ESP-IDF Gatt Security Client Example
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
| Supported Targets | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||||
| ----------------- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# ESP-IDF BLE50 Security Server Example
|
# ESP-IDF BLE50 Security Server Example
|
||||||
|
|
||||||
@@ -24,7 +24,7 @@ There are some important points for this demo:
|
|||||||
|
|
||||||
### Hardware Required
|
### Hardware Required
|
||||||
|
|
||||||
* A development board with ESP32-C3 SoC, ESP32-S3, ESP32-C2/ESP32-H2 SoC and BLE5.0 supoorted chips. (e.g., ESP32-C3-DevKitC-1, etc.)
|
* A development board with ESP32-C3 SoC, ESP32-S3, ESP32-C2/ESP32-H2 SoC and BLE5.0 supported chips. (e.g., ESP32-C3-DevKitC-1, etc.)
|
||||||
* A USB cable for Power supply and programming
|
* A USB cable for Power supply and programming
|
||||||
|
|
||||||
See [Development Boards](https://www.espressif.com/en/products/devkits) for more information about it.
|
See [Development Boards](https://www.espressif.com/en/products/devkits) for more information about it.
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
| Supported Targets | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||||
| ----------------- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
#ESP-IDF Multi Adv Example
|
#ESP-IDF Multi Adv Example
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
| Supported Targets | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||||
| ----------------- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# ESP_IDF Periodic Adv Example
|
# ESP_IDF Periodic Adv Example
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
| Supported Targets | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||||
| ----------------- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# ESP-IDF Periodic Sync Example
|
# ESP-IDF Periodic Sync Example
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
ESP-IDF UART HCI Host
|
ESP-IDF UART HCI Host
|
||||||
=====================
|
=====================
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
ESP-IDF Gattc and Gatts Coexistence example
|
ESP-IDF Gattc and Gatts Coexistence example
|
||||||
==============================================
|
==============================================
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# ESP-IDF BT/BLE HID Device Demo
|
# ESP-IDF BT/BLE HID Device Demo
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# ESP-IDF BT/BLE HID Host Demo
|
# ESP-IDF BT/BLE HID Host Demo
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# BLE CTS Cent Example
|
# BLE CTS Cent Example
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# BLE Current Time Service Example
|
# BLE Current Time Service Example
|
||||||
|
|
||||||
|
@@ -1,7 +1,7 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# BLE Dyanamic Service Example
|
# BLE Dynamic Service Example
|
||||||
|
|
||||||
(See the README.md file in the upper level 'examples' directory for more information about examples.)
|
(See the README.md file in the upper level 'examples' directory for more information about examples.)
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
| Supported Targets | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||||
| ----------------- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# BLE Encrypted Advertising Data Central Example
|
# BLE Encrypted Advertising Data Central Example
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
| Supported Targets | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||||
| ----------------- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# BLE Encrypted Advertising Data Peripheral Example
|
# BLE Encrypted Advertising Data Peripheral Example
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# BLE HTP Cent Example
|
# BLE HTP Cent Example
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# BLE Heart Rate Measurement Example
|
# BLE Heart Rate Measurement Example
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# BLE Central L2CAP COC Example
|
# BLE Central L2CAP COC Example
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# BLE Peripheral L2CAP COC Example
|
# BLE Peripheral L2CAP COC Example
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
| Supported Targets | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||||
| ----------------- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# BLE Multi Adv Example
|
# BLE Multi Adv Example
|
||||||
|
|
||||||
@@ -11,7 +11,7 @@ It starts 4 types of advertising:
|
|||||||
* Non connectable extended
|
* Non connectable extended
|
||||||
* Connectable extended
|
* Connectable extended
|
||||||
* Scannable legacy
|
* Scannable legacy
|
||||||
* Legacy withe specified duration(5 sec)
|
* Legacy with specified duration(5 sec)
|
||||||
|
|
||||||
## How to Use Example
|
## How to Use Example
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32-C6 | ESP32-H2 |
|
| Supported Targets | ESP32-C5 | ESP32-C6 | ESP32-H2 |
|
||||||
| ----------------- | -------- | -------- |
|
| ----------------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# BLE Multiple Connection Central Example
|
# BLE Multiple Connection Central Example
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32-C6 | ESP32-H2 |
|
| Supported Targets | ESP32-C5 | ESP32-C6 | ESP32-H2 |
|
||||||
| ----------------- | -------- | -------- |
|
| ----------------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# BLE Multiple Connection Peripheral Example
|
# BLE Multiple Connection Peripheral Example
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
| Supported Targets | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||||
| ----------------- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# BLE Periodic Advertiser Example
|
# BLE Periodic Advertiser Example
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
| Supported Targets | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||||
| ----------------- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# BLE Periodic Sync Example
|
# BLE Periodic Sync Example
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
| Supported Targets | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||||
| ----------------- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# BLE Central PHY Example
|
# BLE Central PHY Example
|
||||||
|
|
||||||
@@ -197,7 +197,7 @@ I (10126) NimBLE:
|
|||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
## Intiating connection on 2M / Coded Phy
|
## Initiating connection on 2M / Coded Phy
|
||||||
|
|
||||||
This example also provides a way to initiate connection directly on 2M / Coded PHY. For this, set the peripheral device address in EXAMPLE_PEER_ADDR setting via menuconfig. Also example needs to be modified to use the PHY that user needs to update.
|
This example also provides a way to initiate connection directly on 2M / Coded PHY. For this, set the peripheral device address in EXAMPLE_PEER_ADDR setting via menuconfig. Also example needs to be modified to use the PHY that user needs to update.
|
||||||
|
|
||||||
@@ -209,7 +209,7 @@ To create direct connection on Coded Phy, set the s_current_phy to BLE_HCI_LE_PH
|
|||||||
|
|
||||||
Recompile application and flash the image.
|
Recompile application and flash the image.
|
||||||
|
|
||||||
Note: For this setting to work ,the remote device too should be advertising with either 2M auxillary phy OR Coded phy.
|
Note: For this setting to work ,the remote device too should be advertising with either 2M auxiliary phy OR Coded phy.
|
||||||
|
|
||||||
Also, since this mode initiates direct connection, ensure that peripheral is already advertising, before executing this application.
|
Also, since this mode initiates direct connection, ensure that peripheral is already advertising, before executing this application.
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
| Supported Targets | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||||
| ----------------- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# BLE Peripheral PHY Example
|
# BLE Peripheral PHY Example
|
||||||
|
|
||||||
@@ -151,7 +151,7 @@ I (7872) NimBLE:
|
|||||||
|
|
||||||
## Accepting connection directly on 2M / Coded Phy
|
## Accepting connection directly on 2M / Coded Phy
|
||||||
|
|
||||||
The example can also be configured to advertise directly on 2M auxillary PHY or CODED PHY
|
The example can also be configured to advertise directly on 2M auxiliary PHY or CODED PHY
|
||||||
|
|
||||||
In main.c file, in bleprph_on_sync function, set the s_current_phy to the intended phy.
|
In main.c file, in bleprph_on_sync function, set the s_current_phy to the intended phy.
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# BLE Central Proximity Sensor Example
|
# BLE Central Proximity Sensor Example
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# BLE Peripheral Proximity Sensor Example
|
# BLE Peripheral Proximity Sensor Example
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# BLE SPP central example
|
# BLE SPP central example
|
||||||
|
|
||||||
@@ -58,7 +58,7 @@
|
|||||||
|
|
||||||
### GATT Server Attribute Table
|
### GATT Server Attribute Table
|
||||||
|
|
||||||
charactertistic|UUID|Permissions
|
characteristic|UUID|Permissions
|
||||||
:-:|:-:|:-:
|
:-:|:-:|:-:
|
||||||
SPP_DATA_RECV_CHAR|0xABF1|READ&WRITE_NR
|
SPP_DATA_RECV_CHAR|0xABF1|READ&WRITE_NR
|
||||||
SPP_DATA_NOTIFY_CHAR|0xABF2|READ&NOTIFY
|
SPP_DATA_NOTIFY_CHAR|0xABF2|READ&NOTIFY
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# BLE SPP peripheral example
|
# BLE SPP peripheral example
|
||||||
|
|
||||||
@@ -58,7 +58,7 @@
|
|||||||
|
|
||||||
### GATT Server Attribute Table
|
### GATT Server Attribute Table
|
||||||
|
|
||||||
charactertistic|UUID|Permissions
|
characteristic|UUID|Permissions
|
||||||
:-:|:-:|:-:
|
:-:|:-:|:-:
|
||||||
SPP_DATA_RECV_CHAR|0xABF1|READ&WRITE_NR
|
SPP_DATA_RECV_CHAR|0xABF1|READ&WRITE_NR
|
||||||
SPP_DATA_NOTIFY_CHAR|0xABF2|READ&NOTIFY
|
SPP_DATA_NOTIFY_CHAR|0xABF2|READ&NOTIFY
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# BLE Central Example
|
# BLE Central Example
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# BLE Heart Rate Measurement Example
|
# BLE Heart Rate Measurement Example
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# BLE Peripheral Example
|
# BLE Peripheral Example
|
||||||
|
|
||||||
@@ -87,7 +87,7 @@ Subscribe to attribute (19) successful
|
|||||||
subscribe event; conn_handle=1 attr_handle=25 reason=1 prevn=0 curn=1 previ=0 curi=0
|
subscribe event; conn_handle=1 attr_handle=25 reason=1 prevn=0 curn=1 previ=0 curi=0
|
||||||
Subscribe to attribute (25) successful
|
Subscribe to attribute (25) successful
|
||||||
GATT procedure initiated: notify; att_handle=25
|
GATT procedure initiated: notify; att_handle=25
|
||||||
Notification sent succesfully
|
Notification sent successfully
|
||||||
```
|
```
|
||||||
|
|
||||||
## Note
|
## Note
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# BLE Peripheral Example
|
# BLE Peripheral Example
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32-C2 | ESP32-C6 | ESP32-H2 |
|
| Supported Targets | ESP32-C2 | ESP32-C5 | ESP32-C6 | ESP32-H2 |
|
||||||
| ----------------- | -------- | -------- | -------- |
|
| ----------------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
ESP-IDF UART HCI Controller
|
ESP-IDF UART HCI Controller
|
||||||
===========================
|
===========================
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
Bluetooth Power Save Example
|
Bluetooth Power Save Example
|
||||||
=================================
|
=================================
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# Throughput blecent Example
|
# Throughput blecent Example
|
||||||
|
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
| Supported Targets | ESP32 | ESP32-C2 | ESP32-C3 | ESP32-C5 | ESP32-C6 | ESP32-H2 | ESP32-S3 |
|
||||||
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- |
|
| ----------------- | ----- | -------- | -------- | -------- | -------- | -------- | -------- |
|
||||||
|
|
||||||
# Throughput bleprph Example
|
# Throughput bleprph Example
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user