Library to use a wifly module: RN 131 C/G
Dependents: RN-XV_simple_server
Diff: Wifly.h
- Revision:
- 11:6eb90004d92a
- Parent:
- 10:d3e3e925f62f
- Child:
- 12:fd6874542b28
--- a/Wifly.h Tue Sep 06 16:44:24 2011 +0000 +++ b/Wifly.h Wed Sep 21 09:31:47 2011 +0000 @@ -125,7 +125,7 @@ * *@param str string to be read */ - void read(char * str); + bool read(char * str); /** * To enter in command mode (we can configure the module) @@ -185,14 +185,14 @@ bool wpa; bool adhoc; bool dhcp; - char * phrase; - char * ssid; - char * ip; - char * netmask; + char phrase[30]; + char ssid[30]; + char ip[20]; + char netmask[20]; int channel; - char tmp_buf_rx[100]; - char buf_rx[100]; + char tmp_buf_rx[200]; + char buf_rx[200]; volatile int length; volatile bool new_msg;