Library to use a wifly module: RN 131 C/G
Dependents: RN-XV_simple_server
Diff: Wifly.h
- Revision:
- 6:f2d3f1528280
- Parent:
- 5:9890eb81f730
- Child:
- 8:d72bfdccb5d8
--- a/Wifly.h Fri Aug 12 15:12:57 2011 +0000 +++ b/Wifly.h Fri Aug 12 15:15:04 2011 +0000 @@ -71,8 +71,9 @@ * @param ssid ssid of the network * @param phrase WEP or WPA key * @param wpa true if wpa security false otherwise - * @param ip ip of the wifi module (default: NULL) - * @param netmask netmask (default: NULL) + * @param ip ip of the wifi module if dhcp = false (default: NULL) + * @param netmask netmask if dhcp = false (default: NULL) + * @param dhcp enable or disable dhcp (default: true) * @param baudrate speed of the communication (default: 9600) */ Wifly( PinName tx, PinName rx, PinName reset, char * ssid, char * phrase, bool wpa, @@ -88,7 +89,7 @@ * @param ssid ssid of the adhoc network which will be created * @param ip ip of the wifi module (default: "169.254.1.1") * @param netmask netmask (default: "255.255.0.0") - * @param channelchannel (default: "1") + * @param channel channel (default: "1") * @param baudrate speed of the communication (default: 9600) */ Wifly( PinName tx, PinName rx, PinName reset, char * ssid, char * ip = "169.254.1.1",