Function esp_idf_hal::sys::esp_mesh_set_ap_authmode
source ยท pub unsafe extern "C" fn esp_mesh_set_ap_authmode(
authmode: u32,
) -> i32
Expand description
@brief Set mesh softAP authentication mode
@attention This API shall be called before mesh is started.
@param[in] authmode authentication mode
@return
- ESP_OK
- ESP_ERR_MESH_ARGUMENT
- ESP_ERR_MESH_NOT_ALLOWED