www.rovingnetworks.com
Version 1.0r 9/21/2012
19
RN -W IFLYCR -U M
set opt replace <
char
>
This command sets the replacement character you use to indicate spaces in the SSID and pass phrases, where
<
char
> is a single character. Each occurrence of the replacement character is changed into a space. Only the WiFly
command parser uses this replacement character.
Default:
$ (0x24)
Example:
set opt replace %
// Sets the replacement character to %
set opt deviceid <
string
>
This command sets the configurable device ID, where <
string
> is up to 32 bytes long. You can use <
string
> for serial
numbers, a product name, or to show other device information. The module sends the device ID as part of the UDP
broadcast hello packet. You can view the device ID’s current value with the
get option
or
show deviceid
commands.
Default:
WiFly-GSX
Example:
set opt deviceid my_wifly
// Sets the device ID to my_wifly
set opt password <
string
>
This command sets the TCP connection password, where <
string
> is up to 32 bytes long. This setting provides
minimal authentication by requiring any remote device that connects to the module to send and match the challenge
<
string
>. When a connection is opened, the module sends the string
PASS?
to the remote host. The remote host must
reply with the exact characters that match the stored password in one TCP packet; otherwise, the module closes the
connection. To disable the password feature, use
0
(the default).
Default:
“” (no password required)
Example:
set opt password my_password
// Sets the TCP connection password to my_password
set q sensor <
mask
>
This command specifies which sensor pins to sample when sending data using the UDP broadcast packet or the
HTTP auto sample function, where <
mask
> is a bit-mapped register.
NOTE:
In versions of firmware prior to 2.23, this command is named
set option sensor
.
Default:
0
Example:
set q sensor 0xff
// Enables all sensor inputs