111 Commits

Author SHA1 Message Date
zhanghaipeng
3cb2d9c3c6 fix(ble/blufi): Fixed blufi example security issue 2024-12-18 11:33:43 +08:00
Zhang Hai Peng
56696866ba Merge branch 'bugfix/fix_blufi_prepare_write' into 'master'
fix(blufi): Fixed crash issue in Blufi example during prepare write operation

Closes BLERP-1348

See merge request espressif/esp-idf!35506
2024-12-11 11:31:32 +08:00
zhanghaipeng
5acb9c9b5f fix(blufi): Fixed crash issue in Blufi example during prepare write operation 2024-12-09 17:04:05 +08:00
linruihao
42c0f17b7d feat(bt/bluedroid): Support PBAP client role
Closes https://github.com/espressif/esp-idf/issues/11522
2024-12-06 15:31:57 +08:00
Alexey Lapshin
888b5f7e8d feat(newlib): add picolibc support 2024-12-02 21:35:56 +07:00
luoxu
e3ebb84ede feat(ble_mesh): Remote Provisioning Server UUID Matchs Supported 2024-11-29 19:32:40 +08:00
luoxu
a86bb375f7 feat(ble_mesh): Support BLE 5.0 for BLE Mesh 2024-11-08 14:17:52 +08:00
zhanghaipeng
94d1a4f1c0 fix(ble/bluedroid): Fixed BLE build fail when enable dynamic memory and BLE5.0 2024-11-04 17:41:34 +08:00
Chen Jian Hua
cd21bdeb15 Merge branch 'bugfix/fix_mem_debug_on_bluedroid' into 'master'
fix(bt/bluedroid): Fixed error when memory debug enabled

Closes BLERP-1158

See merge request espressif/esp-idf!34351
2024-10-29 15:40:33 +08:00
chenjianhua
0abdd20240 fix(bt/bluedroid): Fixed error when memory debug enabled 2024-10-22 11:49:58 +08:00
zhanghaipeng
15c895fc6a feat(ble/bluedroid): Support enable BLE hci log by API 2024-10-16 20:25:40 +08:00
luoxu
aa022b14ce feat(ble_mesh): esp ble mesh v1.1 features enable/disable supported 2024-10-08 15:02:08 +08:00
Rahul Tank
f8dc0ba89d fix(nimble): Fixed deinit sequence in blufi 2024-09-23 19:00:38 +05:30
liqigan
c564817862 feat(bt/bluedroid): Add API to create Device ID Service record 2024-09-05 15:32:56 +08:00
chenjianhua
ec0277d833 fix(bt/bluedroid): Fixed work queue delete when create thread failed 2024-08-23 16:31:12 +08:00
Rahul Tank
a02a2a2d34 fix(nimble) Added change to handle linked om data at blufi layer 2024-08-13 16:39:18 +05:30
chenjianhua
800f360cc3 feat(bt/bluedroid): Add print and assert when failed to alloc memory 2024-08-05 16:18:41 +08:00
zhiweijian
9946315a5f feat(bt/nimble): support hci log for nimble 2024-05-24 14:51:06 +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
0b4695435f feat(bt/common): Add bluerooth hci layer data stream record 2024-04-10 14:17:31 +08:00
wangjialiang
6df1997db5 feat(ble_mesh): Make alarm number configurable 2024-04-01 11:57:07 +08:00
Jiang Jiang Jian
63db118bcc Merge branch 'feat/move_ag_cb_malloc_to_btc' into 'master'
feat(bt/bluedroid): Moved the memory allocation of HF AG control blocks to BTC module

Closes BTQABR2023-208

See merge request espressif/esp-idf!29310
2024-03-14 10:46:01 +08:00
Jin Cheng
f4f26e94bd feat(bt/bluedroid): Moved the memory allocation of HF AG control blocks to BTC module 2024-02-28 20:30:38 +08:00
Joshua
09503600f2 fix(bt/blufi): Fixed BluFi module link error(C++ hybrid compilation) 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
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
Jin Cheng
a3f68aef8a feat(bt/bluedroid): Added API to get local device name 2023-12-15 19:30:12 +08:00
gongyantao
d5e5cd0237 fix(bt/bluedroid): fixed btc_config_lock error 2023-12-15 11:03:29 +08:00
Jin Cheng
fc174f5811 feat(bt/bluedroid): Added mode to use BlueDroid host only without Bluetooth Controller 2023-10-30 00:52:26 +00:00
gongyantao
fdc35e772b fix(bt/bluedroid): update the newest active device in bluetooth
1: update the newest active device when an ACL link is established and
   the remote device info is not in bond list. This updates will not stored
   into NVRAM until a new device is paired.
2023-10-12 07:46:34 +00:00
Alexey Lapshin
6a94453a18 fix(bt): fix gcc 13.1.0 warnings 2023-10-09 12:13:02 +04:00
Liu Linyan
5bab168b0e feat(ble_mesh): Support Bluetooth Mesh Protocol v1.1 (Preview) 2023-09-08 21:37:33 +08:00
zwj
334a8f2459 BLE examples malloc related code optimization 2023-08-23 15:34:28 +08:00
Zim Kalinowski
2b11025981 fix(bt): Removed unnecessary define 2023-07-20 14:35:33 +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
isha.pardikar@espressif.com
14aa55b353 BluFi : Fixed hdr getting free twice
Closes IDFGH-9378
2023-02-20 11:02:30 +05:30
zhiweijian
7c9d47b702 Fixed vulnerability attacks that could cause heap overflow in fragmented Blufi packet processing 2022-12-28 14:59:38 +08:00
xiongweichao
592675fd5b Fixed incorrect parameters in switching to BTC context 2022-11-30 10:41:54 +08:00
xiongweichao
3268075231 bt:Modify the member variable *arg in struct btc_msg to arg[0] 2022-11-30 10:41:54 +08:00
xiongweichao
40f6239fd7 bt: Fixed memory leak due to not freeing memory if posting a message to a thread fails 2022-11-30 10:41:52 +08:00
isha.pardikar@espressif.com
b950ddb0fd NimBLE : Change GATT notify/indicate from gattc to gatts 2022-11-08 14:02:54 +05:30
liuning
785248b3c7 blufi: update version to 1.3
record connecting status, got ip status, maximum retry, connection end info (reason code, rssi) and provide greater information to phone
2022-11-07 13:11:20 +08:00
Rahul Tank
4641f84998 Nimble: Corrected macro used in memcpy to copy address 2022-11-03 15:59:16 +05:30
Rahul Tank
6f806e126b Merge branch 'feat/NimBLE-Blufi-custom-use' into 'master'
Nimble: Add support to expose blufi handler for external BLE application

See merge request espressif/esp-idf!20424
2022-11-01 16:20:28 +08:00
tgotic
cd2492f98b [bt] fix if allocation fails
If osi_malloc fails for work_queues or osi_work_queue_create fails, osi_work_queue_delete in _err may release unallocated memory.
2022-10-21 14:43:12 +08:00
Mathis
ca024c119d Blufi: Add function for blufi management inside custom gap event handler 2022-10-19 09:24:40 +05:30
Mathis
140f40a1d9 Blufi: use blufi_env.conn_id instead of local variable 2022-10-19 09:21:45 +05:30
Roshan Bangar
aa03ffdc1b Nimble/blufi: Added an API to stop Bluetooth / Blufi 2022-10-10 04:43:21 +00:00
tgotic
60bdc4a023 update code to use osi_free() 2022-08-11 18:14:35 +02:00
tgotic
f78298b04a local copy of btc_msg_t
No need to use local copy of btc_msg_t in btc_transfer_context, create it on heap and pass to osi_thread_post().
2022-08-08 16:18:16 +02:00