pub unsafe extern "C" fn esp_mesh_set_ap_password(
    pwd: *const u8,
    len: i32
) -> i32
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