Commit Graph
100 Commits
Author SHA1 Message Date
luoxu b738036ee5 feat(ble_mesh): fixed configuration of core nums 2026-03-20 13:59:28 +08:00
Luo Xu e1859383ee feat(ble): update log compression for bluedroid
(cherry picked from commit 05783fafd7)

Co-authored-by: luoxu <luoxu@espressif.com>
2026-03-02 09:43:22 +08:00
Luo Xu 0b2d1a6860 feat(ble_mesh): enable log full compression function for bluedroid host
(cherry picked from commit 4cf88ce078)

Co-authored-by: luoxu <luoxu@espressif.com>
2026-03-02 09:43:22 +08:00
Luo Xu 4fbf222330 feat(ble_mesh): restore ble mesh for esp32c5/c61
(cherry picked from commit b2143d271e)

Co-authored-by: luoxu <luoxu@espressif.com>
2026-03-02 00:04:50 +08:00
Luo Xu f06aa06c78 fix(ble_mesh):fixed nimble connection failed
(cherry picked from commit 2af193dac4)

Co-authored-by: luoxu <luoxu@espressif.com>
2026-02-27 17:43:24 +08:00
Luo Xu e61f9a42df feat(ble_mesh): ignored the previous server status to avoid drop target by mistake
(cherry picked from commit bc2d56b72a)

Co-authored-by: luoxu <luoxu@espressif.com>
2026-02-25 15:46:11 +08:00
Luo Xu b1c48b1e58 feat(ble_mesh): refuse to suspend dfu client when the last chunk sent
(cherry picked from commit e039b33bb1)

Co-authored-by: luoxu <luoxu@espressif.com>
2026-02-25 15:46:11 +08:00
Luo Xu 2b72226422 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.


(cherry picked from commit 8c8b43f564)

Co-authored-by: luoxu <luoxu@espressif.com>
2026-02-25 15:46:11 +08:00
Luo Xu 9af31f244e 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


(cherry picked from commit f959884b2f)

Co-authored-by: luoxu <luoxu@espressif.com>
2026-02-25 15:46:11 +08:00
Luo Xu 57f0929cd2 fix(ble_mesh): ensure blob client/server work correctly with varying chunk sizes
(cherry picked from commit 3a8851422f)

Co-authored-by: luoxu <luoxu@espressif.com>
2026-02-25 15:46:11 +08:00
Luo Xu c640c3d7ff fix(ble_mesh): Miscellaneous fixes for blob
(cherry picked from commit c3faf5559a)

Co-authored-by: luoxu <luoxu@espressif.com>
2026-02-25 15:46:11 +08:00
Luo Xu afd63b70dd feat(ble_mesh): update log compression for ble mesh lib
(cherry picked from commit 7c4b104f61)

Co-authored-by: luoxu <luoxu@espressif.com>
2026-01-15 17:43:33 +08:00
luoxu f28bf3057e feat(ble): Make Tinycrypto the default encryption choice for BLE components 2026-01-06 15:01:03 +08:00
luoxu 87969e4905 feat(ble_mesh): update lib commit to d48251ab82 2026-01-06 15:01:03 +08:00
luoxu 43f92dfc1a feat(ble_mesh): fixed issues where the incorrect node oob private setting 2026-01-06 15:01:03 +08:00
luoxu 650824bad0 feat(ble_mesh): supported using little endian crypto components 2026-01-06 15:01:03 +08:00
luoxu a19a40066e feat(ble_mesh): unified ble mesh crypto 2026-01-06 15:01:03 +08:00
Luo Xu e7c5793f92 fix(ble_mesh): eliminate deprecated warning for mbt
(cherry picked from commit b9d834edc7)

Co-authored-by: luoxu <luoxu@espressif.com>
2026-01-05 00:04:54 +08:00
Luo Xu f4c07b6702 feat(ble_mesh): adapt blob cli&srv to long packet
(cherry picked from commit a232b7c7af)

Co-authored-by: luoxu <luoxu@espressif.com>
2026-01-05 00:04:35 +08:00
luoxu 6e34934433 feat(ble_mesh): dfd client/server supported 2025-12-22 21:20:39 +08:00
Luo Xu 0d4000caf0 feat(ble_mesh): fix issues with advtypes
(cherry picked from commit 1c4f6045cf)

Co-authored-by: luoxu <luoxu@espressif.com>
2025-12-19 13:43:29 +08:00
Luo Xu 9ea0f24646 feat(ble_mesh): update ble mesh multi connections config
(cherry picked from commit b63a0c2b78)

Co-authored-by: luoxu <luoxu@espressif.com>
2025-12-19 13:43:29 +08:00
Luo Xu df0150a16f 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.


(cherry picked from commit 48a84e8299)

Co-authored-by: luoxu <luoxu@espressif.com>
2025-12-19 13:43:29 +08:00
Luo Xu 62276a3a0e fix(ble_mesh): fixed incorrect rpl behavior in transport enh
(cherry picked from commit 29a722296f)

Co-authored-by: luoxu <luoxu@espressif.com>
2025-12-18 17:43:17 +08:00
Luo Xu d536847cad fix(ble_mesh): fix memory issue in nimble gap event forwarding
(cherry picked from commit aeab65c1a7)

Co-authored-by: luoxu <luoxu@espressif.com>
2025-12-15 17:43:28 +08:00
luoxu 0a716606c7 feat(ble_mesh): update lib commit to 4446669404 2025-12-10 14:35:33 +08:00
Luo Xu 64a6b496b2 feat(ble_mesh): add ext log initialization functions
(cherry picked from commit 7b7b9de28d)

Co-authored-by: luoxu <luoxu@espressif.com>
2025-12-10 14:35:32 +08:00
Luo Xu e2566b8759 fix(ble_mesh): correct long packet segment buffer size calculation
(cherry picked from commit 6d59a91401)

Co-authored-by: luoxu <luoxu@espressif.com>
2025-12-02 00:05:36 +08:00
Luo Xu 33fd3eeebc fix(ble_mesh): add proper memory cleanup in composition data parsing
(cherry picked from commit a45bb6c5da)

Co-authored-by: luoxu <luoxu@espressif.com>
2025-11-28 17:43:52 +08:00
Luo Xu 582b6c066e refactor(ble): modularize compressed log scripts for better maintainability
(cherry picked from commit 0cf6f50179)

Co-authored-by: luoxu <luoxu@espressif.com>
2025-11-25 10:40:42 +08:00
luoxu c0a5d359bb fix(ble_mesh): fixed incorrect log argument 2025-11-24 20:43:19 +08:00
Luo Xu 8f0b664a5b fix(ble_mesh): add type casting for adv data pointer
(cherry picked from commit e4f514ae10)

Co-authored-by: luoxu <luoxu@espressif.com>
2025-11-17 21:43:17 +08:00
Luo Xu cbcff99511 fix(ble_mesh): resolve C++ compilation issue in net.h
Closes https://github.com/espressif/esp-idf/issues/17868


(cherry picked from commit 7ae9d8deb6)

Co-authored-by: luoxu <luoxu@espressif.com>
2025-11-17 21:43:17 +08:00
luoxu 6b97b01c55 fix(ble_mesh): resolve miscellaneous logging issues 2025-11-13 17:12:25 +08:00
luoxu e1d539d1ff feat(ble_mesh): Miscellaneous log enhancement for Provisioning 2025-11-13 17:12:14 +08:00
Luo Xu f8fc421400 fix(ble_mesh): check data length before assigning adv data pointer
(cherry picked from commit 6202aa89a6)

Co-authored-by: luoxu <luoxu@espressif.com>
2025-10-30 13:43:15 +08:00
luoxu 9f62db74d3 fix(bt): Fixed the issue of duplicate MAX macro definitions 2025-10-21 17:22:22 +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 ed0ae79d24 feat(ble): add libraries related to ble log compression 2025-09-22 17:09:58 +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
luoxu 4905b6eae1 feat(ble_mesh): add adv lock to avoid allocated buffers 2025-07-22 15:21:58 +08:00
luoxu 334e2bf8ab feat(ble_mesh): Add lock to avoid tx being modified at the same time 2025-07-22 15:21:58 +08:00
luoxu 7f95986a0e feat(ble_mesh): update lib to f15b27e2d2 2025-06-03 15:34:32 +08:00
luoxu 224b7e158d fix(ble_mesh): fixed issue with recv ntf before ccc done 2025-06-03 15:34:32 +08:00
luoxu 7738bca124 fix(ble_mesh): fixed proxy server might send segment message with incorrect format 2025-06-03 15:34:32 +08:00
luoxu d4cd6e5741 feat(ble_mesh): support ble 50 for esp32c6 series chip 2025-06-03 15:34:32 +08:00
luoxu ca30088aa8 fix(ble_mesh): fixed issues with proxy solic pdu adv 2025-05-29 14:40:49 +08:00
luoxu 5f743900e7 feat(ble_mesh): unify tinycrypto component 2025-05-28 17:35:37 +08:00
luoxu ffdd4d6c7b feat(ble_mesh): update lib to bbb57d10f9 2025-05-27 20:04:48 +08:00
luoxu 643e6ffdf1 feat(ble_mesh): Change the type of rpl size from uint8 to uint16 2025-05-27 17:31:42 +08:00
luoxu 6297edade5 fix(ble_mesh): fixed the issue of incorrect proxy adv flag setting 2025-05-15 15:04:57 +08:00
luoxu ad1073693e fix(ble_mesh): fixed issue with insufficient link close transmit cnt 2025-04-29 10:45:52 +08:00
luoxu 91278811a4 fix(ble_mesh): remove tx pending assert 2025-04-23 14:11:00 +08:00
luoxu 4803cea3cc fix(ble_mesh): fixed issues with decrypt failed when resending messages 2025-04-18 14:54:22 +08:00
luoxu 183a931084 fix(ble_mesh): fixed issue where private beacon used incorrect adv type 2025-03-19 14:11:43 +08:00
luoxu 98091ebb0e fix(ble_mesh): update lib to 80130ecdd8 2025-03-19 14:06:19 +08:00
luoxu cecd8d1c60 fix(ble_mesh): fixed some issues with ble50 2025-03-19 14:06:19 +08:00
luoxu 689b10e7ac feat(ble_mesh): multi adv instance support 2024-12-27 10:41:18 +08:00
luoxu 30b257c61b feat(ble_mesh): ble mesh queue support 2024-12-27 10:41:18 +08:00
Luo Xu a7622efd0c feat(ble_mesh): select BT_NIMBLE_HIGH_DUTY_ADV_ITVL
(cherry picked from commit 6faf0a59fdcf063d40fc1000a209341318131185)

Co-authored-by: luoxu <luoxu@espressif.com>
2024-12-12 10:59:28 +08:00
luoxu 72f46b82a1 fix(ble_mesh): compile bug fixed for ble mesh on ble 5.0 2024-12-11 11:29:05 +08:00
luoxu 589ebfc1d6 fix(ble_mesh): Miscellaneous update 2024-12-04 11:08:42 +08:00
luoxu e3ebb84ede feat(ble_mesh): Remote Provisioning Server UUID Matchs Supported 2024-11-29 19:32:40 +08:00
luoxu a68768e139 fix(ble_mesh): Remote Provisioning Client/Server bugs fixed 2024-11-29 19:32:40 +08:00
luoxu 167cd4762b fix(ble_mesh): fixed heartbeat issue 2024-11-14 19:38:20 +08:00
luoxu 74c847210d feat(ble_mesh): Proxy Client/Server Coexists Support 2024-11-14 19:22:59 +08:00
luoxu a86bb375f7 feat(ble_mesh): Support BLE 5.0 for BLE Mesh 2024-11-08 14:17:52 +08:00
luoxu c7a4c1cf37 feat(ble_mesh): esp32c61 support for ble mesh lib 2024-10-23 16:57:59 +08:00
luoxu f43b1d2dea feat(ble_mesh): esp32c61 support for ble mesh 2024-10-23 16:57:59 +08:00
luoxu 024306f4bf feat(ble_mesh): esp32c5 lib update 2024-10-08 19:15:53 +08:00
luoxu aa022b14ce feat(ble_mesh): esp ble mesh v1.1 features enable/disable supported 2024-10-08 15:02:08 +08:00
luoxu fde00f570a feat(ble_mesh): ble mesh lib flash size optimized 2024-09-19 12:14:32 +08:00
luoxu 5100917b5a feat(ble_mesh): Support BLE Mesh Example for esp32c5 2024-08-01 14:28:36 +08:00
luoxu a16d90ac02 feat(ble_mesh): Support BLE Mesh lib for esp32c5 2024-08-01 14:28:36 +08:00
luoxu bacae23734 feat(ble_mesh): Support BLE Mesh for esp32c5 2024-08-01 14:28:36 +08:00
luoxu 62e3f414a1 feat(ble_mesh): mesh lib update to aff87bf33a 2024-08-01 14:28:36 +08:00
luoxu b0367f5f2f feat(ble_mesh): disable some models by default 2024-07-29 16:02:36 +08:00
luoxu 7c338ac26c fix(ble_mesh): fixed BLEMESH24-76 2024-07-18 10:51:46 +08:00
luoxu 62e8043ab3 fix(ble_mesh): ensure the operation of adv busy is thread-safe 2024-07-04 12:12:26 +08:00
luoxu 63120f0208 feat(ble_mesh): add cas operation for bt_mesh_atomic_val_t 2024-07-04 12:12:26 +08:00
luoxu cee98dae25 fix(ble_mesh): fix issues in mesh deinit 2024-05-31 11:10:30 +08:00
luoxu 26a693eed7 fix(ble_mesh): change tx/rx lock to recursive mutex to avoid dead lock 2024-05-23 15:12:03 +08:00
luoxu 6ca1651d14 fix(ble_mesh): reference net_buf on correct positions 2024-05-23 15:12:03 +08:00
luoxu 2567b7175d fix(ble_mesh): Create service after service register success 2024-05-23 12:13:45 +08:00
luoxu b6c09192c8 fix(ble_mesh): rpr server and df bug fixed(10f7fdc1a9) 2024-04-17 11:14:18 +08:00
luoxu 0e21cdd18a fix(ble_mesh): fix error condition for heartbeat filter adding node address 2024-04-08 14:25:18 +08:00
luoxu 8160ddee46 fix(ble_mesh): fix NRF mesh(android) provisioning node failed
Closes: https://github.com/espressif/esp-idf/issues/12871
2024-04-02 10:41:57 +08:00
luoxu 22f3006dd1 fix(ble_mesh): Free segment tx buffers on tx reset for SAR enhancement
Closes: https://github.com/espressif/esp-idf/issues/13384
2024-03-29 10:14:14 +08:00
luoxu 36297f93e7 bugfix(ble_mesh): Avoid provisioner handling messages from nodes that have already left the network. 2024-03-13 11:38:27 +08:00
luoxu 99744ec1b9 bugfix(ble_mesh): Close BLEQABR23-798 2024-03-13 11:32:40 +08:00
luoxu 39b1ee4c9a bugfix(ble_mesh): add duplicate scan config for esp32s3 2023-12-21 12:13:13 +08:00
luoxu 63a7db457a feat(ble_mesh): Miscellaneous updates for mesh kconfig, relay related 2023-12-20 12:20:26 +08:00
luoxu 18e91216bd bugfix(ble_mesh): Enable CONFIG_BT_NIMBLE_VS_SUPPORT when using the duplicate scan feature on the NimBLE host. 2023-12-04 03:10:09 +00:00