SoftApManager
class SoftApManager(context: Context, hostNameConfiguration: HostNameConfiguration = HostNameConfiguration())
Entry point to the SoftApManager.
Parameters
context
Context of the application.
hostNameConfiguration
HostNameConfiguration to be used for the SoftApManager.
Constructors
Link copied to clipboard
constructor(context: Context, hostNameConfiguration: HostNameConfiguration = HostNameConfiguration())
Create empty SoftApManager.
Functions
Link copied to clipboard
Connects to an unprovisioned wifi device by establishing a temporary wifi network connection with the given ssid and the password.
Link copied to clipboard
Disconnects from an unprovisioned or a newly provisioned device.
Link copied to clipboard
suspend fun discoverServices(nsdServiceInfo: NsdServiceInfo = NsdServiceInfo()
.apply {
serviceName = "wifiprov"
serviceType = "_http._tcp."
})
Discovers and resolves the mDNS services on the network.
Link copied to clipboard
Lists the SSIDs scanned by the nRF700x device
Link copied to clipboard
Provisions the nRF7002 device a wifi network with the given credentials.