setAccessPointStatically

suspend fun setAccessPointStatically(ssid: String, ssidStealth: Boolean = false, authMode: ThetaRepository.AuthModeEnum = AuthModeEnum.NONE, password: String? = null, connectionPriority: Int = 1, ipAddress: String, subnetMask: String, defaultGateway: String, proxy: ThetaRepository.Proxy? = null)

Set access point. IP address is set statically.

Parameters

ssid

SSID of the access point.

ssidStealth

True if SSID stealth is enabled.

authMode

Authentication mode.

password

Password. If authMode is "NONE", pass empty String.

connectionPriority

Connection priority 1 to 5. Theta X fixes to 1 (The access point registered later has a higher priority.)

ipAddress

IP address assigns to Theta.

subnetMask

Subnet mask.

defaultGateway

Default gateway.

proxy

Proxy information to be used for the access point.

Throws