typedef struct {
uint8_t vendor_id[2]; /**< The VID_1, VID_2 of Mesh-Lite */
uint8_t mesh_id; /**< The Mesh_ID of Mesh-Lite */
uint8_t max_connect_number; /**< Max number of stations allowed to connect in */
uint8_t max_router_number; /**< Maximum number of trace router number */
uint8_t max_level; /**< The maximum level allowed of Mesh-Lite */
uint8_t max_node_number; /**< The maximum node number of Mesh-Lite */
bool join_mesh_ignore_router_status; /**< Join Mesh no matter whether the node is connected to router */
bool join_mesh_without_configured_wifi; /**< Join Mesh without configured with information */
bool leaf_node; /**< Whether it is a leaf node */
uint32_t ota_data_len; /**< The maximum length of an OTA data transmission */
uint16_t ota_wnd; /**< OTA data transfer window size */
const char* softap_ssid; /**< SoftAP SSID */
const char* softap_password; /**< SoftAP Password */
const char* device_category; /**< Device Category */
} esp_mesh_lite_config_t;
麻烦给说明下这些参数含义,我看有些事没有用到的,后面英文备注不是很理解,还有有办法限制一个mesh网连接路由器的根节点数量吗?现在同时上电会一窝蜂连接路由器
mesh-lite配置问题
Re: mesh-lite配置问题
max_connect_number:设备 softap 下面允许直接连接的 mesh 设备的最大数量
max_router_number:没用到
max_node_number:mesh lite 设备最大数量,这个配置当前还不是很完善,后续会完善该功能
join_mesh_ignore_router_status:配置为 false(Mesh 节点连接路由器才能被选择为可选父节点),配置为 true(选择可选父节点不会检查 Mesh 节点是否连接路由器) 这个配置仅能在 no_router 示例下配置为 true
join_mesh_without_configured_wifi:配置为 true(设备配网配置 wifi 后才能加入 mesh 网络),配置为 false(设备不配网也能加入 mesh 网络)
当前没有办法限制一个 mesh 网连接路由器的根节点数量。而且这个限制应该路由器那边限制吧,只有路由器有承载能力,设备连上去也是合理的,而且后面 mesh 设备连接后会进行融合,或者可以分批次上电。这个后面版本会有优化,避免同时上电存在多个根节点
max_router_number:没用到
max_node_number:mesh lite 设备最大数量,这个配置当前还不是很完善,后续会完善该功能
join_mesh_ignore_router_status:配置为 false(Mesh 节点连接路由器才能被选择为可选父节点),配置为 true(选择可选父节点不会检查 Mesh 节点是否连接路由器) 这个配置仅能在 no_router 示例下配置为 true
join_mesh_without_configured_wifi:配置为 true(设备配网配置 wifi 后才能加入 mesh 网络),配置为 false(设备不配网也能加入 mesh 网络)
当前没有办法限制一个 mesh 网连接路由器的根节点数量。而且这个限制应该路由器那边限制吧,只有路由器有承载能力,设备连上去也是合理的,而且后面 mesh 设备连接后会进行融合,或者可以分批次上电。这个后面版本会有优化,避免同时上电存在多个根节点
Who is online
Users browsing this forum: No registered users and 1 guest
