User`s guide

RN-WIFLYCR-UG
www.rovingnetworks.com Version 1.2r 4/30/13 page 19
2.3.39 set ip tcp-mode <mask>
This command controls the TCP connect timers, DNS preferences, and remote config-
uration options. <mask> is a hex number referring to a bit-mapped register as shown
in Figure 2-3.
FIGURE 2-3: SET IP TCP-MODE COMMAND BIT-MAPPED REGISTER
Default: 0x0
Example: set ip tcp-mode 0x4 // Forces the module to use DNS
set ip tcp-mode 0x10 // Disables remote configuration
2.3.40 set opt jointmr <value>
This command sets the join timer, which is the length of time (in ms) the join function
waits for the access point to complete the association process. <value> is a decimal
number representing the number of ms. This timer is also used as the timeout for the
WPA handshaking process.
Default: 1000
Example set opt jointmr 1050 // Sets the join timer to 1,050 ms
2.3.41 set opt format <flag>
The command sets the HTTP client/web server information, where <flag> is a bit-
mapped register as shown in Figure 2-4. See “Using the HTML Client Feature” on
page 77 for more details.
FIGURE 2-4: SET OPT FORMAT COMMAND BIT-MAPPED REGISTER
Default: 0x00
Example: set opt format 0x7 // Module sends sensor values
Note: The TCPMODE register is available in firmware version 2.27 and higher.
12340
Shorten the TCP connect timer (use with bit 1).
Shorten the TCP connect timer (use with bit 0).
Forces the module to use DNS rst to resolve the IP address, even if the host IP is set.
Reserved.
Disables remote conguration for security purposes.
12340
Automatically send an HTML header-based broadcast interval.
Send users binary data (converted to ASCII hex).
Sample the GPIO and ADC pins and format to ASCII hex.
Appends &id=<value>, where <value> is the device ID string that was set using set opt device <string>.
Appends the following key/value pairs to the HTTP message: &rtc=<time>, &mac=<address>,
&bss=<access point address>, &bat=<battery voltage>, &io=<GPIO in hex>, &wake=<wake reason>,
&seq=<sequence value>, where <time> is the realtime clock value in the message as a 32-bit hex value in
format aabbccddee and <sequence value> is a rolling counter of how many web posts have been sent.