WiFly GSX
WiFlyGSX-um.pdf 11/11/2009
www.rovingnetworks.com
Phone 408-395-6539
-
8 -
5
SET Commands
These commands begin with “set”. There are 6 major categories.
ADHOC
-
controls the adhoc parameters
BROADCAST -
controls the broadcast hello/heartbeat UDP message
COMM
- communication and data transfer, timers, matching characters
DNS
- DNS host and domain
FTP
- FTP host address and login information
IP
- IP settings
OPTION
- optional and not frequently used parameters
SYS
- system settings such as sleep and wake timers
TIME
- timer server settings
UART
- serial port settings such as baudrate and parity
WLAN
-
wireless interface settings, such as ssid, chan, and security options
5.1
ADHOC Parameters
set adhoc beacon <ms>
sets the adhoc beacon interval in miliseconds. Default is 100.
set adhoc probe <num>
sets the adhoc probe retry count. Default is 5. This is the number of
consecutive probe responses that can be lost before declaring
“ADHOC is lost” and disabling the network interface.
5.2
BROADCAST Parameters
set broadcast address <addr>
sets the address to which the UDP hello/heartbeat message is
sent. The default address is 255.255.255.255
set broadcast interval <value>
sets the interval at which the hello/heartbeat UDP message is
sent. Interval is specified in seconds. The value is a mask that is
compared to a free running seconds counter. For example if interval
= 0x7, a packet will be sent every 8 seconds. The minimum interval
value is 0x01 (every 2 seconds) and max value is 0xff (every 256
seconds). Setting the value to zero turns off the UDP broadcast. The
default interval is 7.
set broadcast port <port>
sets the port number to which the UDP hello/heartbeat message is
sent. The default port is 55555.
5.3
COMM Parameters
set comm close <string>
sets the ASCI string that is sent to the local UART when the TCP port
is closed. If no string is desired, use 0 as the <string> parameter.
Max string length is 32 characters. Default is *CLOS*
set comm open <string>
sets the string that is sent to the local UART when the TCP port is
opened. If no string is desired, use 0 as the <string> parameter.
Max string length is 32 characters. Default is *OPEN*
set comm remote <string>
sets the string that is sent to the remote TCP client when the TCP
port is opened. If no string is desired, use 0 as the <string>
parameter. Max string length is 32 characters. Default is *HELLO*