User`s guide

RN-WIFLYCR-UG
www.rovingnetworks.com Version 1.2r 4/30/13 page 20
2.3.42 set opt replace <value>
This command sets the replacement character used to indicate spaces in the SSID and
pass phrases string, where <value> is the ASCII value of the character. Each occur-
rence of the replacement character is changed into a space. Only the WiFly command
parser uses this replacement character.
For example, to change the replace character to %, use the set opt replace 0x25 com-
mand (the ASCII value of % is 0x25).
Default: 0x24
Example: set opt replace 0x25 // Sets the replacement character to %
2.3.43 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 infor-
mation. 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 com-
mands.
Default: WiFly-GSX
Example: set opt deviceid my_wifly // Sets the device ID to my_wifly
2.3.44 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
2.3.45 set opt average <value>
This command sets the number of RSSI samples used to calculate the running RSSI
average for the set opt signal command.
Default: 5
Example: set opt average 10 // Sets the average to 10 RSSI readings
2.3.46 set opt signal <value>
This command allows you to configure the threshold level for the RSSI value in infra-
structure mode. If the signal strength (RSSI) falls below <value> dB, the module
declares AP is lost and deauthenticates itself from the network. Thereafter, the module
associates with the network based on the join policy.
This command is useful for applications in which the Wi-Fi module is in a mobile envi-
ronment and frequently enters and leaves the AP’s range.