Setup Information - Xytronix Research & Design CONTROL BY WEB XW-111 User Manual

Wireless digital input monitor
Table of Contents

Advertisement

XW-111™ Wi-Fi Digital Sensor Users Manual

7.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)
Message ID (1 byte)
MAC Address (6 bytes)
DHCP (1 byte)
Enable Remote Services (1
byte)
Token (32 bytes)
IP Address (4 bytes)
Subnet (4 bytes)
Gateway (4 bytes)
Primary DNS (4 bytes)
Alternate DNS (4 bytes)
Remote Services Version (1
byte)
Remote Services port number
(1 byte)
Remote Services Connection
Interval (2 bytes)
Remote Services uses SSL (1
byte)
Certificate retrieval port number
(2 bytes)
Remote Services host
Remote Services Connection
String
WiFi Security option (1 byte)
SSID
Password
Xytronix Research & Design, Inc.
ASCII String
Setup Information request
Binary version
Enable DHCP
Enable Remote Services
ASCII String, no null terminator
Network endianness
Network endianness
Network endianness
Network endianness
Not used by the XW-110-(Plus)
Specify protocol version
Port Remote Services server is
listening on (Network Endianness)
Time in minutes between connection
attempts and pushing state.xml
Only applicable to Remote Services
Version 2.0
Port used to pass token information
to retrieve certificates
Null terminated ASCII string
Null terminated ASCII string
Message ID 0x06 only
Null terminated ASCII string
(message ID 0x06 only)
Null terminated ASCII string
(message ID 0x06 only)
Network Discovery
ControlByWeb
0x03 -or- 0x06
0x00 0x0c 0xc8 0x00 0x00 0x00
0x00=Disabled, 0x01=Enabled
0x00=Disabled, 0x01=Enabled
''xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
0xc0 0xa8 0x01 0x02 (192.168.1.2)
0xff 0xff 0xff 0x00 (255.255.255.0)
0xc0 0xa8 0x01 0x01 (192.168.1.1)
0x08 0x08 0x08 0x08 (8.8.8.8)
0x08 0x08 0x04 0x04 (8.8.4.4)
0x01=1.0, 0x02=2.0
0x1f 0x40 (8000)
0x00 0x01 (1 minute)
0x00=No SSL, 0x01=Use SSL
0x01 0xbb (443)
devices.controlbyweb.cloud
0x00=none, 0x01=WEP, 0x02=WPA(2)
Page 41

Advertisement

Table of Contents
loading

This manual is also suitable for:

Control by web xw-111b

Table of Contents