User manual

!
www.rovingnetworks.com Version 1.0r 9/21/2012 18
RN-WIFLYCR-UM
Figure 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
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
set opt format <flag>
The command sets the HTTP client/web server information, where <flag> is a bit-mapped register as shown in Figure
4. See Using the HTML Client Featureon page 66 for more details.
Figure 4. set opt format Command Bit-Mapped Register
!
Default: 0x00
Example: set opt format 0x7 // The module sends sensor values
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 conguration 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.