provision

suspend fun provision(config: WifiConfigDomain): Response<ResponseBody>

Provisions the nRF7002 device a wifi network with the given credentials.

Return

Response received from the device.

Parameters

config

Credentials of the wifi network.

Throws

if the wifi is not enabled.

if the device failed to bind to the connected wifi network. Call connect to connect to the softap and bind to the network.