zwj
f635a2f2a1
fix calling esp_ble_get_cur_sendable_packets_num() sometimes crashes when bluetooth is disconnecting
2022-09-27 21:38:11 +08:00
zwj
157acb3086
Fixed extend adv tx power range error
2022-09-27 21:37:04 +08:00
cjin
ebb23ff4fe
fix err using rpa for confirmation calculation
2022-09-27 21:35:49 +08:00
cjin
78a08e9ca7
fix on data len change cmd malfunction
2022-09-27 21:35:33 +08:00
zwj
05c8753eaa
Fixed extend adv set remove failed
2022-09-27 20:55:19 +08:00
Rahul Tank
1f695251a1
Nimble: Fixed memory corruption introduced in reconnection attempt code
2022-08-24 13:44:29 +05:30
Jiang Jiang Jian
19de572d45
Merge branch 'bugfix/bt_invalid_workqueue_num_v4.3' into 'release/v4.3'
...
Bluetooth: fixed the invalid workqueue number for BTU thread in Bluedroid(backport v4.3)
See merge request espressif/esp-idf!19509
2022-08-12 19:50:07 +08:00
Jiang Jiang Jian
a456819d78
Merge branch 'bugfix/fix_bt_sphinx_warnings_4.3' into 'release/v4.3'
...
components_bt: fix unstandard typedefs [backport v4.3]
See merge request espressif/esp-idf!19339
2022-08-12 14:00:35 +08:00
weitianhua
d264f30e76
component_bt: Fix build doc errors of bt
...
1. bluedroid: use standard function pointer define.
2. blufi: Change ESP_BD_ADDR_LEN into ESP_BLUFI_BD_ADDR_LEN
3. doc/sphinx_known_warnings: Remove fixed parts.
2022-08-12 12:11:54 +08:00
wangmengyang
73cc09b118
components/bt: fixed the invalid workqueue number for BTU thread in Bluedroid
...
There should be only one workqueue for BTU task. The queue length for the second workqueue of BTU can be uninitialized and caused memory overflow and corruption.
Closes https://github.com/espressif/esp-idf/issues/9507
2022-08-11 16:18:12 +08:00
Jiang Jiang Jian
a253cf8118
Merge branch 'opt/bluedroid_adv_report_datapath_v4.3' into 'release/v4.3'
...
Bluetooth/Bluedroid: optimize BLE adv report datapath and adv report flow control mechanism(backport v4.3)
See merge request espressif/esp-idf!19383
2022-08-11 10:57:03 +08:00
linruihao
6ad7114a45
Fixed union member access typo
...
Closes https://github.com/espressif/esp-idf/pull/9498
2022-08-09 13:23:18 +08:00
tgotic
763f9c91a4
bt member typo
...
Terminate sec_event.cfm_req.bd_name string, not sec_event.pin_req.bd_name
2022-08-09 13:23:05 +08:00
Karl Wang
7b3d4d5074
component/bt: use OSI utility "osi_event" for HCI downstream data processing
2022-08-04 14:27:34 +08:00
wangmengyang
6ffe0a5262
component/bt: consider to handle HCI LE Direct Advertising Report
2022-08-04 14:27:33 +08:00
Karl Wang
ca945e8211
component/bt: allocate and use one static buffer for HCI adv flow control command
2022-08-04 14:27:33 +08:00
wangmengyang
20705588b2
component/bt: use fixed_pkt_queue instead of fixed_queue for hci commands
...
some fixes after modifications:
1. removed the use of waiting_command_t
2. fix assert for HCI write_eir command
3. fixed the crash upon handling command status event when trying to free to the HCI command buffer
4. fixed the issue in transmitting HCI vendor specific commands
5. fixed the lost command complete callbacks for HCI commands LE_RAND and LE_ENCRYPT
2022-08-04 14:27:32 +08:00
wangmengyang
dd02446224
component/bt: add a timer to monitor the adv flow control credits downwards procedure
2022-08-04 14:27:32 +08:00
wangmengyang
2da8b2c78b
component/bt: fix adv report flow control logic, give ADV report credits every 10 packets
2022-08-04 14:27:32 +08:00
wangmengyang
64572b7ff2
component/bt: add simple ADV flow control mechanism -- drop the packets when the adv report queues are considered full
2022-08-04 14:27:31 +08:00
wangmengyang
e406be3cf4
component/bt: use the OSI utility "osi_event" to handle adv report in btc_layer
2022-08-04 14:27:31 +08:00
wangmengyang
f16e5df27f
component/bt: use the OSI utility "pkt_queue" to store ADV report packet in btu layer
...
# Conflicts:
# components/bt/host/bluedroid/hci/hci_hal_h4.c
2022-08-04 14:27:30 +08:00
wangmengyang
09a79cf90a
component/bt: use the OSI utility "osi_event" for hci_hal_h4 upstream data packets handling
2022-08-04 14:27:30 +08:00
wangmengyang
622148d491
component/bt: use the OSI utility "osi_event" to handle A2DP source data Tx processing
2022-08-04 14:27:29 +08:00
wangmengyang
ed509a8d52
component/bt: use the OSI utility "osi_event" to handle A2DP sink data Rx processing
2022-08-04 14:27:26 +08:00
wangmengyang
26d2011442
component/bt: make OSI thread workqueue length configurable through API
...
reduce the length of workqueue1 for BTC and HCI task
# Conflicts:
# components/bt/common/osi/thread.c
2022-08-04 14:25:02 +08:00
zhiweijian@espressif.com
197371d085
Fixed bluedroid host memory overflow
2022-07-20 09:12:46 +00:00
Jiang Jiang Jian
0df62cf49a
Merge branch 'bugfix/ble_50_sync_periodic_adv_lost_data_v4.3' into 'release/v4.3'
...
components/bt: Fix ble sync periodic adv report will lost data(backport release/v4.3)
See merge request espressif/esp-idf!18959
2022-07-13 11:01:05 +08:00
Rahul Tank
e28ec880a3
Bluedroid: Fixed compilation error due to incorrect macro name
2022-07-12 09:44:23 +05:30
Jiang Jiang Jian
e66df0492e
Merge branch 'bugfix/fix_ble_ext_adv_parameter_detection_v4.3' into 'release/v4.3'
...
component/bt: check the ble ext adv parameters (backport release/v4.3)
See merge request espressif/esp-idf!18490
2022-07-12 10:35:09 +08:00
xiewenxiang
730094a3ef
components/bt: Fix ble sync periodic adv report lost data issue
2022-07-11 16:49:26 +08:00
Wang Meng Yang
500df7bc1f
Merge branch 'bugfix/fix_osi_men_dbg_xxx_not_defined_when_enable_mem_dbg_v4.3' into 'release/v4.3'
...
bugfix/fix the issue of functions not defined when enable memory debug (v4.3)
See merge request espressif/esp-idf!18816
2022-07-11 15:37:43 +08:00
xiewenxiang
98245dabe0
component/bt: check the ble ext adv parameters
2022-07-11 02:44:30 +00:00
Jiang Jiang Jian
a015532f66
Merge branch 'bugfix/mbedtls_free_keypair_v4.3' into 'release/v4.3'
...
Nimble: Fixed memory leak while generating keypair using embedtls v4.3
See merge request espressif/esp-idf!18719
2022-07-10 15:51:44 +08:00
Jiang Jiang Jian
aa81cebd82
Merge branch 'bugfix/resolve_redefinition_in_spp_and_hid_v4.3' into 'release/v4.3'
...
bugfix/resolve redefinition in btc_spp.h and btc_hd.h/btc_hh.h (v4.3)
See merge request espressif/esp-idf!18825
2022-07-10 15:47:16 +08:00
jincheng
4e7b2fedcd
resolve redefinition in btc_spp.h and btc_hd.h/btc_hh.h
...
Closes https://github.com/espressif/esp-idf/issues/9199
2022-07-08 14:25:55 +08:00
jincheng
5050625f9e
fix the issue of functions not defined when enable memory debug
2022-07-08 11:02:04 +08:00
Rahul Tank
aedf00cd78
Nimble: Added check to free keypair if already allocated to avoid memory leak.
...
Added an API that allows to free keypair
2022-07-05 10:53:21 +05:30
baohongde
565142e60c
component/bt: use osi_malloc instead of malloc in bluedroid
2022-07-04 16:17:51 +08:00
Jiang Jiang Jian
228cbc4dae
Merge branch 'bugfix/sync_host_nocp_cmd_v4.3' into 'release/v4.3'
...
Nimble: Add support for sync for Host NOCP command .
See merge request espressif/esp-idf!18609
2022-06-30 15:55:08 +08:00
Jiang Jiang Jian
578146ad5d
Merge branch 'bugfix/avdtp_genreal_reject_format_error_v4.3' into 'release/v4.3'
...
component_bt: Fix AVDTP general reject format error(v4.3)
See merge request espressif/esp-idf!18557
2022-06-21 20:54:45 +08:00
Rahul Tank
57fd6c0e69
Nimble: Add support for sync for Host NOCP command .
2022-06-21 16:41:52 +05:30
xiongweichao
e1120e2554
update hfp_ag version to 1.7.2
2022-06-21 14:46:49 +08:00
xiongweichao
21fbc7355a
Fix AVDTP general reject format error.
2022-06-17 10:21:10 +08:00
keymoon
8aa0f77863
assign value to uninitialized bt_addr
field
2022-05-29 18:06:45 -07:00
keymoon
71791a4706
add address field to read_rmt_name_param
2022-05-29 18:06:35 -07:00
Jiang Jiang Jian
91f679bdb3
Merge branch 'bugfix/fix_disable_bt_log_ci_fail_v4.3' into 'release/v4.3'
...
component_bt: Fix CI failure when disable bluetooth debug log(v4.3)
See merge request espressif/esp-idf!17906
2022-05-13 15:22:16 +08:00
xiongweichao
e0cf810bab
Fix spp initialization failure without free mutex
2022-04-27 14:25:45 +08:00
xiongweichao
a9b515d0d1
Fix spp crash after calling esp_spp_deinit
2022-04-27 14:25:38 +08:00
xiongweichao
30b2cad3b7
Fix CI failure when disable bluetooth debug log
2022-04-26 15:14:26 +08:00