Commit Graph

28500 Commits

Author SHA1 Message Date
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
morris
cf4825be6f Merge branch 'fix/uart_wakeup_threshold_v5.0' into 'release/v5.0'
fix(uart): Fix mismatch wakeup rising edges required with the threshold configured (v5.0)

See merge request espressif/esp-idf!30465
2024-04-26 10:42:33 +08:00
zhanghaipeng
614b2bbd3f feat(ble/bluedroid): Support create BLE static random address and NRPA 2024-04-25 15:58:19 +08:00
zhanghaipeng
2ddb174b4e fix(ble/bluedroid): Optimized BLE SPP example for improved compatibility 2024-04-25 15:58:19 +08:00
zhanghaipeng
f0450152f2 feat(ble/bluedroid): Support BLE add device to resolving list 2024-04-25 15:58:19 +08:00
zhanghaipeng
ebf929b5f8 feat(ble/bluedroid): Support set resolvable provate address timeout by api 2024-04-25 15:58:19 +08:00
zhanghaipeng
182cbb85f8 fix(ble/bluedroid): Fixed BLE GATT max length of an attribute value 2024-04-25 15:58:19 +08:00
zhanghaipeng
1eebe9f680 fix(ble/bluedroid): Optimize BLE documentation comments to comply with Doxygen syntax 2024-04-25 15:58:19 +08:00
zhanghaipeng
327a9126c8 fix(ble/bluedroid): Optimize the BLE documentation 2024-04-25 15:58:19 +08:00
Song Ruo Jing
02d819b69b fix(uart): Fix mismatch wakeup rising edges required with the threshold configured
Closes https://github.com/espressif/esp-idf/issues/12586
2024-04-24 17:27:27 +08:00
Song Ruo Jing
94070c8651 fix(gpio): add workaround to ensure correct IO drive strength for C3 and S3 2024-04-24 17:00:06 +08:00
Song Ruo Jing
4727357067 fix(uart): correct C2 UART_BITRATE_MAX value 2024-04-24 16:20:44 +08:00
Rahul Tank
0ed5284eb9 Merge branch 'bugfix/rpa_timeout_api_v5.0' into 'release/v5.0'
fix(nimble): Expose API to set RPA Timeout (v5.0)

See merge request espressif/esp-idf!30410
2024-04-24 10:31:33 +08:00
Jin Cheng
7fa711346a fix(bt/bluedroid): allocate memory for control block of HFP Audio Gateway in its initialization when dynamic memory is wnabled 2024-04-24 08:28:45 +08:00
Rahul Tank
6bdd4be339 fix(nimble): Expose API to set RPA Timeout 2024-04-23 11:58:43 +05:30
Island
fb12a68017 Merge branch 'feat/optimzie_ble_ctrl_memory_v5.0' into 'release/v5.0'
ble: support only legacy adv and slave function on esp32c2 (v5.0)

See merge request espressif/esp-idf!30336
2024-04-22 22:51:02 +08:00
zwl
423b5683d4 ble: update sdkconfig.defaults.esp32c2 file for blufi example 2024-04-22 11:47:12 +08:00
Jiang Jiang Jian
7c9bacb624 Merge branch 'bugfix/crash_after_bluedroid_deinit_v5.0' into 'release/v5.0'
fix(bt/bluedroid): Fixed controller using null pointer after bluedroid deinit(v5.0)

See merge request espressif/esp-idf!30329
2024-04-22 11:13:42 +08:00
Jiang Jiang Jian
dd61b7ed37 Merge branch 'bugfix/fix_some_ble_bugs_cjh_v5.0' into 'release/v5.0'
Fixed some BT and BLE bugs 2404 (backport v5.0)

See merge request espressif/esp-idf!30259
2024-04-22 10:48:04 +08:00
Jiang Jiang Jian
26af71d0f9 Merge branch 'doc/update_espnow_example_v5.0' into 'release/v5.0'
docs(wifi): change the magic varible from int to uint32_t on the receiving side (v5.0)

See merge request espressif/esp-idf!30309
2024-04-22 10:47:30 +08:00
Jiang Jiang Jian
3b6ee156c9 Merge branch 'feat/set_get_lpclk_src_v5.0' into 'release/v5.0'
feat(ble): Added API to get low power clock source(v5.0)

See merge request espressif/esp-idf!30109
2024-04-22 10:25:55 +08:00
chenjianhua
c9255fc852 feat(bt): Update bt lib for ESP32-C3 and ESP32-S3(c23ab4c)
- Support QA test vendor HCI command and event
2024-04-18 14:43:13 +08:00
baohongde
043ea1cb60 fix(ble/controller): Fixed LoadProhibited after bluetooth deinit 2024-04-18 14:43:07 +08:00
chenjianhua
49f11c53bd fix(bt): Update bt lib for ESP32-C3 and ESP32-S3(5274796)
- Fixed extended uncoded and coded scan scheduling
- Add config for channel assessment and ping procedure
- Clear random address for extended advertising
- Add periodic advertising list check
- Fixed periodic advertising data setting with zero length
2024-04-18 14:43:00 +08:00
baohongde
0a86dd2eb3 feat(ble/controller): Add coexist schm for BLE 2024-04-18 14:31:53 +08:00
chenjianhua
fdd4f3d17c feat(bt): Update bt lib for ESP32(e314148)
- Support QA test vendor HCI command and event
2024-04-18 14:09:09 +08:00
zhanghaipeng
c9c946811c fix(bt/controller): Update bt lib for ESP32(5838b68)
- Fixed BLE scan assert
 - Fixed assert(10,0) in lld_pdu
 - Add BLE scan backoff in menuconfig
2024-04-18 14:09:09 +08:00
Jin Cheng
51c26053a4 fix(bt/controller): Use embedded assembly to get access to DPORT registers 2024-04-18 14:09:09 +08:00
zwl
0e058edb9f ble: support only legacy adv and slave function on esp32c2 2024-04-18 12:15:56 +08:00
Mahavir Jain
78af5840a1 Merge branch 'fix/incorrect_connection_closure_parttool_test_v5.0' into 'release/v5.0'
ci(otatool): fix test failure caused due to closing connection incorrectly (v5.0)

See merge request espressif/esp-idf!30293
2024-04-18 11:55:54 +08:00
Island
38aef776b6 Merge branch 'bugfix/fixed_coex_asset_on_esp32c2_v5.0' into 'release/v5.0'
Bugfix/fixed coex asset on esp32c2 v5.0

See merge request espressif/esp-idf!30303
2024-04-18 10:54:25 +08:00
xiongweichao
631aa85bdc fix(bt/bluedroid): Fixed crash after bluedroid deinit
hci_host_env.downstream_data_ready is set to NULL during bluedroid deinit,
causing the controller to use a null pointer when calling callback.
2024-04-18 10:53:11 +08:00
Island
4ae73b7fa7 Merge branch 'bugfix/fix_ble_appearance_v5.0' into 'release/v5.0'
Fixed BLE appearance category ranges (v5.0)

See merge request espressif/esp-idf!30287
2024-04-18 10:44:08 +08:00