Jiang Jiang Jian
9e863ecdb8
Merge branch 'bugfix/fix_some_ble_bugs_on_esp32c3_v4.3' into 'release/v4.3'
...
Fixed some BLE controller bugs on ESP32-C3 (backport v4.3)
See merge request espressif/esp-idf!19990
2022-09-29 13:59:20 +08:00
Jiang Jiang Jian
07bffab8d4
Merge branch 'feature/sink_support_mono_v4.3' into 'release/v4.3'
...
bt: Fixed sink not being able to output mono audio because it can only decode dual channel audio data(v4.3)
See merge request espressif/esp-idf!20079
2022-09-29 11:40:01 +08:00
Jiang Jiang Jian
a5e5ab7b1b
Merge branch 'bugfix/acl_buf_ocf_and_conn_fail_v4.3' into 'release/v4.3'
...
bugfix/fixed the exhaustion of ACL buffer and duplicated connection requests (v4.3)
See merge request espressif/esp-idf!20385
2022-09-29 11:37:57 +08:00
Jin Cheng
f2000d8925
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-28 16:12:11 +08:00
Jin Cheng
9a953f7740
fixed the exhaustion of ACL buffer
...
fixed the duplication of connection request from the same device
2022-09-28 10:16:24 +08:00
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
d826f8ae34
Update ESP32-C3 BLE lib
...
- Fixed the usage of PLL track related baseband IRQs
- Fixed connect failed due to error sync found signal
- Fixed BLE disconnect failed due to terminate_ind have sent but no ACK is received
- Added ADV mode error check in ADV rx isr handler function
- Fixed BLE RAL_UNDERRUN and TX_CRYPT_ERR assert
- Disable scan continue
- Fixed scan forever if scan continue is disable
- Fixed BLE disconnection issue when channel map update failed due to bad channels
2022-09-27 20:55:19 +08:00
zwj
05c8753eaa
Fixed extend adv set remove failed
2022-09-27 20:55:19 +08:00
wangjialiang
e54506ceaa
ble_mesh: stack: Fix friend relay lpn message when relay disable.
2022-09-21 03:36:36 +00:00
Island
894b1ad79d
Merge branch 'bugfix/lpn_not_recv_message_to_all_node_4.3' into 'release/v4.3'
...
ble_mesh: stack: Add option for lpn auto sub all-nodes(v4.3)
See merge request espressif/esp-idf!20263
2022-09-21 11:31:39 +08:00
wangjialiang
7e2ebcde7a
ble_mesh: stack: Add option for lpn auto sub all-nodes.
2022-09-20 20:31:37 +08:00
wangjialiang
eb4ec4beda
ble_mesh: stack: added the judgment that the parameter is NULL but the parameter len is not zero to avoid btc_transfer_context failed
2022-09-15 09:17:08 +00:00
Jiang Jiang Jian
08726a8495
Merge branch 'bugfix/remove_bt_dft_init_semicolon_v4.3' into 'release/v4.3'
...
bt: Remove trailing semicolon from bt dft initializer(v4.3)
See merge request espressif/esp-idf!19916
2022-09-14 17:01:08 +08:00
Jiang Jiang Jian
f1bd2be298
Merge branch 'bugfix/fix_memory_corruption_in_recon_code_v4.3' into 'release/v4.3'
...
Nimble: Fixed memory corruption introduced in reconnection attempt code (v4.3)
See merge request espressif/esp-idf!19746
2022-09-14 16:59:38 +08:00
xiongweichao
59ea02cb4c
bt:Fixed sink not being able to output mono audio because it can only decode dual channel audio data
2022-09-09 17:42:30 +08:00
Pedro
86182baaaf
Remove trailing semicolon from bt dft initializer
...
Similar to espressif#6554
2022-09-02 11:10:41 +08:00
xiongweichao
395f0eb5c1
Fix bluetooth disconnection issue when light sleep and baseband power down are enabled
2022-08-26 16:17:14 +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
xiongweichao
460cfbd583
1. Wi-Fi: update tsf tick interval when lpclk is modified
...
2. Move register_lpclk_callback to coexistence
2022-08-11 20:21:59 +08:00
xiongweichao
23e8e497da
make bluetooth and wifi use the same low power clock
2022-08-11 20:17:39 +08:00
xiongweichao
12ca203856
ESP32C3:bluetooth support use main XTAL in light sleep mode
2022-08-11 20:17:39 +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
wangjialiang
041784e653
ble_mesh: stack: Fix kr from non-primary subnet shouldn't ignore
...
For case MESH/NODE/KR/BV-02-C
2022-08-11 14:15:56 +08:00
wangjialiang
bfb5e06df4
ble_mesh: stack: Add a check if the appkey is bound to the model.
...
For case MESH/NODE/CFG/MP/BI-03-C
2022-08-11 14:15:51 +08:00
wangjialiang
2490d28cc6
ble_mesh: stack: the count_log field should be set to 0 when HBS is sent.
...
For MESH/NODE/CFG/HBS/BV-02-C
2022-08-11 14:15:46 +08:00
wangjialiang
17372e5b3d
ble_mesh: stack: The Heartbeat Publication Period Log value can set to 0x11, range: [0, 0x11]
2022-08-11 14:15:40 +08:00
wangjialiang
7ce06c8c3b
ble_mesh: stack: The value of expect_ack_for will be rewrited after send_pub_key().
...
For case MESH/PVNR/PROV/BV-04-C
2022-08-11 14:15:33 +08:00
wangjialiang
ff8588ec46
ble_mesh: stack: Fix ignore connectable PB-ADV PDU containing a Link Open message.
...
For case MESH/NODE/PBADV/BI-04-C
2022-08-11 14:15:18 +08:00
wangjialiang
a6e921684c
ble_mesh: stack: Fix PB-GATT not check invalid link flag
...
For case MESH/NODE/PROV/BI-03-C
2022-08-11 14:15:12 +08:00
wangjialiang
529f49db5b
ble_mesh: stack: Fix invalid provisioning pdu type check
...
For case MESH/NODE/PROV/BI-15-C
2022-08-11 14:15:06 +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
Jiang Jiang Jian
7c64c12b74
Merge branch 'contrib/github_pr_9498_backport4_3' into 'release/v4.3'
...
Bluetooth/Bluedroid: fix member typo(backport v4.3)
See merge request espressif/esp-idf!19459
2022-08-11 10:53:34 +08:00
wangjialiang
41b4ead681
ble_mesh: stack: Fix add continuously secure update into friend queue.
...
For MESH/NODE/FRND/FN/BV-20-C
2022-08-09 21:49:36 +08:00
wangjialiang
71fc7b73f6
ble_mesh: stack: Fix friend relay lpn message when relay feature is disable
...
For MESH/NODE/FRND/FN/BV-23-C
2022-08-09 21:49:24 +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