www.rovingnetworks.com
Version 1.0r 9/21/2012
55
RN -W IFLYCR -U M
Figure 11. Controlling Connections with the GPIO Pins
Embedded
Microprocessor
WiFly
Module
GPIO4 = High by WiFly Module
GPIO5 = High by Microprocessor
GPIO6 = High by WiFly Module
Event:
The WiFly module is associated with
an access point and has a valid IP address.
The WiFly module is instructed to open a TCP/IP
connection to the stored remote host.
Event:
The WiFly module successfully opens the
TCP connection to the stored remote host.
This signal instructs the microprocessor that
it is OK to open a TCP connection.
Event:
the microprocessor wants to open a
TCP connection to the stored remote host.
This signal instructs the microprocessor that
the TCP connection is open andit can begin
sending/receiving data over the TCP link. To
close the conenction, the microprocessor
drives GPIO5 low.