
!
www.rovingnetworks.com Version 1.0r 9/21/2012 46
Table 16. GPIO Alternative Functions
Role in alternative function
High when the first client associates, Low when all clients leave the network
WiFly module can drive it high to open a TCP connection to a stored host.
When the module drives GPIO5 low, it closes the TCP connection
WiFly module drives it high when a TCP connection is open, low when TCP
connection is closed
PUTTING THE MODULE TO SLEEP & WAKING IT
Table 17 describes the methods for putting the module to sleep.
Table 17. Methods for Putting the Module to Sleep
Go into command mode using $$$ and issue the sleep command.
The module sleeps based on the set sys sleep <value> command setting.
The module sleeps as soon as GPIO8 is held high (4 µs latency). To enable this feature,
use the set sys trigger 0x20 command setting.
Table 18 describes the methods for waking the module.
Table 18. Methods for Waking the Module
Sensor input
(1.2-V DC only)
You can wake the module using sensor pins 0 - 3 (1.2-V DC ONLY). Use the set sys
trigger <value> command to enable the sensors.
The RX pin on the RN-134 and the RN-174 evaluation boards is tied to sensor pin 0 via a
resistor divider network. Use the set sys trigger 1 command to wake the module when it
receives RX data.
NOTE: With this method, the module may drop the first UART data byte. A better method
is to wake the module using the CTS pin.
The CTS pin on the RN-134 and the RN-174 evaluation boards is tied to sensor pin 1 via
a resistor divider network. Use the set sys trigger 2 command to wake the module using
the CTS pin.
The wake timer wakes the module based on the set sys wake <value> command setting.
An input pulse of at least 31 !s (3.3 V) wakes the module.
Comentários a estes Manuais