pub unsafe extern "C" fn esp_mesh_set_ap_assoc_expire(
    seconds: c_int
) -> esp_err_t
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