Function esp_idf_sys::esp_mesh_set_ap_password
source ยท pub unsafe extern "C" fn esp_mesh_set_ap_password(
pwd: *const u8,
len: c_int,
) -> esp_err_t
Expand description
@brief Set mesh softAP password
@attention This API shall be called before mesh is started.
@param[in] pwd pointer to the password @param[in] len password length
@return
- ESP_OK
- ESP_ERR_MESH_ARGUMENT
- ESP_ERR_MESH_NOT_ALLOWED