Commit Graph

49007 Commits

Author SHA1 Message Date
zhanghaipeng
fdeb5ad87a refactor(examples/bluedroid): Replace hardcoded ADV type values with macros 2025-12-28 16:40:37 +08:00
zhanghaipeng
8630040602 fix(bt/osi): add NULL check in osi_mutex_free and osi_sem_free (IDFGH-16853) 2025-12-28 11:19:39 +08:00
zhanghaipeng
6196298750 fix(bt/bluedroid): fix UAF in bta_gattc_enqueue for search service command 2025-12-28 11:19:39 +08:00
zhanghaipeng
7cd2f7b34d feat(examples/bluedroid): Add BLE time interval conversion macros for better readability
Add macros to convert time values from milliseconds to BLE interval units:
- ESP_BLE_GAP_ADV_ITVL_MS: Convert advertising interval (0.625ms unit)
- ESP_BLE_GAP_SCAN_ITVL_MS: Convert scan interval (0.625ms unit)
- ESP_BLE_GAP_SCAN_WIN_MS: Convert scan window (0.625ms unit)
- ESP_BLE_GAP_CONN_ITVL_MS: Convert connection interval (1.25ms unit)
- ESP_BLE_GAP_PERIODIC_ADV_ITVL_MS: Convert periodic adv interval (1.25ms unit)
- ESP_BLE_GAP_SUPERVISION_TIMEOUT_MS: Convert supervision timeout (10ms unit)
2025-12-28 11:19:39 +08:00
zhanghaipeng
b6aed7e1c8 feat(ble/bluedroid): Increase maximum notify/indication registration count 2025-12-28 11:07:07 +08:00
zhanghaipeng
4ffd7b285b feat(ble/bluedroid): add periodic advertising create sync retry mechanism 2025-12-28 11:07:07 +08:00
zhanghaipeng
12225c457c fix(ble/bluedroid): Fix array index in set_periodic_adv_subevt_data 2025-12-28 11:07:07 +08:00
zhanghaipeng
c5ebab70d8 fix(ble/bluedroid): Remove duplicate filter_policy in ext_conn_v2 HCI cmd 2025-12-28 11:07:07 +08:00
zhanghaipeng
6d49a99faa fix(ble/bluedroid): Fix heap buffer overflow in BTC_GAP_BLE_SET_PA_SUBEVT_DATA deep copy 2025-12-28 11:07:07 +08:00
zhanghaipeng
643d9c2387 fix(ble/bluedroid): Fix multiple out-of-bounds read vulnerabilities in GATT PDU handlers 2025-12-28 11:07:07 +08:00
zhanghaipeng
93cfbb8522 fix(ble/bluedroid): Fix out-of-bounds read in l2cble_process_sig_cmd 2025-12-28 11:07:07 +08:00
zhanghaipeng
597fc6e5c1 fix(ble/bluedroid): Fix integer underflow in gatt_process_read_by_type_rsp 2025-12-28 11:07:07 +08:00
zhanghaipeng
da4793ce71 fix(ble/bluedroid): Improve robustness during host enable procedure 2025-12-23 10:24:00 +08:00
zhanghaipeng
a721e94a0f fix(bt): fix BLE security issue in controller and HCI packet parser 2025-12-23 10:24:00 +08:00
zhanghaipeng
c762832600 fix(ble/hci): Fix OOB read in ble_adv_scan_combined example 2025-12-23 10:24:00 +08:00
zhanghaipeng
a36bf7fe14 fix(ble/bluedroid): Added security check in example Bluedroid_GATT_Server 2025-12-23 10:24:00 +08:00
morris
5b4e3c053e Merge branch 'refactor/gdma_link_skip_null_buffer' into 'master'
skip the NULL buffer in DMA mount pre-check

See merge request espressif/esp-idf!44369
2025-12-23 10:09:46 +08:00
morris
3c47e1509b fix(drivers): enlarge the default DMA burst size in peripheral drivers 2025-12-22 22:09:15 +08:00
morris
29560e6102 refactor(gdma): skip the null buffer in mount pre-check 2025-12-22 22:02:28 +08:00
Ondrej Kosta
c16c4abfda Merge branch 'fix/enable_p4v3_tests' into 'master'
fix(ci): re-enabled ESP32P4 tests on different HW vers

Closes ITOPS-204

See merge request espressif/esp-idf!44167
2025-12-22 16:10:41 +08:00
Meet Patel
1099383968 Merge branch 'docs/watchdog_api_doc_changes' into 'master'
docs(watchdogs): Updating API reference guide for Watchdog Timer

Closes IDF-2756 and IDF-2009

See merge request espressif/esp-idf!44202
2025-12-22 11:40:51 +05:30
Meet Patel
f131522ca1 Merge branch 'bugfix/adc_read_ci_issue' into 'master'
fix(lp_adc): Fix LP ADC 1-byte read CI issue on ESP32P4

Closes IDFCI-5374 and IDFCI-5375

See merge request espressif/esp-idf!44363
2025-12-22 11:39:15 +05:30
Sudeep Mohanty
760d3baa2f Merge branch 'fix/cmakev2_component_srcs_and_validation' into 'master'
Correctly set SRCS property for cmakev2 components and add component validation checks

Closes IDF-13762

See merge request espressif/esp-idf!44390
2025-12-19 15:32:40 +01:00
Wu Zheng Hui
b84d73f0db Merge branch 'change/check_stack_mem_when_entering_sleep' into 'master'
change(esp_hw_support): reject sleep request if task stack in  PSRAM

Closes PM-616

See merge request espressif/esp-idf!43306
2025-12-19 19:39:54 +08:00
Erhan Kurubas
3e35b8b175 Merge branch 'fix/clang_build_error' into 'master'
fix(xtensa): Fix clang assembler errors in STRUCT_AFIELD_A macro

See merge request espressif/esp-idf!44193
2025-12-19 10:20:43 +01:00
Marek Fiala
1896bea52f Merge branch 'feat/drop_esp_idf_size_2_0_restriction' into 'master'
feat(tools): Clean up esp-idf-size new generation

Closes IDF-14272

See merge request espressif/esp-idf!42822
2025-12-19 17:16:00 +08:00
Erhan Kurubas
3ccc51c096 Merge branch 'enable_esp32p4_jtag_tests' into 'master'
Enable esp32p4 jtag tests

Closes IDF-14440

See merge request espressif/esp-idf!44352
2025-12-19 08:45:40 +01:00
Island
3a166e2860 Merge branch 'fix/ble_log_v2_dual_core_iwt' into 'master'
fix(ble): added missed spin lock initialization

Closes BLERP-2467

See merge request espressif/esp-idf!44364
2025-12-19 15:10:35 +08:00
Island
34fcf5aa35 Merge branch 'fix/ble_mesh_proxy_cli_coexists_with_adv' into 'master'
fix(ble_mesh): Fix start callback timing when GATT and ADV bearers coexist

Closes BLERP-2463 and BLERP-2464

See merge request espressif/esp-idf!44331
2025-12-19 14:39:24 +08:00
Island
5cb0a5a45e Merge branch 'feat/ble_mesh_dfd_cli_support' into 'master'
feat(ble_mesh): dfd client/server supported

Closes BLERP-2435 and BLERP-2461

See merge request espressif/esp-idf!43924
2025-12-19 14:39:09 +08:00
Wang Meng Yang
17561eb71a Merge branch 'refactor/split_a2dp_sink' into 'master'
refactor(examples/classic_bt): Split a2dp_sink example

Closes BT-3860

See merge request espressif/esp-idf!41249
2025-12-19 13:47:07 +08:00
yangfeng
dc4b0828f6 refactor(examples/classic_bt): Add example tests for A2DP and AVRCP examples 2025-12-19 11:31:15 +08:00
yangfeng
09e448710b docs: Add explanations for the A2DP sink stream and AVRCP examples
- Modify the path of A2DP sink example
2025-12-19 11:31:15 +08:00
yangfeng
e7073b25d5 refactor(examples/classic_bt): Add AVRCP cover art example with LCD display 2025-12-19 11:31:15 +08:00
yangfeng
8ace46d440 refactor(examples/classic_bt): Add common code for AVRCP cover art example 2025-12-19 11:31:15 +08:00
yangfeng
d15acf8a80 refactor: Refactor the example of the coexistence of A2DP sink and GATT service 2025-12-19 11:31:15 +08:00
yangfeng
bb46db736c refactor(examples/classic_bt): Refactor A2DP sink and AVRCP examples
- Add avrcp_ct_metadata example
- Add avrcp_absolute_volume example
- Add the example components about common code for a2dp sink and avrcp
2025-12-19 11:31:15 +08:00
wuzhenghui
353075ca30 change(esp_hw_support): reject sleep request if task stack in PSRAM 2025-12-19 10:27:28 +08:00
Shu Chen
1e87d43f1a Merge branch 'refactor/remove_ot_cmac' into 'master'
refactor(openthread/zigbee): remove CMAC from sdkconfig.defaults

See merge request espressif/esp-idf!44008
2025-12-19 02:02:15 +00:00
Sudeep Mohanty
6a4d6eb6ac test(cmakev2): Enabled component validation tests for cmakev2 2025-12-18 13:54:18 +01:00
Sudeep Mohanty
f951ae5b18 feat(cmakev2): Added component validation checks for cmakev2
This commit adds component validation checks for cmakev2. The file
component_validation.cmake is ported to cmakev2 and updated to work in
the buildv2 environment.
2025-12-18 13:54:13 +01:00
Sudeep Mohanty
d671bf70ee fix(cmakev2): Correctly set SRCS property for cmakev2 components
The function __set_component_cmakev1_properties() sets cmakev1
properties for cmakev2 components to maintain backword copatibility.
However, the function was setting SOURCES property instead of SRCS
property as was intended.
2025-12-18 10:37:49 +01:00
luoxu
1c4f6045cf feat(ble_mesh): fix issues with advtypes 2025-12-18 16:42:56 +08:00
luoxu
b63a0c2b78 feat(ble_mesh): update ble mesh multi connections config 2025-12-18 16:42:56 +08:00
luoxu
48a84e8299 fix(ble_mesh): Fix start callback timing when GATT and ADV bearers coexist
Add BLE_MESH_SEND_START_CB macro to ensure start callback is called
exactly once when both GATT and ADV bearers are used.
2025-12-18 16:40:28 +08:00
luoxu
a301dc1eac feat(ble_mesh): dfd client/server supported 2025-12-18 15:24:50 +08:00
Zhang Wen Xu
3bda023b7d Merge branch 'feat/update_154_get_recent_rssi' into 'master'
feat(802.15.4): support get real time rssi

See merge request espressif/esp-idf!43856
2025-12-18 07:04:24 +00:00
Jiang Jiang Jian
3a40989c7c Merge branch 'fix/fix_esp32s2_phy_issue' into 'master'
fix(phy): fix esp32s2 phy lib issue

Closes WIFIBUG-1579 and WIFIBUG-1613

See merge request espressif/esp-idf!44336
2025-12-18 14:54:26 +08:00
Meet Patel
275f4469d7 docs(watchdogs): Updating API reference guide for Watchdog Timer
Updated the watchdog timer API reference guide to improve explanation
of some existing points.

Also added two new sections in the document:
1. Timeout Stages
2. Common error logs when WDT triggers and possible resolutions
2025-12-18 12:11:34 +05:30
Zhou Xiao
069262e513 fix(ble): added missed spin lock initialization 2025-12-18 14:14:35 +08:00