Commit Graph

154 Commits

Author SHA1 Message Date
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
Island
562b5795bd Merge branch 'bugfix/ble_coex_gattc_gatts' into 'master'
fix(bt/bluedroid): Update ble gattc gatts coex example

See merge request espressif/esp-idf!28098
2024-01-03 15:00:26 +08:00
zhanghaipeng
216b9da33d fix(bt/bluedroid): Optimize ble remove all bonded devices function 2023-12-29 19:28:06 +08:00
zhanghaipeng
96626cb110 fix(bt/bluedroid): Update ble ibeacon example document 2023-12-29 14:16:11 +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
zhanghaipeng
a5a7e60ad0 docs(bt/bluedroid): Update ble example document 2023-11-30 10:42:49 +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