Commit Graph

552 Commits

Author SHA1 Message Date
Rahul Tank
1d322f9a8c Nimble: Allows to use ble_uuid.h with C++ by changing the BLE_UUIDy_INIT macros 2022-11-07 12:25:34 +05:30
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
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
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
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
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
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
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
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
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
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
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
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
Wang Meng Yang
a5e19246df Merge branch 'bugfix/fix_gattc_disc_crash' into 'master'
Bluedroid: configurable max gattc cache characteristic count

See merge request espressif/esp-idf!19842
2022-10-09 11:31:59 +08:00
chenjianhua
137a7cb592 bluedroid: configurable max gattc cache characteristic count 2022-10-08 17:47:17 +08:00
zwj
01faa7b664 allow bluedroid host to report adv_ind separately 2022-10-08 14:49:36 +08:00
Rahul Tank
81c23740e1 Nimble: Added check to deregister stack callback with controller during
stack deinit
2022-10-06 09:31:09 +05:30
Jin Cheng
da44fc9cbe fixed the issue iOS devices cannot initiate connection
to ESP32 while there is a BLE connection to this ESP32

Closes https://github.com/espressif/esp-idf/issues/6557
2022-09-23 17:58:39 +08:00
Chen Jian Hua
76834a767f Merge branch 'bugfix/fix_ble_adv_tx_power_map' into 'master'
Fix ble adv tx power map

Closes IDFGH-8299

See merge request espressif/esp-idf!20225
2022-09-23 16:03:12 +08:00
Rahul Tank
f39869fdf5 Merge branch 'bugfix/reorder_stack_deinit_function' into 'master'
Nimble: Removed extra deinit for flow timer

See merge request espressif/esp-idf!20124
2022-09-23 13:43:29 +08:00
cjin
42a07cf16b fix err using rpa for confirmation calculation 2022-09-21 12:34:41 +00:00
cjin
872baad9b9 mbuf copy hci data error fix 2022-09-21 12:34:41 +00:00
cjin
b345e89b4a fix on data len change cmd malfunction 2022-09-21 12:34:41 +00:00
Rahul Tank
c40fcb1089 Nimble: Re-ordered the function sequence in stack deinit to be reverse of stack init process 2022-09-21 09:40:56 +05:30
Chen Jian Hua
6014e92a8d Merge branch 'bugfix/fix_ble_gen_rpa_by_host' into 'master'
Bluedroid: fix ble rpa generate and update by host

See merge request espressif/esp-idf!19617
2022-09-20 14:49:26 +08:00
Jiang Jiang Jian
09f7589ef2 Merge branch 'bugfix/fix_extend_adv_tx_pwr_signed_type_err' into 'master'
Fixed extend adv tx power range error

See merge request espressif/esp-idf!20191
2022-09-20 10:45:25 +08:00
Jiang Jiang Jian
5aeba87e51 Merge branch 'bugfix/change_mblock_size_on_esp32c2' into 'master'
change block1 size and num for esp ble controller

Closes BLE-157

See merge request espressif/esp-idf!20183
2022-09-19 17:21:53 +08:00
chenjianhua
940ee1f7f4 fix ble adv tx power map 2022-09-19 12:02:40 +08:00
chenjianhua
8598610ccd bluedroid: fix ble rpa generate and update by host 2022-09-16 16:54:58 +08:00
zwj
e9f4a4e92d Fixed extend adv tx power range error 2022-09-16 15:45:40 +08:00
Jiang Jiang Jian
f03ec22327 Merge branch 'bugfix/fix_vhci_hack_for_external_bt' into 'master'
Nimble: Added check to not include VHCI buffer handling code if controller support is disabled

See merge request espressif/esp-idf!19876
2022-09-16 14:16:52 +08:00
zwl
9f940f14f6 change block1 size and num for esp ble controller 2022-09-14 20:02:09 +08:00
Island
71bc1a28cc Merge branch 'fix/DOC_3566' into 'master'
Updating doc for the issue doc_3566

Closes DOC-3566

See merge request espressif/esp-idf!19971
2022-09-08 19:27:18 +08:00
Rahul Tank
95c057861d Nimble: Added check to not include VHCI buffer handling code if
controller support is disabled
2022-09-08 05:52:34 +00:00
Jiang Jiang Jian
735063c508 Merge branch 'bugfix/fix_ble_get_cur_pkt_num_crash_sometimes_when_bluetooth_is_disconnecting' into 'master'
Fixed calling esp_ble_get_cur_sendable_packets_num() sometimes crashes when bluetooth is disconnecting

Closes BT-2699

See merge request espressif/esp-idf!19993
2022-09-08 10:41:47 +08:00
satish.solanke
50ec07c45d updating doc for the issue doc_3566 2022-09-07 15:05:49 +05:30
Wang Meng Yang
a026d9816a Merge branch 'feature/sink_support_mono' into 'master'
bt: Fixed sink not being able to output mono audio because it can only decode dual channel audio data

Closes BT-2698

See merge request espressif/esp-idf!19759
2022-09-07 11:59:57 +08:00
zwj
2942a98f5d fix calling esp_ble_get_cur_sendable_packets_num() sometimes crashes when bluetooth is disconnecting 2022-09-06 21:12:30 +08:00
Rahul Tank
730b932de0 Nimble: Add extra allocation for data pointer returned by controller for ESP IP 2022-09-06 15:15:21 +05:30
Wang Meng Yang
4eb98adf43 Merge branch 'bugfix/deadlock_after_call_esp_bluedroid_disable' into 'master'
bt:Fixed deadlock due to wrong parameter when calling btc_transfer_context() after calling esp_bluedroid_disable()

Closes IDFGH-8175 and BT-2744

See merge request espressif/esp-idf!19859
2022-09-05 13:38:18 +08:00