DPAC

Archive for August, 2009

WiFly Wireless Module

without comments

RN-134B Wireless Device

Our first task was to bring up the wireless device. We opted to use the RN-134B from Roving Networks. The benefit to this device was that it had a full TCP/IP stack already, and was easily addressable over RS232 or TTL UART. It can connect to 802.11b/g networks with WEP/WPA(2) security.

We first connected it directly to a PC over a RS232 cable and communicated with it through Telnet. Once you configured the wireless settings, it was as easy as sending connect serverURL.com, and then you could directly send HTTP traffic back and forth. Our first challenge was learning more about HTTP, and how to format GET requests to acquire the data we wanted. The trick was sending CR and LF bytes at the end of each line, and an additional CRLF at the end.

GET http://www.egaertner.com/ HTTP/1.1CRLF
Host: www.egaertner.comCRLF
CRLF

Data being sent to and coming back from the WiFly

Written by egaertner

August 28th, 2009 at 8:03 pm

Posted in Worklog