setAccessPointStatically
suspend fun setAccessPointStatically(ssid: String, ssidStealth: Boolean? = null, authMode: ThetaRepository.AuthModeEnum = AuthModeEnum.NONE, password: String? = null, connectionPriority: Int? = null, ipAddress: String, subnetMask: String, defaultGateway: String, dns1: String? = null, dns2: String? = null, proxy: ThetaRepository.Proxy? = null)
Set access point. IP address is set statically.
Parameters
ssid
SSID
ssidStealth
SSID stealth. Default is false.
authMode
AuthModeEnum Authentication mode.
password
Password. This can be set when security is not "none".
connectionPriority
Connection priority (1 to 5). Default is 1. Theta X fixed to 1 (The access point registered later has a higher priority.)
ipAddress
IP address assigned to camera.
subnetMask
Subnet mask.
defaultGateway
Default gateway.
dns1
Primary DNS server.
dns2
Secondary DNS server.
proxy
Proxy information to be used for the access point.
Throws
If an error occurs in THETA.