Commit Graph

168 Commits

Author SHA1 Message Date
Island 56bef4d352 Merge branch 'bugfix/ble_enhanced_security_v2_v5.5' into 'release/v5.5'
fix(ble/bluedroid): Fixed potential out-of-bounds memory access when resolve adv data (v5.5)

See merge request espressif/esp-idf!41307
2025-09-22 10:27:27 +08:00
Zhang Hai Peng 14dcf57fb1 fix(ble/bluedroid): Update Gatt_Server_Service_Table_Example_Walkthrough.md
(cherry picked from commit 6b360dacf68e1dd95bb2670fb41e48c4545c4040)

Co-authored-by: Cody <codyhubman4@gmail.com>
2025-08-15 14:54:12 +08:00
Zhang Hai Peng 9c2b36b0c1 fix(ble/bluedroid): Fixed the problem of macro definition error
(cherry picked from commit 6b212c7d47dcb896b6780ca64a5fd02a2ce224b4)

Co-authored-by: BLKDASH <128231495+BLKDASH@users.noreply.github.com>
2025-08-15 14:54:10 +08:00
Chen Jian Hua c726799df4 feat(ble/bluedroid): Added BLE multiple connections examples
(cherry picked from commit b8996f3953560a7e6c2206a25a2f1bccbd45ef24)

Co-authored-by: chenjianhua <chenjianhua@espressif.com>
2025-08-12 21:34:16 +08:00
Zhang Hai Peng 315cc8f503 fix(ble/bluedroid): set sec_conn only on successful pairing in ble_hid_device_demo
(cherry picked from commit 50fe55ca598088c604990fbbd96215562a79c34f)

Co-authored-by: zhanghaipeng <zhanghaipeng@espressif.com>
2025-07-29 21:53:41 +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
chenjianhua 53a8345e60 refactor(bt/bluedroid): Refactor the print for BLE examples 2024-09-12 19:30:45 +08:00
Island bb5f95fcc3 Merge branch 'refactor/ble_example_print_on_bluedroid' into 'master'
refactor(bt/bluedroid): Refactor the print for CI example test

Closes BLERP-904 and BLERP-910

See merge request espressif/esp-idf!32513
2024-08-29 14:43:30 +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
zhanghaipeng 86713a6946 docs(ble/bluedroid): Optimize BLE example documentation for getting characteristic 2024-08-26 19:24:56 +08:00
zhanghaipeng c1fb888cc1 fix(ble/bluedroid): Fixed memory out-of-bounds issue when parsing adv data 2024-08-21 19:27:36 +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 b0a84f76a2 fix(ble/bluedroid): Optimized BLE SPP example for improved compatibility 2024-04-01 16:31:26 +08:00
zhanghaipeng f812863827 fix(ble/bluedroid): Optimize the BLE documentation 2024-03-15 20:02:13 +08:00
Raghu Saxena 82a711d4e2 fix(bt/example): Use correct struct type 2024-02-27 22:32:14 +08:00
fl0wl0w 90d1dcfd76 feat(freertos): Introduced new Kconfig option CONFIG_FREERTOS_NUMBER_OF_CORES
This commit replaces the use of portNUM_PROCESSORS and configNUM_CORES
macros in all of ESP-IDF. These macros are needed to realize an SMP
scenario by fetching the number of active cores FreeRTOS is running on.
Instead, a new Kconfig option, CONFIG_FREERTOS_NUMBER_OF_CORES, has been
added as a proxy for the FreeRTOS config option, configNUMBER_OF_CORES.
This new commit is now used to realize an SMP scenario in various places
in ESP-IDF.

[Sudeep Mohanty: Added new Kconfig option CONFIG_FREERTOS_NUMBER_OF_CORES]

Signed-off-by: Sudeep Mohanty <sudeep.mohanty@espressif.com>
2024-02-09 09:11:28 +01:00