Auxiliary Operations
XW-210 WiFi™ Users Manual
6.8.2 Setup Information
The Setup Information request allows the device to receive IP network, remote services and WiFi
network configuration data that it should use. Once this request is properly received, the device will apply
the settings and reboot. There are two variants of this request, one has message ID 0x03 and the other
has message ID 0x06. The only difference in these requests is message ID 0x06 includes fields for WiFi
SSID, security and password.
Once the device has received this command or after the user has configured the device through the
web-pages, this request will be ignored and will return an error. The only way to re-enable this request, is
to reset the device to factory defaults, or re-associate the device to a WiFi network via WPS.
Request:
Header (12 bytes)
ASCII String
ControlByWeb
Message ID (1 byte)
Setup Information request
0x03 -or- 0x06
MAC Address (6 bytes)
Binary version
0x00 0x0c 0xc8 0x00 0x00 0x00
DHCP (1 byte)
Enable DHCP
0x00=Disabled, 0x01=Enabled
Enable Remote Services (1
byte)
Enable Remote Services
0x00=Disabled, 0x01=Enabled
Token (32 bytes)
ASCII String, no null terminator
''xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx”
IP Address (4 bytes)
Network endianness
0xc0 0xa8 0x01 0x02 (192.168.1.2)
Subnet (4 bytes)
Network endianness
0xff 0xff 0xff 0x00 (255.255.255.0)
Gateway (4 bytes)
Network endianness
0xc0 0xa8 0x01 0x01 (192.168.1.1)
Primary DNS (4 bytes)
Network endianness
0x08 0x08 0x08 0x08 (8.8.8.8)
Alternate DNS (4 bytes)
Not used by the XW-210
0x08 0x08 0x04 0x04 (8.8.4.4)
Remote Services Version (1
byte)
Specify protocol version
0x01=1.0, 0x02=2.0
Remote Services port number
(1 byte)
Port Remote Services server is
listening on (Network Endianness)
0x1f 0x40 (8000)
Remote Services Connection
Interval (2 bytes)
Time in minutes between connection
attempts and pushing state.xml
0x00 0x01 (1 minute)
Remote Services uses SSL (1
byte)
Only applicable to Remote Services
Version 2.0
0x00=No SSL, 0x01=Use SSL
Certificate retrieval port number
(2 bytes)
Port used to pass token information
to retrieve certificates
0x01 0xbb (443)
Remote Services host
Null terminated ASCII string
devices.controlbyweb.cloud
Remote Services Connection
String
Null terminated ASCII string
WiFi Security option (1 byte)
Message ID 0x06 only
0x00=none, 0x01=WEP, 0x02=WPA(2)
SSID
Null terminated ASCII string
(message ID 0x06 only)
Password
Null terminated ASCII string
(message ID 0x06 only)
Page 84
Xytronix Research & Design, Inc.
Содержание WebRelay Wireless XW-210I
Страница 1: ......