mbed official WiflyInterface (interface for Roving Networks Wifly modules)
Dependents: Wifly_HelloWorld Websocket_Wifly_HelloWorld RPC_Wifly_HelloWorld HTTPClient_Wifly_HelloWorld ... more
Legacy Networking Libraries
This is an mbed 2 WiFI library. For mbed 5, the networking libraries have been revised to better support additional network stacks and thread safety. View information about WiFi interfaces in mbed OS 5 here.
Revision 7:9d18ac47d27f, committed 2013-10-23
- Comitter:
- bogdanm
- Date:
- Wed Oct 23 14:34:33 2013 +0000
- Parent:
- 6:5176e0864078
- Child:
- 8:e387c1d18663
- Commit message:
- Fix the issue with the library and the RTOS working together by using the new thread safe RawSerial class (instead of Serial).
Changed in this revision
Wifly/Wifly.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/Wifly/Wifly.h Thu Oct 17 23:23:00 2013 +0000 +++ b/Wifly/Wifly.h Wed Oct 23 14:34:33 2013 +0000 @@ -28,6 +28,7 @@ #define WIFLY_H #include "mbed.h" +#include "RawSerial.h" #include "CBuffer.h" #define DEFAULT_WAIT_RESP_TIMEOUT 500 @@ -208,7 +209,7 @@ }; protected: - Serial wifi; + RawSerial wifi; DigitalOut reset_pin; DigitalIn tcp_status; char phrase[30];