Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: IoT_Ex BatteryModelTester BatteryModelTester
Fork of WiflyInterface by
Diff: Wifly/Wifly.h
- Revision:
- 30:2c704a72d88a
- Parent:
- 26:eaaedb036df1
- Child:
- 31:2846355deb7e
diff -r c991041e766e -r 2c704a72d88a Wifly/Wifly.h --- a/Wifly/Wifly.h Wed May 04 14:31:22 2016 +0000 +++ b/Wifly/Wifly.h Wed May 04 22:09:22 2016 +0000 @@ -203,6 +203,14 @@ bool sendCommand(const char * cmd, const char * ack = NULL, char * res = NULL, int timeout = DEFAULT_WAIT_RESP_TIMEOUT); /** + * Check if the wifly module is still connected to the network: + * + * @return 0: if not connected + * 1: if connected + */ + int checkNetworkStatus(void); + + /** * Return true if the module is using dhcp * * @return true if the module is using dhcp