SNICInterface for ThingPlug Example
Dependents: ThingPlug_WiFi_Example ThingPlug_WiFi_Example_2
Fork of SNICInterface by
Diff: SNIC_WifiInterface.h
- Revision:
- 51:69a9cf901d54
- Parent:
- 43:d80bbb12ffe6
- Child:
- 53:b53ccb9989c4
--- a/SNIC_WifiInterface.h Tue Mar 31 02:53:44 2015 +0000 +++ b/SNIC_WifiInterface.h Tue Mar 31 02:59:47 2015 +0000 @@ -139,6 +139,11 @@ */ int setIPConfig( bool is_DHCP, const char *ip_p=NULL, const char *mask_p=NULL, const char *gateway_p=NULL ); + /** Get the IP address of your SNIC interface + * \return a pointer to a string containing the IP address + */ + static char* getIPAddress(); + private: PinName mUART_tx; PinName mUART_rx;