Commit Graph

19388 Commits

Author SHA1 Message Date
Rahul Tank
4e366665ae Nimble: Update documentation to include distinction between upstream
mesh example and ESP-BLE-MESH
2022-12-13 12:56:29 +05:30
morris
81ee095b16 Merge branch 'bugfix/fix_slave_gpio_cs_mixed_with_iomux_bus_v4.3' into 'release/v4.3'
spi_slave: fix slave can't use iomux bus mixed with gpio cs_pin (v4.3)

See merge request espressif/esp-idf!21376
2022-12-12 15:49:09 +08:00
Jiang Jiang Jian
19310eea60 Merge branch 'bugfix/correct_the_default_SR_mode_v4.3' into 'release/v4.3'
bugfix/correct the SR_mode selection when konw nothing about Peripheral's SR_mode (v4.3)

See merge request espressif/esp-idf!21521
2022-12-12 14:57:27 +08:00
Wang Meng Yang
4268238733 Merge branch 'feature/report_acl_conn_cmp_stat_to_app_v4.3' into 'release/v4.3'
feature/report ACL link related events to application (v4.3)

See merge request espressif/esp-idf!21526
2022-12-12 10:51:55 +08:00
Rahul Tank
b07ca316d0 Nimble: Support maximum number of connections to 9 on ESP32-C3 and ESP32-S3 2022-12-09 19:13:56 +05:30
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
Jin Cheng
bfe007388f correct the SR_mode selection when konw nothing about Peripheral 2022-12-09 10:37:42 +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
alex.li
e7a2559640 esp_wifi: fix wapi gtk id compability issue and adapt tx frag pn sequently. 2022-12-06 17:28:09 +08:00
Kapil Gupta
10b0b768b7 esp_wifi: Add config option for AP retry count
Provide a config option for station to retry with the AP
if connection fails first time.
2022-12-06 17:28:09 +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
Armando
9061efd3d1 spi: limit esp32 dma workaround only on esp32 2022-12-01 21:00:35 +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
wanlei
a6ea6716ce spi_slave: fix slave can't use iomux bus mixed with gpio cs_pin 2022-12-01 20:21:11 +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