Function esp_idf_svc::hal::sys::esp_mesh_set_ap_assoc_expire
source · pub unsafe extern "C" fn esp_mesh_set_ap_assoc_expire(
seconds: i32,
) -> i32
Expand description
@brief Set mesh softAP associate expired time (default:10 seconds) - If mesh softAP hasn’t received any data from an associated child within this time, mesh softAP will take this child inactive and disassociate it. - If mesh softAP is encrypted, this value should be set a greater value, such as 30 seconds.
@param[in] seconds the expired time
@return
- ESP_OK
- ESP_FAIL