Commit Graph

2631 Commits

Author SHA1 Message Date
Rahul Tank
6b213b2c2a Merge branch 'bugfix/fix_compilation_issue_blufi' into 'master'
Blufi: Corrected macro used in memcpy to copy address

See merge request espressif/esp-idf!20929
2022-11-04 17:34:27 +08:00
Jiang Jiang Jian
8facf6fbb1 Merge branch 'feature/support_le_power_control' into 'master'
Nimble: Add LE Power control HCI Command / Event

See merge request espressif/esp-idf!15773
2022-11-04 17:21:19 +08:00
Rahul Tank
4641f84998 Nimble: Corrected macro used in memcpy to copy address 2022-11-03 15:59:16 +05:30
Zhi Wei Jian
d5306303f0 Merge branch 'feature/support_ble_memory_release_on_esp32c3_and_esp32s3' into 'master'
Support Bluetooth to release .bss and .data segment memory on ESP32C3 and ESP32S3

Closes IDFGH-8470

See merge request espressif/esp-idf!20700
2022-11-02 11:00:53 +08:00
Jiang Jiang Jian
b313d7e2cd Merge branch 'bugfix/esp32c2_create_sync_lost' into 'master'
Fixed occasional failure to establish sync and occasional wdt timeout issues on ESP32C2

See merge request espressif/esp-idf!20861
2022-11-01 21:00:47 +08:00
Jiang Jiang Jian
203596f3d5 Merge branch 'bugfix/fix_ble_array_access_out_of_bounds' into 'master'
Fixed BLE array access out of bounds

Closes BT-2889

See merge request espressif/esp-idf!20873
2022-11-01 20:32:00 +08:00
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
zhiweijian
29e4fab59e Fixed BLE array access out of bounds 2022-10-31 20:03:41 +08:00
zwl
de3f7888c6 Fixed occasional failure to establish sync and occasional wdt timeout issues on ESP32C2 2022-10-31 11:44:50 +08:00
Wang Meng Yang
d938cb7e28 Merge branch 'bugfix/spp_50005_crash' into 'master'
bt: Fixed L2CAP ERTM tx window size being too large causing memory exhaustion in case of multiple SPP connections

Closes BT-2411

See merge request espressif/esp-idf!20228
2022-10-28 17:12:44 +08:00
Island
dd127151b8 Merge branch 'bugfix/fix_trans_optional_info_using_group_addr' into 'master'
ble_mesh: stack: Fix can't trans optional info to group address

See merge request espressif/esp-idf!20731
2022-10-28 17:05:18 +08:00
xiongweichao
01a67d001e bt: Keep the maximum number of credits unchanged 2022-10-27 19:45:25 +08:00
xiongweichao
7885f80597 bt: Replaced the tx queue in SPP VFS mode with ringbuffer 2022-10-27 19:45:25 +08:00
xiongweichao
ea41a21b0e bt: Split SPP application layer data packets according to the MTU of the peer 2022-10-27 19:45:25 +08:00
xiongweichao
a0ec1c8291 bt: Enter the congestion state when the queue length waiting for the peer to ack is greater than or equal to the L2CAP ERTM tx window size 2022-10-27 19:45:25 +08:00
Rahul Tank
fe5d4e0f39 Nimble: Add LE Power CTRL changes 2022-10-27 16:30:44 +05:30
zwj
d600496800 support BLE memory release on ESP32C3 and ESP32S3 2022-10-27 14:22:15 +08:00
Rahul Tank
a6251da049 Merge branch 'feature/LE_Conn_Subrating' into 'master'
Nimble: Stack support for Connection subrating

See merge request espressif/esp-idf!20377
2022-10-26 21:18:33 +08:00
Island
afeb7dbbd8 Merge branch 'feature/esp32c2_optimize_npl_os_freertos_ram' into 'master'
Feature/esp32c2 optimize npl os freertos ram

Closes IDF-6100

See merge request espressif/esp-idf!20775
2022-10-26 16:52:35 +08:00
Wang Meng Yang
db9caf4354 Merge branch 'bugfix/spp_vfs_mode_send_data_fail' into 'master'
bt: Fixed SPP VFS mode not being able to send data

See merge request espressif/esp-idf!20758
2022-10-26 15:24:41 +08:00
Wang Meng Yang
2d2d0ba1f3 Merge branch 'bugfix/handle_issue_of_malloc_fail' into 'master'
bugfix/avoid unexpected free when malloc failed

Closes IDFGH-8518

See merge request espressif/esp-idf!20723
2022-10-25 20:16:20 +08:00
Omar Chebib
8e9b1e8a7a Merge branch 'bugfix/bt_bss_wrong_address' into 'master'
Bluetooth: fix BSS placement in the linker script generated by ldgen

Closes BT-2883

See merge request espressif/esp-idf!20749
2022-10-25 16:34:30 +08:00
zwl
efd10a6af4 Modify ESP32C2's default ble tx output power 2022-10-25 16:29:10 +08:00
zwl
76cd979dbb Reduced the RAM size of npl_os_freertos.c file 2022-10-25 16:28:38 +08:00
Lu Ai Jun
23cac269f6 Merge branch 'bugfix/handle_buffers_for_ext_adv_rpt' into 'master'
Nimble: Allocate memory for ext adv reports from lower priority pool.

See merge request espressif/esp-idf!20678
2022-10-25 15:43:16 +08:00
xiongweichao
bda54af557 bt: Fixed SPP VFS mode not being able to send data 2022-10-25 14:17:45 +08:00
Rahul Tank
5a08ba15b5 Nimble: Stack support for Connection subrating feature 2022-10-25 10:21:46 +05:30
Omar Chebib
950981906b Bluetooth: fix BSS placement in the linker script generated by ldgen 2022-10-24 16:37:30 +08:00
Wang Meng Yang
2cbc83a4c7 Merge branch 'bugfix/fix_gattc_disc_char_by_uuid_panic' into 'master'
Bluedroid: correct the length of att read by type pdu

Closes BT-2874

See merge request espressif/esp-idf!20686
2022-10-21 17:24:03 +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
wangjialiang
7e0b57f9ef ble_mesh: stack: Fix can't trans optional info to group address 2022-10-21 12:07:53 +08:00
Wang Meng Yang
af3e6d6398 Merge branch 'bugfix/esp_spp_write_len_0' into 'master'
bt: Fixed esp_spp_write() crash when len is 0

Closes IDFGH-8523

See merge request espressif/esp-idf!20659
2022-10-21 07:47:47 +08:00
xiongweichao
4e895104ef bt: Fixed esp_spp_write() crash when len is 0
Closes https://github.com/espressif/esp-idf/issues/9977
2022-10-20 06:18:14 +00:00
Jin Cheng
36d8e0b9ad Revert "fixed the issue iOS devices cannot initiate connection"
This reverts commit da44fc9cbe.
2022-10-20 06:17:33 +00:00
chenjianhua
bc1762e806 bluedroid: correct the length of att read by type pdu 2022-10-19 21:58:28 +08:00
Rahul Tank
2abc451d90 Nimble: Added check to allocate memory for extended adv
reports from lower prioirty buffers instead of high prioirty pool.
2022-10-19 14:11:46 +05:30
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
Wang Meng Yang
55f92ec268 Merge branch 'bt/opt_audio_datapath' into 'master'
bt/optimized a2dp_sink audio datapath

Closes IDFGH-8124 and AUD-4106

See merge request espressif/esp-idf!20592
2022-10-18 19:27:29 +08:00
Jiang Jiang Jian
b540fb44e1 Merge branch 'bugfix/esprv_intc_int_set_type_error' into 'master'
Nimble: Fixed esprv_intc_int_set_type() usage

See merge request espressif/esp-idf!20615
2022-10-18 15:58:43 +08:00
Jin Cheng
0459cf3963 optimized a2dp_sink audio datapath
1. removed audio cache in BTC layer of Bluedroid
2. added flow control for audio data in application layer

Closes https://github.com/espressif/esp-idf/issues/9622
2022-10-17 20:57:19 +08:00
Jiang Jiang Jian
6e65b61c8a Merge branch 'bugfix/esp32c2_scan_assert' into 'master'
Fixed occasional crash during scanning

Closes BT-2784

See merge request espressif/esp-idf!20578
2022-10-14 18:02:06 +08:00
Island
7ddbaae318 Merge branch 'feature/Add_IVI_recovery_option' into 'master'
ble_mesh: stack: Add IV index recovery option when device missed the whole IV update

See merge request espressif/esp-idf!20500
2022-10-14 17:21:25 +08:00
Island
beb8a7cf34 Merge branch 'bugfix/fix_fast_interval_prov_adv' into 'master'
ble_mesh: stack: Fix send fast interval prov_adv failed

See merge request espressif/esp-idf!20520
2022-10-14 17:20:40 +08:00
Rahul Tank
63e44eef2c Nimble: esprv_intc_int_set_type() will set bit_map in rom, the parameter
intr_num should be the interrupt number directly
2022-10-14 14:06:14 +05:30
Jiang Jiang Jian
0ebae990a0 Merge branch 'bugfix/use_nonblocking_coex_callback' into 'master'
bluetooth: use non-blocking coexistence callback functions so that Wi-Fi task is not blocked by Bluetooth

See merge request espressif/esp-idf!20413
2022-10-13 14:57:08 +08:00
zwl
07d844f565 Fixed occasional crash during scanning 2022-10-13 11:48:50 +08:00
Jiang Jiang Jian
55eaf66a94 Merge branch 'rebase/fix_ble_mem_leak_issue' into 'master'
fix ble mem leak when sleep is enabled

See merge request espressif/esp-idf!20527
2022-10-13 10:48:15 +08:00
Rahul Tank
2ec9f47aa0 Merge branch 'bugfix/close_stack_callback_during_ble_stop' into 'master'
Nimble: Added check to deregister stack callback with controller during stack deinit

See merge request espressif/esp-idf!20421
2022-10-12 21:03:26 +08:00
wangjialiang
50790f88d3 ble_mesh: stack: Add IV index recovery option when device missed the whole IV update 2022-10-12 07:53:15 +00:00