pub unsafe extern "C" fn esp_mesh_set_ap_authmode(
    authmode: wifi_auth_mode_t
) -> esp_err_t
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