set Access Point Statically
suspend fun setAccessPointStatically(ssid: String, ssidStealth: Boolean? = null, authMode: ThetaRepository.AuthModeEnum? = null, 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
ssid Stealth
SSID stealth. Default is false.
auth Mode
AuthModeEnum Authentication mode.
password
Password. This can be set when security is not "none".
connection Priority
Connection priority (1 to 5). Default is 1. Theta X fixed to 1 (The access point registered later has a higher priority.)
ip Address
IP address assigned to camera.
subnet Mask
Subnet mask.
default Gateway
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.