Library to use a wifly module: RN 131 C/G
Dependents: RN-XV_simple_server
Diff: Wifly.h
- Revision:
- 4:06ca04e2e279
- Parent:
- 3:e6f1c618da66
- Child:
- 5:9890eb81f730
--- a/Wifly.h Fri Aug 12 14:09:54 2011 +0000 +++ b/Wifly.h Fri Aug 12 14:46:42 2011 +0000 @@ -173,6 +173,15 @@ */ void putc(char c); + /** + * Change the baudrate of the wifi module. The modification will be effective after a reboot. + * After a baudrate modification, you have to use the correct parameters in the Wifly constructor. + * + * @param baudrate new baudrate + * @return true if the baudrate has been changed, false otherwise + */ + bool changeBaudrate(int baudrate); + private: