camera._setAccessPoint command request
Examples:
{
"name": "camera._setAccessPoint",
"parameters": {
"connectionPriority": 1,
"ipAddressAllocation": "dynamic",
"ssid": "ssid0123",
"security": "WPA/WPA2 PSK",
"password": "network security key"
}
}
{
"name": "camera._setAccessPoint",
"parameters": {
"connectionPriority": 1,
"ipAddressAllocation": "static",
"ssid": "ssid0123",
"security": "WPA/WPA2 PSK",
"password": "network security key",
"subnetMask": "255.255.255.0",
"defaultGateway": "192.168.100.1",
"ipAddress": "192.168.100.64"
}
}
Property |
Type |
Required |
Description |
name |
const |
yes |
Command to execute |
parameters |
object |
yes |
- |
name
Description: Command to execute
Specific value: "camera._setAccessPoint"
parameters
Property |
Type |
Required |
Description |
ssid |
string |
yes |
SSID |
ssidStealth |
boolean |
no |
True to enable SSID stealth |
security |
enum (of string) |
no |
Authentication mode. Required on initial registration. |
password |
string |
no |
Password. This can be set when security is not “none”. |
connectionPriority |
integer |
no |
Connection priority. One is the top priority. If Theta X, fixed to 1, the access point registered later has a higher priority. |
ipAddressAllocation |
enum (of string) |
no |
IP address allocation method. This can be acquired when SSID is registered as an enable access point. |
ipAddress |
string |
no |
IP address assigned to Theta. This setting must be set when “ipAddressAllocation” is “static”. |
subnetMask |
string |
no |
Subnet Mask. This setting must be set when “ipAddressAllocation” is “static”. |
defaultGateway |
string |
no |
Default Gateway. This setting must be set when “ipAddressAllocation” is “static”. |
_proxy |
object |
no |
Proxy information to be used for the access point. |
ssid
Description: SSID
Restrictions |
|
Max length |
32 |
ssidStealth
|
Definitions |
Type |
boolean |
Default |
false |
Description: True to enable SSID stealth
security
|
Definitions |
Type |
enum (of string) |
Description: Authentication mode. Required on initial registration.
Must be one of:
- “none”
- “WEP”
- “WPA/WPA2 PSK”
password
Description: Password. This can be set when security is not “none”.
connectionPriority
|
Definitions |
Type |
integer |
Default |
1 |
Description: Connection priority. One is the top priority. If Theta X, fixed to 1, the access point registered later has a higher priority.
|
Restrictions |
Minimum |
≥ 1 |
Maximum |
≤ 5 |
ipAddressAllocation
|
Definitions |
Type |
enum (of string) |
Default |
"dynamic" |
Description: IP address allocation method. This can be acquired when SSID is registered as an enable access point.
Must be one of:
ipAddress
Description: IP address assigned to Theta. This setting must be set when “ipAddressAllocation” is “static”.
subnetMask
Description: Subnet Mask. This setting must be set when “ipAddressAllocation” is “static”.
defaultGateway
Description: Default Gateway. This setting must be set when “ipAddressAllocation” is “static”.
_proxy
Description: Proxy information to be used for the access point.
Property |
Type |
Required |
Description |
use |
boolean |
yes |
Use proxy if true |
url |
string |
no |
Domain name or IP address of the proxy server |
port |
integer |
no |
Port number of the proxy server |
userid |
string |
no |
User ID used for proxy authentication |
password |
string |
no |
Password used for proxy authentication |
use
Description: Use proxy if true
url
Description: Domain name or IP address of the proxy server
port
Description: Port number of the proxy server
|
Restrictions |
Minimum |
≥ 1 |
Maximum |
≤ 65535 |
userid
Description: User ID used for proxy authentication
password
Description: Password used for proxy authentication