User's Manual
Roving Networks Wifly RN-111B User Guide Version 1.16
www.rovingnetworks.com
support@rovingnetworks.com
Phone 408-395-6539
- 13 -
3.1. SET COMMANDS
These commands begin with “set”. There are 6 major categories.
1. COMM- communication and data transfer, timers, matching chars.
2. IP -IP settings.
3. SYS - system settings such as sleep and wake timers.
4. TIME - timer server settings.
5.
UART - serial port settings such as baudrate and parity.
6.
WLAN - wireless interface settings, such as ssid, chan, and security options.
COMM PARAMETERS – TCP connection status strings
set comm close <string> sets the string to send locally when the port is closed.
If no string is desired, use the command set comm close (without the parameter)
set comm open <string> sets the string to send locally when the port is opened.
set comm remote <string> sets the number of bytes to receive before forwarding.
COMM PARAMETERS – receive data forwarding
set comm idle <secs> sets the idle disconnect timer in seconds, causes
disconnect if no transmit or receive data is seen.
set comm match <value> sets the decimal value of the matching character to
search for to initiate forwarding. 0 disables.
set comm size <value> sets the number of bytes to receive before forwarding
0-1 forwards immediately. maximum value = 255 bytes.
set comm time <num *10ms> sets the number of 10 millisecond intervals after a
byte is received to begin forwarding data. 0 disables.
IP PARAMETERS
set ip address <addr> sets the IP address. Numbers are SPACE delimited.
Example : “set ip a 10 10 10 2”
set ip dchp <0,1> Enable or disable DHCP client.
set ip gateway <addr> sets the gateway address.
set ip host <addr> sets the remote host address.
set ip localport <num> sets the local port number.
set ip netmask <value> sets the netmask.
set ip protocol <0,1,2> sets the protocol. 0=UDP, 1=TCP client, 2= TCP server.