API reference - Ricoh Theta

camera._setAccessPoint command request

Definitions
Type object

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

Definitions
Type const

Description: Command to execute

Specific value: "camera._setAccessPoint"

parameters

Definitions
Type object
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

Definitions
Type string

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:

password

Definitions
Type string

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

Definitions
Type string

Description: IP address assigned to Theta. This setting must be set when “ipAddressAllocation” is “static”.

subnetMask

Definitions
Type string

Description: Subnet Mask. This setting must be set when “ipAddressAllocation” is “static”.

defaultGateway

Definitions
Type string

Description: Default Gateway. This setting must be set when “ipAddressAllocation” is “static”.

_proxy

Definitions
Type object

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

Definitions
Type boolean

Description: Use proxy if true

url

Definitions
Type string

Description: Domain name or IP address of the proxy server

port

Definitions
Type integer

Description: Port number of the proxy server

Restrictions
Minimum ≥ 1
Maximum ≤ 65535

userid

Definitions
Type string

Description: User ID used for proxy authentication

password

Definitions
Type string

Description: Password used for proxy authentication