Commit Graph

28432 Commits

Author SHA1 Message Date
Rahul Tank
e746d29f39 Merge branch 'feature/get_local_used_addr_v5.0' into 'release/v5.0'
feat(nimble): Added API to get local used address (v5.0)

See merge request espressif/esp-idf!30759
2024-05-16 17:43:25 +08:00
Jiang Jiang Jian
d4f35fcb98 Merge branch 'fix/assert_1024_in_rwbt_isr_v5.0' into 'release/v5.0'
fix(bt/ble): fix some issues in bluetooth controller(backport v5.0)

See merge request espressif/esp-idf!30816
2024-05-16 16:44:56 +08:00
Abhinav Kudnar
63b02c9273 feat(nimble): Added API to get local used address 2024-05-16 09:47:48 +05:30
Rahul Tank
4e5e8aa10f Merge branch 'bugix/avoid_reset_extract_cb_v5.0' into 'release/v5.0'
fix(nimble): Avoid slave instance reset inside extract_cb (v5.0)

See merge request espressif/esp-idf!30490
2024-05-16 12:02:32 +08:00
Aditya Patwardhan
8a25d14e84 Merge branch 'feature/update_mbedtls_to_3.6.0_v5.0' into 'release/v5.0'
feat(mbedtls): updated mbedtls version from 3.5.2 to 3.6.0 (v5.0)

See merge request espressif/esp-idf!30671
2024-05-15 20:18:11 +08:00
nilesh.kale
ef7a749367 feat(mbedtls): updated mbedtls version from 3.5.2 to 3.6.0
This MR updated MbedTLS version to latest version 3.6.0.
2024-05-15 11:43:54 +05:30
Rahul Tank
377a24d319 fix(nimble): Create separate API to only extract cb info 2024-05-15 11:03:31 +05:30
Jin Cheng
2c45c9dcd2 fix(bt/controller): Parse out the correct packet types from Host parameters
- For HCI command HCI_Enhanced_Setup_Synchronous_Connection
2024-05-14 11:55:04 +08:00
gongyantao
fc17843294 fix(bt/ble): fix some issues in bluetooth controller
1: fix assert 1024 issue when bt tx and wifi coexist on esp32
2: fix ble scan backoff
3: parse out the correct packet types from host parameters for
   hci command hci_enhanced_setup_synchronous_connection
2024-05-14 10:06:57 +08:00
Roland Dobai
ae1195f04e Merge branch 'set_gdb_remotetimeout_v5.0' into 'release/v5.0'
tools(gdbinit): set remote timeout for the gdb connection (v5.0)

See merge request espressif/esp-idf!30807
2024-05-13 23:07:41 +08:00
Jiang Jiang Jian
8b6811ef45 Merge branch 'bugfix/fix_mesh_packet_tx_issue_v5.0' into 'release/v5.0'
fix(wifi): fix the tx issue when mesh packet lifetime remain equal to zero (v5.0)

See merge request espressif/esp-idf!30802
2024-05-13 22:30:52 +08:00
David Čermák
9751ab5122 Merge branch 'contrib/github_pr_13560_v5.0' into 'release/v5.0'
esp_eth: DP83848: correct link detection to use BMSR (GitHub PR) (v5.0)

See merge request espressif/esp-idf!30453
2024-05-13 21:55:13 +08:00
Erhan Kurubas
1ce2c81ea9 change(gdbinit): set remote timeout for the gdb connection 2024-05-13 13:54:53 +02:00
zhangyanjiao
43dce54bb4 fix(wifi): fix the tx issue when mesh packet lifetime remain equal to zero 2024-05-13 17:16:50 +08:00
Jiang Jiang Jian
c893fb1b2c Merge branch 'doc/update_bt_sleep_process_v5.0' into 'release/v5.0'
docs: Update the process of Bluetooth entering sleep in the sleep_modes.rst(v5.0)

See merge request espressif/esp-idf!30763
2024-05-13 11:03:46 +08:00
Jiang Jiang Jian
6a17b9c1c7 Merge branch 'bugfix/bt_bss_in_extram_v5.0' into 'release/v5.0'
fix(bt): Fix missing linker symbol when ESP_ALLOW_BSS_SEG_EXTERNAL_MEMORY enabled(backport v5.0)

See merge request espressif/esp-idf!30377
2024-05-13 11:03:07 +08:00
Island
8e81b118e2 Merge branch 'fix/idfgh-12762_v5.0' into 'release/v5.0'
fix(ble_mesh):Fixed a compatibility issue with the provisioner (v5.0)

See merge request espressif/esp-idf!30732
2024-05-10 17:14:20 +08:00
Island
ed6f245a5b Merge branch 'bugfix/BLEQABR23-798_v5.0' into 'release/v5.0'
bugfix(ble_mesh): Close BLEQABR23-798 (v5.0)

See merge request espressif/esp-idf!30647
2024-05-10 17:14:02 +08:00
Wang Meng Yang
7649270896 Merge branch 'optimize/bt_make_alarm_num_configurable_v5.0' into 'release/v5.0'
optimize(ble_mesh): Make alarm number configurable (v5.0)

See merge request espressif/esp-idf!30508
2024-05-10 15:05:48 +08:00
Wang Meng Yang
e8641f62e4 Merge branch 'bugfix/fix_hid_connection_failed_bug_v5.0' into 'release/v5.0'
fix(bt/bluedroid): Fix HID connection bugs[backport 5.0]

See merge request espressif/esp-idf!30591
2024-05-10 12:18:50 +08:00
xiongweichao
1f4a2c9222 docs: Update the process of Bluetooth entering sleep in the sleep_modes.rst 2024-05-10 10:31:03 +08:00
Rahul Tank
dca1678547 Merge branch 'bugfix/free_controlle_memory_in_init_fail_v5.0' into 'release/v5.0'
fix(nimble): Free controller memory if init fails (v5.0)

See merge request espressif/esp-idf!30752
2024-05-09 23:36:56 +08:00
Rahul Tank
c211aaeeaa fix(nimble): Free controller memory if init fails 2024-05-09 12:26:04 +05:30
luoxu
aa830471f4 fix(ble_mesh):Fixed a compatibility issue with the provisioner
Closes https://github.com/espressif/esp-idf/issues/13741
2024-05-09 10:57:39 +08:00
liqigan
eb99868b56 fix(bt/bluedroid): Fix HID Device connection failed bug
Closes https://github.com/espressif/esp-idf/issues/13671
2024-05-09 09:24:16 +08:00
liqigan
a91bee2b4c fix(bt/bluedroid): Fix HID Host connection bugs
1. Fix is_orig value inconsistency for HIDH open event
2. Fix the error state for repeat connection of the same device
2024-05-09 09:24:16 +08:00
Aditya Patwardhan
1bec4902b2 Merge branch 'backport/support_tls1_3_v5.0' into 'release/v5.0'
https_mbedtls: update example to support TLS 1.3 connection

See merge request espressif/esp-idf!30607
2024-05-07 16:38:14 +08:00
Rahul Tank
c603b0126a Merge branch 'bugfix/disable_mbedtls_options_v5.0' into 'release/v5.0'
fix(nimble): Deselect MBEDTLS_ECP_RESTARTABLE when mbedTLS is used (v5.0)

See merge request espressif/esp-idf!30621
2024-05-07 12:37:53 +08:00
luoxu
d9186f52c3 bugfix(ble_mesh): Close BLEQABR23-798 2024-05-07 09:49:13 +08:00
Rahul Tank
54f171ec5c fix(nimble): Deselect MBEDTLS_ECP_RESTARTABLE when mbedTLS is used 2024-05-06 15:22:39 +05:30
Wang Mengyang
76486bbfcb change(bt): Rename linker script file names and symbol names
1. rename linker files
2. support memory release in case that ESP_ALLOW_BSS_SEG_EXTERNAL_MEMORY is enabled
3. improve the implementation of memory release
2024-05-06 17:14:58 +08:00
Wang Mengyang
eca6545ffe fix(bt): Fix missing linker symbol when ESP_ALLOW_BSS_SEG_EXTERNAL_MEMORY enabled
1. Closes https://github.com/espressif/esp-idf/issues/10427
2. add two linker script to unify linker script symbols for BT libraries
3. The memory release functions have also been simplified

fix(bt): remove unused file linker.lf
2024-05-06 17:14:55 +08:00
Jiang Jiang Jian
3b448491d3 Merge branch 'fix/increase_26mhz_esp32c2_slow_clock_calibration_wdt_threshold_v5.0' into 'release/v5.0'
fix(esp_system): increase 26Mhz esp32c2 slow clock calibration timeout watchdog threshold (v5.0)

See merge request espressif/esp-idf!30572
2024-05-06 14:06:39 +08:00
Mahavir Jain
089197ff8a Merge branch 'bugfix/nvs_enc_test_v5.0' into 'release/v5.0'
fix(tests): correct the flash write length for NVS encrypted test (v5.0)

See merge request espressif/esp-idf!30605
2024-05-06 13:32:28 +08:00
Harshit Malpani
5f18e58722
fix: Update https_mbedtls example to fix TLS v1.2 connection 2024-05-02 17:15:19 +05:30
Harshit Malpani
90d0689331
fix(esp-tls): Use TLS 1.2 and TLS 1.3 simultaneously
This commit fixes the issue with TLS 1.2 connection when TLS 1.3 is
enabled in config.
2024-05-02 17:15:08 +05:30
Harshit Malpani
1c3c89eb43
fix(esp-tls): Retry reads if using session tickets with TLS 1.3
Fixed the error that occurred while performing OTA upgrades over
TLS 1.3 connection. After handshake is completed, post-handshake message
is received and internal state is changed. While performing mbedtls_ssl_read(),
it checks handshake state and if it is not MBEDTLS_SSL_HANDSHAKE_OVER,
mbedtls_ssl_handshake is called again.
2024-05-02 17:11:50 +05:30
Mahavir Jain
1d530cc23c
https_mbedtls: update example to support TLS 1.3 connection
- make server verification mandatory (previously it was optional)
- add PSA crypto init API and handling for session ticket event
- coding style fixes
2024-05-02 17:11:07 +05:30
Mahavir Jain
0b7bb679bb
esp_tls: add initial support for TLS 1.3 connection 2024-05-02 17:11:01 +05:30
Mahavir Jain
c8dbdc6aa6
fix(tests): correct the flash write length for NVS encrypted test
Write only till the embedded file size in the NVS partition. Earlier
the length was kept as the whole partition size and it could result
in accessing embedded rodata beyond the MMU mapped range.
2024-05-02 16:54:56 +05:30
Wang Meng Yang
e1dfcbc567 Merge branch 'bugfix/hf_local_param_null_v5.0' into 'release/v5.0'
fix(bt/bluedroid): allocate memory for control block of HFP Audio Gateway (v5.0)

See merge request espressif/esp-idf!30442
2024-04-30 17:25:26 +08:00
wangjialiang
7d0cfb74bb feat(ble_mesh): Make alarm number configurable 2024-04-30 16:09:47 +08:00
Karl Palsson
0eef7d1934 fix(esp_eth): dp83848: correct link detection to use BMSR
Reading the link state via PHYSTS was incorrect, as it only reflects the
link state bit from BMSR.  BMSR latches link down events, and are not
cleared without being read.  (See 802.3-2008 section 2, section 22.2.4.2.13)
This leads to the original DP828xx code only supporting link up, then a
single link down event.

Switch to reading the link state via BMSR, but continuing to read the
negotiation results via PHYSTS and ANLPAR.  This is inline with
LAN8720x, RTL8201, KSZ80xx phy drivers, and other opensource drivers for
the DP838xx family of devices.

Tested on a private board with a DP83825i PHY.  No publically available
boards using the original DP83848 are known of for testing.

Signed-off-by: Karl Palsson <karl.palsson@marel.com>
2024-04-30 16:08:25 +08:00
wuzhenghui
820cc387d9
fix(esp_system): increase 26Mhz esp32c2 slow clock calibration timeout watchdog threshold 2024-04-30 11:45:20 +08:00
Island
961ca4f975 Merge branch 'bugfix/fix_ble_coex_assert_v5.0' into 'release/v5.0'
Update esp32 bt-lib (4012cfb)(backport v5.0)

See merge request espressif/esp-idf!30519
2024-04-28 10:48:07 +08:00
Island
2233d54812 Merge branch 'bugfix/fix_ble_max_attribute_value_v5.0' into 'release/v5.0'
Bugfix/fix ble max attribute value v5.0

See merge request espressif/esp-idf!30414
2024-04-28 10:37:12 +08:00
zhanghaipeng
f449df139c feat(ble/bluedroid): Support BLE command status debug log 2024-04-26 17:14:44 +08:00
zhanghaipeng
2efc1c3c7c fix(ble/controller): Update esp32 bt-lib (4012cfb)
- Fixed BLE coex assert
- Fixed BLE DTM status and tx count
2024-04-26 16:51:43 +08:00
morris
3087b28012 Merge branch 'bugfix/uart_bitrate_max_value_c2_v5.0' into 'release/v5.0'
fix(uart): correct C2 UART_BITRATE_MAX value (v5.0)

See merge request espressif/esp-idf!30461
2024-04-26 10:43:49 +08:00
morris
6371dcbcb0 Merge branch 'bugfix/gpio_drive_cap_v5.0' into 'release/v5.0'
fix(gpio): add workaround to ensure correct IO drive strength for C3 and S3 (v5.0)

See merge request espressif/esp-idf!30468
2024-04-26 10:43:29 +08:00