Commit Graph

186 Commits

Author SHA1 Message Date
Rahul Tank 5b01ed8100 fix(nimble): Add AD type macros in example 2026-01-14 09:59:38 +05:30
zhiweijian ac80bbe285 feat(ble/bluedroid): Support bluedroid encrypted advertising data 2025-12-31 19:55:17 +08:00
zhanghaipeng 051077835c docs(ble): add flow diagrams to bluedroid BLE examples 2025-12-28 17:32:01 +08:00
zhanghaipeng 934970a06f feat(examples/bluedroid): add BLE ACL latency measurement example 2025-12-28 17:31:49 +08:00
zhanghaipeng fdeb5ad87a refactor(examples/bluedroid): Replace hardcoded ADV type values with macros 2025-12-28 16:40:37 +08:00
zhanghaipeng 7cd2f7b34d 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)
2025-12-28 11:19:39 +08:00
zhanghaipeng b6b3b81bf6 fix(ble/bluedroid): Fix memory leak in ble_spp_server example 2025-11-27 18:04:54 +08:00
zhanghaipeng e26b60090d fix(ble/bluedroid): Use calloc in gatt_server example 2025-11-27 18:04:43 +08:00
zhanghaipeng 24e023e307 fix(ble/bluedroid): Use snprintf in ble_eddystone example 2025-11-27 18:04:32 +08:00
zhanghaipeng 7e876249df fix(ble/bluedroid): Add bounds check in ble_ancs example 2025-11-27 18:04:22 +08:00
zhanghaipeng 60a028fb17 feat(ble/blufi): Support setting BLE encryption for blufi 2025-11-21 16:41:33 +08:00
Chen Yudong d591aaf1ae ci: rename wifi_two_dut to two_duts 2025-11-12 10:05:07 +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
Island c6923d2a26 Merge branch 'bugfix/ble_enhanced_security_v2' into 'master'
fix(ble/bluedroid): Fixed potential out-of-bounds memory access when resolve adv data

Closes BLERP-2149

See merge request espressif/esp-idf!41160
2025-08-14 17:28:13 +08:00
chenjianhua b8996f3953 feat(ble/bluedroid): Added BLE multiple connections examples 2025-08-12 12:20:34 +08:00
Cody 6b360dacf6 fix(ble/bluedroid): Update Gatt_Server_Service_Table_Example_Walkthrough.md 2025-08-11 19:48:04 +08:00
BLKDASH 6b212c7d47 fix(ble/bluedroid): Fixed the problem of macro definition error 2025-08-11 19:41:32 +08:00
Zhou Xiao 36cdf54b37 feat(ble): added ble log console for ble log uhci out 2025-08-08 12:01:43 +08:00
zhanghaipeng 50fe55ca59 fix(ble/bluedroid): set sec_conn only on successful pairing in ble_hid_device_demo 2025-07-28 15:49:59 +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
zwl 9bc1712095 feat(ble): add configuration command during RF testing 2025-04-21 20:12:52 +08:00
zhangbowen a2d3ddacf9 feat(bt/bluedroid): Added throughput mode for BLE SPP example 2025-04-21 20:12:52 +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 a9286567f0 fix(ble/bluedroid): Fix potential uint32_t overflow in BLE btu_start_timer 2025-03-27 16:59:12 +08:00
zhangbowen 06366353d8 feat(bt/bluedroid): Added BLE eddystone sender example 2025-03-21 19:53:59 +08:00
Igor Udot 3b41e2ce9a Merge branch 'ci/pytest-mark-formatter' into 'master'
Ci/pytest mark formatter

Closes IDFCI-2662 and IDFCI-2651

See merge request espressif/esp-idf!35476
2025-03-05 15:43:48 +08:00
igor.udot daf2d31008 test: format all test scripts 2025-03-05 12:08:48 +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
Erast  fa40d971a5 docs(ble/bluedroid): Optimize doc for implementation of a characteristic with 128 bit UUID 2025-02-12 14:57:15 +08:00
Yuan Hong Hui cdb757ba28 bugfix(example): remove test config in sdkconfig.defaults 2025-01-20 14:20:29 +08:00
zhanghaipeng aa2f136e16 fix(ble/bluedroid): Optimize CI configuration for Bluedroid example 2025-01-03 14:35:07 +08:00
Yuan Hong Hui 060521bab4 bugfix(example): earse-nvs before flash 2024-12-27 16:29:05 +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
chenjianhua e5789a8ca1 feat(ble/bluedroid): Support setting connection params when creating connection 2024-11-26 12:10:27 +08:00
zhanghaipeng 7e536a7ba1 fix(ble/bluedroid): Optimize BLE API "esp_ble_gattc_enh_open" 2024-11-26 12:10:27 +08:00
Roland Dobai 46e37515b8 Merge branch 'feat/examples_minimal_build' into 'master'
switch examples to build just with required components

Closes IDF-11308, IDF-7940, and IDF-11289

See merge request espressif/esp-idf!33825
2024-11-25 16:27:29 +08:00
zhanghaipeng decb24f940 feat(bt): Add support for converting BT HCI logs to btsnoop format 2024-11-21 17:21:13 +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
zhanghaipeng b65f8a98bd fix(ble/bluedroid): Fixed BLE create connection fail because of invalid own address type 2024-11-18 17:48:42 +08:00
Yuan Hong Hui c0fe2acd1d feat(ble): added pytest for ble example 2024-10-08 19:36:32 +08:00
zhanghaipeng 3a9e05984a docs(ble/bluedroid): Optimize BLE example documentation 2024-09-21 15:22:09 +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