Zhang Hai Peng
7020f17b59
docs(ble/bluedroid): fix markdown formatting in example docs
...
(cherry picked from commit dba450de6b )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2026-07-14 12:02:17 +08:00
Zhi Wei Jian
29a6200e40
fix(examples): improve bluedroid BLE example error handling
...
Check GAP/GATT event status, fix prepare-write buffer lifecycle, and
align example code with updated Bluedroid API behavior.
(cherry picked from commit bfc47ace48 )
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-06-12 10:54:03 +08:00
Zhi Wei Jian
ccd011323c
refactor(examples): disable unused BT options in bluedroid BLE examples
...
Add sdkconfig.defaults to turn off unused Bluedroid host features per
example role (GATT client/server, SMP, legacy adv, etc.).
(cherry picked from commit b4b640f233 )
Co-authored-by: zhiweijian <zhiweijian@espressif.com >
2026-06-12 10:52:49 +08:00
ShenWeilong
c1f60d93ce
fix(bluedroid): Set CONFIG_PARTITION_TABLE_SINGLE_APP_LARGE=y in bluedroid host examples
2026-06-12 10:51:17 +08:00
Zhang Hai Peng
f279115113
docs(ble): add flow diagrams to bluedroid BLE examples
...
(cherry picked from commit 051077835c )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2026-01-05 00:03:36 +08:00
Zhang Hai Peng
7d6dc68080
feat(examples/bluedroid): Add BLE time interval conversion macros for better readability
...
Add macros to convert time values from milliseconds to BLE interval units:
- ESP_BLE_GAP_ADV_ITVL_MS: Convert advertising interval (0.625ms unit)
- ESP_BLE_GAP_SCAN_ITVL_MS: Convert scan interval (0.625ms unit)
- ESP_BLE_GAP_SCAN_WIN_MS: Convert scan window (0.625ms unit)
- ESP_BLE_GAP_CONN_ITVL_MS: Convert connection interval (1.25ms unit)
- ESP_BLE_GAP_PERIODIC_ADV_ITVL_MS: Convert periodic adv interval (1.25ms unit)
- ESP_BLE_GAP_SUPERVISION_TIMEOUT_MS: Convert supervision timeout (10ms unit)
(cherry picked from commit 7cd2f7b34d )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2026-01-05 00:03:36 +08:00
Zhang Hai Peng
e2242b02ef
fix(ble/bluedroid): Use calloc in gatt_server example
...
(cherry picked from commit e26b60090d )
Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com >
2025-12-03 11:54:26 +08:00
Wang Meng Yang
7cac735da0
Merge branch 'feat/remove_the_deprecated_api_and_parameter' into 'master'
...
feat(bt): remove the deprecated functions and parameters
Closes BT-4042
See merge request espressif/esp-idf!40435
2025-08-20 19:36:37 +08:00
Marek Fiala
9d35d63651
feat(cmake): Update minimum cmake version to 3.22 (whole repository)
2025-08-19 14:44:32 +02:00
gongyantao
179a730a03
feat(bt): remove the deprecated functions and parametes
2025-08-19 16:07:05 +08:00
BLKDASH
6b212c7d47
fix(ble/bluedroid): Fixed the problem of macro definition error
2025-08-11 19:41:32 +08:00
Zhou Xiao
7847a82b28
change(ble): resupport ble for ESP32C61ECO3
2025-06-10 14:34:49 +08:00
wanckl
6fde8cf8d2
ci(esp32c61): disable soc_caps, docs, test for eco3 update
2025-05-26 16:04:23 +08:00
Zhou Xiao
2e8d8beb9d
change(ble): supported ble for esp32c5-eco2
2025-04-29 14:24:47 +08:00
laokaiyao
9a88effab8
ci: disabled RF soc caps for c5 eco2
...
Disable the RF soc caps to bypass the build of un-supported RF examples
2025-04-16 11:01:39 +08:00
zhanghaipeng
32e4fb79e8
feat(ble/bluedroid): Add Read Long Characteristic Values example
2025-02-26 10:37:53 +08:00
zhiweijian
d2d4d1518d
feat(ble/bluedroid): disable bluedroid host unused functions
2025-02-17 14:51:58 +08:00
Yuan Hong Hui
cdb757ba28
bugfix(example): remove test config in sdkconfig.defaults
2025-01-20 14:20:29 +08:00
Yuan Hong Hui
a4ff6ba643
feat(example): add pytest for ble example config test
2024-12-25 18:42:47 +08:00
zhanghaipeng
d84ccadf90
docs(ble/bluedroid): Optimize doc for registering BLE callback functions
2024-12-18 11:42:17 +08:00
Frantisek Hrbata
1c92945f59
change(examples): switch examples to use a minimal build
...
Currently, several example dependencies rely on the fact that all
registered components are added to the build, along with components
specified in common requirements. This results in longer build times
because even unused components must be built. Switch all examples to use
idf_minimal_build to compile only the components actually required by
the example.
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com >
2024-11-20 20:14:40 +01:00
Frantisek Hrbata
ad15109daa
change(examples): explicitly specify component dependencies for examples
...
Currently, several examples do not explicitly state their component
dependencies, relying instead on the default behavior that includes all
registered components and commonly required ones in the build.
Explicitly adding component dependencies can reduce build time when
set(COMPONENTS main) is used.
Signed-off-by: Frantisek Hrbata <frantisek.hrbata@espressif.com >
2024-11-20 14:11:24 +01:00
Yuan Hong Hui
c0fe2acd1d
feat(ble): added pytest for ble example
2024-10-08 19:36:32 +08:00
Island
030470efa6
Merge branch 'ble_dev/esp32c61_chip_20240903' into 'master'
...
feat(ble): added ble support on esp32c61
Closes IDF-10360, IDF-10362, IDF-10363, and IDF-10365
See merge request espressif/esp-idf!33286
2024-09-18 11:17:58 +08:00
Shen Weilong
bf52e37fa8
feat(ble): added ble support on esp32c61
2024-09-14 12:22:04 +08:00
chenjianhua
53a8345e60
refactor(bt/bluedroid): Refactor the print for BLE examples
2024-09-12 19:30:45 +08:00
chenjianhua
a56d18383b
refactor(bt/bluedroid): Refactor the print for gatt_server and gatt_client example
2024-08-28 14:51:12 +08:00
Island
cd1178298f
Merge branch 'docs/optimized_ble_adv_data_type' into 'master'
...
docs(ble/bluedroid): Optimize BLE example for setting advertising data
Closes BLERP-919
See merge request espressif/esp-idf!32735
2024-08-14 11:14:28 +08:00
zhanghaipeng
f9e45f9807
docs(ble/bluedroid): Optimize BLE example for setting advertising data
2024-08-12 10:40:00 +08:00
Island
368cfdac26
Merge branch 'docs/optimized_ble_connect_param_update' into 'master'
...
docs(ble/bluedroid): Optimize documentation for BLE connection parameter updates
Closes BLERP-892
See merge request espressif/esp-idf!32351
2024-08-12 10:25:37 +08:00
zhanghaipeng
3e98408b92
docs(ble/bluedroid): Optimize documentation for BLE connection parameter updates
2024-08-06 11:17:46 +08:00
Shen Weilong
777b48a494
feat(ble): support ble on esp32c5
2024-07-23 20:12:43 +08:00
Konstantin Kondrashov
668886842f
feat(all): Remove usage old log macros
2024-05-15 15:25:30 +08:00
zhanghaipeng
f2cfe4a0f0
fix(ble/bluedroid): Fixed BLE no data length change event
2024-05-06 15:34:21 +08:00
zhiweijian
b9a1756202
fix(ble/bluedroid): Remove BLE functions discard declaration
...
fix(nt/bluedroid): Split the device name set functions
feat(bt/bluedroid): added APIs to get/set device name on BT GAP side
change(bt/common): Marked some APIs in device module as deprecated
1. esp_bt_dev_set_device_name
2. esp_bt_dev_get_device_name
change(bt/bluedroid): use BT GAP APIs to set/get device name in bluetooth classic examples
change(bt/bluedroid): use BT/BLE GAP APIs to set/get device name in coexist examples
2024-04-18 15:53:54 +08:00
zhiweijian
5725595d84
fix(ble/bluedroid): Remove esp_bluedroid_init() discard declaration
2024-04-18 15:53:30 +08:00
zhanghaipeng
f812863827
fix(ble/bluedroid): Optimize the BLE documentation
2024-03-15 20:02:13 +08:00
Wang Meng Yang
4c8f6c5458
Merge branch 'feat/add_get_device_name_api' into 'master'
...
feat(bt/bluedroid): Added API to get local device name
Closes BT-3526
See merge request espressif/esp-idf!27667
2023-12-27 10:37:33 +08:00
zhanghaipeng
ed036e0ebe
fix(bt/bluedroid): Fix prepare write for BLE example
2023-12-21 10:59:26 +08:00
Jin Cheng
a3f68aef8a
feat(bt/bluedroid): Added API to get local device name
2023-12-15 19:30:12 +08:00
luomanruo
30f4a43556
ci(ble/bluedroid): Add notes in sdkconfig.defaults
2023-11-21 15:00:55 +08:00
Wang Meng Yang
78af508654
Merge branch 'feature/add_new_bluedroid_init' into 'master'
...
Feat(bt/bluedroid): Add new ESP Bluedroid stack init API
Closes BTQABR2023-32
See merge request espressif/esp-idf!25248
2023-09-04 11:24:44 +08:00
Zhang Hai Peng
3dca0d7d2e
Merge branch 'docs/update_ble_comment' into 'master'
...
docs(bt): Update comment in ble
See merge request espressif/esp-idf!25477
2023-09-01 16:08:49 +08:00
liqigan
0df585dc35
feat(bt/bluedroid): Add new version of API for Bluedroid host stack initialization
2023-08-31 12:28:38 +00:00
zhanghaipeng
79c2764d1e
docs(bt): Update comment in ble
2023-08-31 16:43:32 +08:00
zwj
334a8f2459
BLE examples malloc related code optimization
2023-08-23 15:34:28 +08:00
KonstantinKondrashov
e72061695e
all: Removes unnecessary newline character in logs
...
Closes https://github.com/espressif/esp-idf/issues/11465
2023-06-09 03:31:21 +08:00
laokaiyao
bf2a7b2df6
esp32h4: removed esp32h4 related codes
2023-04-23 12:03:07 +00:00
laokaiyao
b16ed57b2e
esp32h4: removed esp32h4 related files
2023-04-23 12:03:07 +00:00
Shen Weilong
90d6b9cbd7
ble: Update README files for bluedroid host examples on ESP32-H2
...
Disable clocks and phy modem directly in esp_bt_controller_deinit()
2023-03-20 19:09:29 +08:00