Hello,
Did anyone tried mesh with ESP Mesh-Lite? I have started working with it and each node is implementing a bridge functionality to enable STA at one to connect to parent and uses softAP to connect children on other side to make a tree view of Mesh.
This is all nice and working.
My goal is to enable a low power device as a leaf node in ESP Mesh Lite. May be once in a 60-sec communicating device or so. I thought of enabling a leaf node feature of the ESP-Mesh-Lite and see how much the leaf node consumes current. Looks like the ESP-Mesh-Lite doesn't support low power devices even as edge nodes (leaf nodes) due to its bridge functionality which makes SoftAP always ON even in leaf node devices. So i tried following two experiments.
1. There is a define to make a device as a Leaf Node
When the mesh lite configuration is defined for a node using the below statement, there is an argument in the configuration to tell to make the device as a leaf node ( .leaf_node = LEAF_NODE, in the esp_mesh_lite_config_t), i have defined this to be true in the configuration and it has taken correctly i can printed the value and see when executed using esp_mesh_lite_is_leaf_node() function
esp_mesh_lite_config_t mesh_lite_config = ESP_MESH_LITE_DEFAULT_INIT();
I was expecting he will not take any children and his SoftAP role is disabled here but that is not the case, it is working like same router node irrespective of enabling or disabling LeafNode define. So this leaf Node function is latterly not working. Any idea?
2. Since the leaf node define functionality is not working as expected, i have limited the number of levels to 2 in the mesh (.max_level = CONFIG_MESH_LITE_MAXIMUM_LEVEL_ALLOWED) expecting second level node to not to route. This is working in a way that he is not allowing any devices to join to his SoftAP which is good. But softAP seems to be still advertising and functioning, which is really not required to function when it is at highest layer allowed.
Because of this, the radio receiver seems to be always ON due to SoftAP enabled in any configuration of the Mesh Lite node, the current consumed by the end leaf node which is not routing is > 100mA exactly similar to the routing node which is also consuming > 100mA average current.
Anybody experimented with this? Is it possible to enable Low Power devices in the Mesh Lite as end nodes at all? For that to work i believe we need to disable the SoftAP function in the end nodes of Mesh Lite.
Regards
Prasad
ESP Mesh Lite Leaf Node functionality
-
- Posts: 7
- Joined: Mon Sep 11, 2023 9:26 pm
Jump to
- English Forum
- Explore
- News
- General Discussion
- FAQ
- Documentation
- Documentation
- Sample Code
- Discussion Forum
- Hardware
- ESP-IDF
- ESP-BOX
- ESP-ADF
- ESP-MDF
- ESP-WHO
- ESP-SkaiNet
- ESP32 Arduino
- IDEs for ESP-IDF
- ESP-AT
- ESP IoT Solution
- ESP RainMaker
- Rust
- ESP8266
- Report Bugs
- Showcase
- Chinese Forum 中文社区
- 活动区
- 乐鑫活动专区
- 讨论区
- 全国大学生物联网设计竞赛乐鑫答疑专区
- ESP-IDF 中文讨论版
- 《ESP32-C3 物联网工程开发实战》书籍讨论版
- 中文文档讨论版
- ESP-AT 中文讨论版
- ESP-BOX 中文讨论版
- ESP IoT Solution 中文讨论版
- ESP-ADF 中文讨论版
- ESP Mesh 中文讨论版
- ESP Cloud 中文讨论版
- ESP-WHO 中文讨论版
- ESP-SkaiNet 中文讨论版
- ESP 生产支持讨论版
- 硬件问题讨论
- 项目展示
Who is online
Users browsing this forum: No registered users and 54 guests
- All times are UTC
- Top
- Delete cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. ESP8266EX and ESP32 are some of our products.