Commit Graph

548 Commits

Author SHA1 Message Date
luoxu 7c4b104f61 feat(ble_mesh): update log compression for ble mesh lib 2026-01-12 14:51:26 +08:00
luoxu bc2d56b72a feat(ble_mesh): ignored the previous server status to avoid drop target by mistake 2026-01-07 20:17:42 +08:00
luoxu e039b33bb1 feat(ble_mesh): refuse to suspend dfu client when the last chunk sent 2026-01-07 20:17:42 +08:00
luoxu 8c8b43f564 fix(ble_mesh): added internal buffer to store dfu targets
The protocol may still receive DFU-related packets from the
network (such as forwarded or retransmitted ones) after DFU ends,
while the user might release the targets immediately after DFU completion.
However, since the list head is not empty, the protocol could access
already-freed memory when iterating through the targets.
2026-01-07 20:17:42 +08:00
luoxu f959884b2f fix(ble_mesh): fix blob transfer failure handling and chunk processing
- Fix DFU server transfer error state ordering to ensure proper callback delivery
- Add validation to discard chunks when blob server is not in busy state
- Prevent chunk processing when server is not in active transfer state
2026-01-07 20:17:42 +08:00
luoxu 3a8851422f fix(ble_mesh): ensure blob client/server work correctly with varying chunk sizes 2026-01-07 20:17:42 +08:00
luoxu c3faf5559a fix(ble_mesh): Miscellaneous fixes for blob 2026-01-07 20:17:42 +08:00
luoxu 90146a4513 feat(ble_mesh): update lib commit to d48251ab82 2026-01-06 14:45:17 +08:00
luoxu 866a07e954 feat(ble_mesh): fixed issues where the incorrect node oob private setting 2026-01-06 14:45:17 +08:00
luoxu 951856eb5c feat(ble_mesh): supported using little endian crypto components 2026-01-06 14:45:17 +08:00
luoxu 07834d2f74 feat(ble_mesh): unified ble mesh crypto 2026-01-06 14:45:17 +08:00
Ashish Sharma f22006e2f0 feat: migrates bt/ble to PSA APIs 2025-12-30 09:31:49 +05:30
luoxu a232b7c7af feat(ble_mesh): adapt blob cli&srv to long packet 2025-12-29 15:26:01 +08:00
luoxu b9d834edc7 fix(ble_mesh): eliminate deprecated warning for mbt 2025-12-26 16:09:29 +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
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
Island b31cf36a0f Merge branch 'fix/ble_mesh_nimble_gap_event' into 'master'
fix(ble_mesh): fix memory issue in nimble gap event forwarding

Closes BLERP-2443

See merge request espressif/esp-idf!44165
2025-12-15 14:59:51 +08:00
luoxu aeab65c1a7 fix(ble_mesh): fix memory issue in nimble gap event forwarding 2025-12-11 19:54:06 +08:00
luoxu e8bfbbf949 feat(ble_mesh): update lib commit to 4446669404 2025-12-10 14:34:24 +08:00
luoxu 5469f33a91 feat(ble_mesh): ble mesh lib log output func update 2025-12-10 14:34:24 +08:00
luoxu 6d59a91401 fix(ble_mesh): correct long packet segment buffer size calculation 2025-11-26 11:05:45 +08:00
luoxu e4f514ae10 fix(ble_mesh): add type casting for adv data pointer 2025-11-17 14:44:19 +08:00
luoxu 7ae9d8deb6 fix(ble_mesh): resolve C++ compilation issue in net.h
Closes https://github.com/espressif/esp-idf/issues/17868
2025-11-17 14:34:40 +08:00
Island a365e7984a Merge branch 'feat/ble_mesh_lib_log_output_opt' into 'master'
feat(ble_mesh): add ext log initialization functions

Closes BLERP-2336

See merge request espressif/esp-idf!42926
2025-11-13 18:11:35 +08:00
luoxu a027b8cccb feat(ble_mesh): update mesh lib to a4262f4214 2025-11-12 16:55:56 +08:00
luoxu 7b7b9de28d feat(ble_mesh): add ext log initialization functions 2025-11-12 16:55:56 +08:00
zhiweijian cb8b4df798 feat(ble/bluedroid): Supported BLE bluedroid host pawr connection 2025-11-11 20:00:34 +08:00
luoxu d0800c044d fix(ble_mesh): resolve miscellaneous logging issues 2025-11-10 20:07:19 +08:00
Rainer 3a431963e6 fix(ble_mesh): fixed issues with incorrect logs format and position 2025-11-10 20:07:19 +08:00
luoxu ad6aab1396 feat(ble_mesh): Miscellaneous log enhancement for Provisioning 2025-11-10 20:07:19 +08:00
Liu Linyan 1fbf94ae38 feat(ble_mesh): Miscellaneous log enhancement for BLE Mesh 2025-11-10 20:07:19 +08:00
Linyan Liu 6a733ce055 feat(ble_mesh): Miscellaneous update for BLE Mesh 2025-11-10 20:07:19 +08:00
Island 9eff48730e Merge branch 'fix/ble_mesh_fixed_incorrect_log' into 'master'
fix(ble_mesh): fixed incorrect log argument

Closes BLERP-808

See merge request espressif/esp-idf!43025
2025-11-03 16:30:49 +08:00
luoxu 0b20cc4bed fix(ble_mesh): fixed incorrect log argument 2025-11-03 10:41:25 +08:00
Island 3671a41e35 Merge branch 'fix/ble_mesh_trans_enh_seg_rpl' into 'master'
fix(ble_mesh): fixed incorrect rpl behavior in transport enh

Closes BLERP-2342

See merge request espressif/esp-idf!42974
2025-10-30 19:06:52 +08:00
luoxu 6202aa89a6 fix(ble_mesh): check data length before assigning adv data pointer 2025-10-29 20:00:06 +08:00
luoxu 29a722296f fix(ble_mesh): fixed incorrect rpl behavior in transport enh 2025-10-29 17:03:51 +08:00
Island 883eca3119 Merge branch 'feat/ble_mesh_ble_50_micellaneous_fix' into 'master'
fix(ble_mesh): resolve issues in long packet mode

Closes BLERP-2324, BLERP-2323, BLERP-2322, BLERP-2321, BLERP-2320, and BLERP-2319

See merge request espressif/esp-idf!42745
2025-10-22 10:46:54 +08:00
luoxu 1b1a646891 feat(ble_mesh): Adapt DFU/MBT to esp-idf 2025-10-21 17:22:22 +08:00
luoxu 9fd27046c5 feat(ble_mesh): Device Firmware Update (Zephyr v4.0.0) 2025-10-21 17:22:22 +08:00
luoxu 0772e12f58 fix(ble_mesh): resolve issues in long packet mode
- Fix ignored extended advertising parameters from application
- Fix incorrect filtering of extended advertising reports
- Fix segmentation logic errors in long packet mode
2025-10-21 16:00:48 +08:00
luoxu b01490fc95 fix(ble_mesh): fixed the uninitialized relay advertisement queue on provisioner 2025-10-21 15:42:02 +08:00
luoxu 950b000be6 fix(ble_mesh): Fixed an issue where BLE advertisement packets failed to be sent 2025-10-21 15:41:56 +08:00
luoxu 67539296dd fix(ble_mesh): fixed ble50 advertising on bluedroid 2025-10-21 15:41:48 +08:00
luoxu 93a36fbf99 feat(ble_mesh): add BLE 5.0 extended advertising and long packet support
- Add extended advertising configuration with customizable PHY selection (1M, 2M, Coded)
- Implement long packet mode to overcome standard BLE Mesh packet length limitations
- Add configurable advertising parameters: interval, count, channel map, TX power
- Introduce enhanced message context structure for fine-grained advertising control
- Add Kconfig options for buffer management and segment count configuration
- Support both forced and preferred long packet transmission modes
- Update advertising buffer pools to accommodate extended and long packet types
- Add validation for enhanced advertising parameters and packet length limits
- Maintain backward compatibility with existing BLE Mesh functionality
2025-10-11 10:57:46 +08:00
luoxu eece778e55 feat(ble): Support ble log compression(draft) 2025-09-22 17:09:58 +08:00
luoxu 21b934aeb2 feat(ble_mesh): fixed issues with adv evts process 2025-07-22 15:21:58 +08:00