Reduce the connection time of Root node

pekkin
Posts: 2
Joined: Mon Sep 16, 2019 8:32 am

Reduce the connection time of Root node

Postby pekkin » Fri Sep 27, 2019 9:03 am

Hi
I use get started code from MDF. Everything is good, but when the root node disconnected , usually node became root after 40-50 seconds. I want to reduce this time to 10 seconds, is it possible? I wait for 30 before this log massage
I (108026) wifi: bcn_timout,ap_probe_send_start .
I try to tune this paramets :
#define MWIFI_INIT_CONFIG_DEFAULT() { \
/**< .vote_percentage =*/ CONFIG_MWIFI_VOTE_PERCENTAGE, \
/**< .vote_max_count =*/ CONFIG_MWIFI_VOTE_MAX_COUNT, \
/**< .backoff_rssi =*/ CONFIG_MWIFI_BACKOFF_RSSI, \
/**< .scan_min_count =*/ CONFIG_MWIFI_SCAN_MINI_COUNT, \
/**< .root_conflicts_enable =*/ CONFIG_MWIFI_ROOT_CONFLICTS_ENABLE, \
/**< .root_healing_ms =*/ CONFIG_MWIFI_ROOT_HEALING_MS, \
/**< .capacity_num =*/ CONFIG_MWIFI_CAPACITY_NUM, \
/**< .max_layer =*/ CONFIG_MWIFI_MAX_LAYER, \
/**< .max_connection =*/ CONFIG_MWIFI_MAX_CONNECTION, \
/**< .assoc_expire_ms =*/ CONFIG_MWIFI_ASSOC_EXPIRE_MS, \
/**< .beacon_interval_ms =*/ CONFIG_MWIFI_BEACON_INTERVAL_MS, \
/**< .passive_scan_ms =*/ CONFIG_MWIFI_PASSIVE_SCAN_MS, \
/**< .monitor_duration_ms =*/ CONFIG_MWIFI_MONITOR_DURATION_MS, \
/**< .cnx_rssi =*/ CONFIG_MWIFI_CNX_RSSI, \
/**< .select_rssi =*/ CONFIG_MWIFI_SELECT_RSSI, \
/**< .switch_rssi =*/ CONFIG_MWIFI_SWITCH_RSSI, \
/**< .attempt_count =*/ CONFIG_MWIFI_ATTEMPT_COUNT, \
/**< .monitor_ie_count =*/ CONFIG_MWIFI_MONITOR_IE_COUNT, \
/**< .xon_qsize =*/ CONFIG_MWIFI_XON_QSIZE, \
/**< .retransmit_enable =*/ CONFIG_MWIFI_RETRANSMIT_ENABLE, \
/**< .data_drop_enable =*/ CONFIG_MWIFI_DATA_DROP_ENABLE, \
};
, but it reduce about 5-10 seconds.

ESP_Bond
Posts: 51
Joined: Mon Apr 15, 2019 1:37 pm

Re: Reduce the connection time of Root node

Postby ESP_Bond » Thu Oct 10, 2019 12:16 pm

You only need to modify the Mesh softAP association expiration time to 10000ms.

Image

Who is online

Users browsing this forum: No registered users and 27 guests