Commit Graph

19028 Commits

Author SHA1 Message Date
jincheng
629d445374 Added ACL link related events handler in A2DP sink GAP callback 2022-12-09 11:16:08 +08:00
jincheng
31b6acc88a Added reporting for ACL link related events to application 2022-12-09 11:15:56 +08:00
Jiang Jiang Jian
df901e0fe8 Merge branch 'contrib/github_pr_9529_v4.3' into 'release/v4.3'
component_bt: Fixed memory leak due to not freeing memory if posting a message to a thread fails(v4.3)

See merge request espressif/esp-idf!21473
2022-12-08 11:44:55 +08:00
Wang Meng Yang
05c497e9c2 Merge branch 'bugfix/reduce_BTU_TASK_stack_consumption_v4.3' into 'release/v4.3'
Reduce the stack consumption of BTU_TASK (backport v4.3)

See merge request espressif/esp-idf!21436
2022-12-07 11:29:56 +08:00
morris
8b7ae11828 Merge branch 'bugfix/i2c_func_iram_v4.3' into 'release/v4.3'
I2C: put some interrupt used functions into IRAM(backport v4.3)

See merge request espressif/esp-idf!21422
2022-12-07 10:51:39 +08:00
xiongweichao
84e400cd8c bt: Fixed incorrect parameters in switching to BTC context 2022-12-07 10:22:41 +08:00
xiongweichao
dad8773c07 bt:Modify the member variable *arg in struct btc_msg to arg[0] 2022-12-07 10:22:36 +08:00
xiongweichao
433767f97a bt: Fixed memory leak due to not freeing memory if posting a message to a thread fails 2022-12-07 10:22:29 +08:00
Jiang Jiang Jian
35f9b6ad58 Merge branch 'bugfix/Fix_exceptional_list_params_check_v4.3' into 'release/v4.3'
ble_mesh: stack: Fix exceptional list parameters check issue(v4.3)

See merge request espressif/esp-idf!21443
2022-12-06 14:44:25 +08:00
Wang Meng Yang
722291e404 Merge branch 'bugfix/reattempt_crash_v4.3' into 'release/v4.3'
NimBLE: Fixed going for reattempt connection code (v4.3)

See merge request espressif/esp-idf!21177
2022-12-06 14:02:23 +08:00
wangjialiang
0f95a31589 ble_mesh: stack: Fix exceptional list parameters check issue 2022-12-05 20:26:11 +08:00
Cao Sen Miao
aac5297f8a I2C: put some interrupt used functions into IRAM 2022-12-05 18:05:28 +08:00
zwj
8ce5d113ca Reduce the stack consumption of BTU_TASK 2022-12-05 17:29:40 +08:00
isha.pardikar@espressif.com
7b51ebe7a8 NimBLE: Fixed going for reattempt connection code 2022-12-05 14:33:40 +05:30
Wang Meng Yang
310571138e Merge branch 'bugfix/fix_bt_sleep_hangs_when_enable_light_sleep_backport_v4.3' into 'release/v4.3'
bt: fix bt sleep flow hangs in btdm_sleep_clock_sync(backport v4.3)

See merge request espressif/esp-idf!21385
2022-12-02 11:28:08 +08:00
jingli
f2e92f564e bt: fix bt sleep flow hangs in btdm_sleep_clock_sync
Bluetooth low power related logic and regs have separate power domain from MAC and BB,
and do not power down during light sleep. If reset when power up MAC and BB in sleep
flow, it may destroy the state of bt low power part.
2022-12-01 20:54:45 +08:00
Jiang Jiang Jian
c0ba33a99d Merge branch 'bugfix/check_ies_in_match_security_v4.3' into 'release/v4.3'
Adding check for ies in match security (Backport v4.3)

See merge request espressif/esp-idf!21312
2022-12-01 10:46:57 +08:00
Jiang Jiang Jian
6298b8c8ff Merge branch 'bufix/a2dp_fail_connect_again_after_disconnect_v4.3' into 'release/v4.3'
component_bt: Fixed a2dp failing to connect again after disconnect(v4.3)

See merge request espressif/esp-idf!21344
2022-12-01 10:33:07 +08:00
xiongweichao
9b2b5d1651 Fixed a2dp failing to connect again after disconnect 2022-11-30 19:15:36 +08:00
Jiang Jiang Jian
6b48dd30e6 Merge branch 'bugfix/esp_periph_uart_clk_gate_issue_v4.3' into 'release/v4.3'
esp_system: use ESP_CONSOLE_UART_NUM instead of CONSOLE_UART_NUM (backport to v4.3)

See merge request espressif/esp-idf!21284
2022-11-30 17:30:42 +08:00
Jiang Jiang Jian
1d000363c6 Merge branch 'bugfix/disable_prov_encryption_v4.3' into 'release/v4.3'
Wifi Prov: Disabled the default support for BLE Encrpytion on characteristics read /write (v4.3)

See merge request espressif/esp-idf!21265
2022-11-30 15:59:06 +08:00
gauri patankar
66a8eb9ff9 Adding check for ies in match security 2022-11-30 11:57:26 +05:30
Aditya Patwardhan
ee7953dc2a Merge branch 'feature/update_expat_2_5_0_v4.3' into 'release/v4.3'
expat: Upgrade expat to release v2.5.0

See merge request espressif/esp-idf!21295
2022-11-30 14:03:18 +08:00
Jiang Jiang Jian
114ce9b7fd Merge branch 'bugfix/security_params_overwrite_v4.3' into 'release/v4.3'
Add changes to prevent security params overwritten in full scan (backport v4.3)

See merge request espressif/esp-idf!21293
2022-11-30 12:01:13 +08:00
Harshit Malpani
6ff2df0046
expat: Upgrade expat to release v2.5.0 2022-11-28 13:57:22 +05:30
gauri patankar
4f8a869392 Add changes to prevent security params overwritten in full scan (backport v4.3) 2022-11-28 12:50:54 +05:30
jiangguangming
5888f9201f esp_system: use ESP_CONSOLE_UART_NUM instead of CONSOLE_UART_NUM 2022-11-28 10:37:39 +08:00
Jiang Jiang Jian
3685ed2829 Merge branch 'bugfix/fix_connect_and_mesh_issues_v4.3' into 'release/v4.3'
esp_wifi: fix connect issue and mesh issue (backport v4.3)

See merge request espressif/esp-idf!21204
2022-11-28 10:19:51 +08:00
Rahul Tank
6040bba236 Wifi Prov: Disabled the default support for BLE Encrpytion on characteristics read /write
By default, disabled the BLE Encrpyption requirement for provisioning characteristic.
With this flag enabled, when remote attempts to read and if the ACL link is not encrypted,
ESP device will return Insufficient Authentication. It is remote device responsibility to go
for link encryption which may result in pairing.

Some devices do not proceed for any pairing and just show failure pop-up. Also, user needs
to remove bonding on remote phone manually and then try again. This is causing bad user experience.

End user can enable it as per their use case.
2022-11-25 14:21:13 +05:30
Jiang Jiang Jian
a0967db9d8 Merge branch 'bt/opt_audio_datapath_v4.3' into 'release/v4.3'
bt/optimized a2dp_sink audio datapath (v4.3)

See merge request espressif/esp-idf!21224
2022-11-25 10:29:25 +08:00
Jin Cheng
bda3683c85 Increase BtI2STask stack depth to avoid stack overflow 2022-11-24 13:13:43 +08:00
Jin Cheng
79b4d8fe4f 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-11-24 13:13:40 +08:00
Jiang Jiang Jian
81d598b46f Merge branch 'bugfix/fix_hfp_clcc_parser_bug_4.3' into 'release/v4.3'
Bugfix/Fix HFP client parse CLCC command response bug[backport 4.3]

See merge request espressif/esp-idf!21158
2022-11-24 11:12:15 +08:00
Jiang Jiang Jian
08ee8d7137 Merge branch 'bugfix/fixed_HIDH_connection_failure_v4.3' into 'release/v4.3'
bugfix/fixed connection failure and build errors of HID host (v4.3)

See merge request espressif/esp-idf!21209
2022-11-24 11:05:55 +08:00
Jiang Jiang Jian
a74a732c10 Merge branch 'bugfix/fixing_memory_leak_wps_scan' into 'release/v4.3'
Fixed a memory leak issue created when parsing scan results

See merge request espressif/esp-idf!20740
2022-11-24 10:39:10 +08:00
Jin Cheng
898324dc21 1. changed pin_type of Legacy Paring from FIXED to VARIABLE to avoid authentication failure
2. provide compatibilities with devices that do not support Secure Simple Paring

Closes https://github.com/espressif/esp-idf/issues/10069
Closes https://github.com/espressif/esp-idf/issues/10005
2022-11-23 21:00:02 +08:00
Jin Cheng
d533bc1cdd fixed build errors with Secure Simple Paring disabled 2022-11-23 20:58:52 +08:00
Marius Vikhammer
ff5c7d349f Apply suggestions to 2 files 2022-11-23 19:10:35 +08:00
muhaidong
0ed631f47a esp_wifi: Modify wifi scan return value.
1. Modify wifi scan return value same to docs.
2. Change some logs' log level wo avoid misunderstanding.
3. Fix connect fail return wrong error code issue
2022-11-23 19:10:13 +08:00
zhangyanjiao
7cf171cb1f update doc for set channel 2022-11-23 19:09:49 +08:00
zhangyanjiao
92eb91f985 update wifi reason code 2022-11-23 19:09:03 +08:00
Jiang Jiang Jian
2e0da2773b Merge branch 'bugfix/change_default_tx_power_on_c3_v4.3' into 'release/v4.3'
Change BLE default TX power on ESP32C3(backport v4.3)

See merge request espressif/esp-idf!21169
2022-11-23 14:28:30 +08:00
jgujarathi
d5b9fbac44 (wpa_supplicant) : Fixed a memory leak issue created when parsing scan results. 2022-11-23 10:07:01 +05:30
Jiang Jiang Jian
d732a84bfd Merge branch 'bugfix/wpa_enterprise_reauth_v4.3' into 'release/v4.3'
esp_wifi: Fix WiFi Enterprise Reauthentication issue (v4.3)

See merge request espressif/esp-idf!21073
2022-11-23 10:42:55 +08:00
Wang Meng Yang
92a3ba8325 Merge branch 'bugfix/a2dp_source_memory_access_out_of_bounds_v4.3' into 'release/v4.3'
Fixed the issue memory access out of bounds in a2dp_source example (v4.3)

See merge request espressif/esp-idf!21146
2022-11-23 10:32:01 +08:00
Island
cb79ad78d1 Merge branch 'bugfix/change_log_print_forv4.3' into 'release/v4.3'
ble_mesh:example:Add command to test the function of duplicate exceptional list(v4.3)

See merge request espressif/esp-idf!21122
2022-11-23 10:25:33 +08:00
Yuan Hong Hui
35d63c893c ble_mesh:example:Add command to test the function of duplicate exceptional list(v4.3) 2022-11-23 10:25:33 +08:00
Roland Dobai
784019ee2f Merge branch 'fix/bitstring_4_v4.3' into 'release/v4.3'
Tools: Use bitstring package compatible with supported Python versions (v4.3)

See merge request espressif/esp-idf!21180
2022-11-22 03:48:40 +08:00
Roland Dobai
b456d19ace Tools: Use bitstring package compatible with supported Python versions
Bitstring>=4 supports Python 3.7+ only. See:
https://github.com/scott-griffiths/bitstring/releases/tag/bitstring-4.0.1
2022-11-21 15:15:04 +01:00
zhiweijian
92c8189388 support BLE memory release on ESP32C3 and ESP32S3 2022-11-21 12:21:47 +08:00