Library to use a wifly module: RN 131 C/G
Dependents: RN-XV_simple_server
Diff: Wifly.h
- Revision:
- 3:e6f1c618da66
- Parent:
- 2:dd0911f3af8e
- Child:
- 4:06ca04e2e279
--- a/Wifly.h Fri Aug 12 11:30:40 2011 +0000 +++ b/Wifly.h Fri Aug 12 14:09:54 2011 +0000 @@ -63,7 +63,7 @@ public: /** - * Constructor for joining open, wep or wpa securized networks + * Constructor for joining open, wep or wpa secured networks * * @param tx mbed pin to use for tx line of Serial interface * @param rx mbed pin to use for rx line of Serial interface @@ -99,7 +99,8 @@ * @param stop_bits number of stop bits (default: 1) */ Wifly( PinName tx, PinName rx, PinName reset, char * ssid, char * ip = "169.254.1.1", - char * netmask = "255.255.0.0", int channel = 1, int baudrate = 9600, int bits = 8, Serial::Parity parity = Serial::None, int stop_bits = 1); + char * netmask = "255.255.0.0", int channel = 1, int baudrate = 9600, int bits = 8, + Serial::Parity parity = Serial::None, int stop_bits = 1); /** * Send a string to the wifi module by serial port