User`s guide
RN-WIFLYCR-UG
www.rovingnetworks.com Version 1.2r 4/30/13 page 21
The recommended range for <value> is between 50 and 80. As <value> is lowered, the
module more frequently deauthenticates itself from the AP.
Default: 0
Example: set opt signal 70 // Sets the RSSI threshold to -70 dBm. If
// the RSSI average falls below -70 dBm,
// the module deauthenticates itself.
2.3.47 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.
Default: 0
Example: set q sensor 0xff // Enables all sensor inputs
2.3.48 set q power <value>
This register automatically turns on the sensor power, where <value> is shown in
Tabl e 2-4. This parameter sets an 8-bit register with two 4-bit nibbles. If the top nibble
is set, power is applied upon power up and removed upon power down or sleep. If the
bottom nibble is set, power is applied when a sampling event occurs such as:
• UDP broadcast
• Automatic web posting of sensor data
• Power is removed immediately after sampling is complete
Default: 0
Example: set q power 0x20 // Sets power to 1.2 V automatically
// upon power up
set q power 0x02 // Sets power to 1.2 V when a
// sampling event occurs
set q power 0x40 // Sets power to 3.3 V automatically
// upon power up
Note: This command applies in infrastructure mode only. It is not applicable in soft
AP mode.
You must enable the link monitor for this feature to work.
Note: In versions of firmware prior to 2.23, this command is named set option
sensor.
TABLE 2-4: SET Q POWER COMMAND SENSOR PIN VOLTAGE SETTINGS
Value Sensor Pin Voltage
0 Turn off the sensor power.
1 Ground the sensor pin.
2 1.2-V internal regulated reference.
3 VBATT input pin.
4 3.3-V output of on board regulator.