ThingPlug GMMP library for mbed
Dependents: ThingPlug_WiFi_Example
Revision 4:bb6c1ee1d5f0, committed 2015-08-13
- Comitter:
- lesmin
- Date:
- Thu Aug 13 07:04:29 2015 +0000
- Parent:
- 3:e841a647d1df
- Commit message:
- added NTP error return
Changed in this revision
GMMP.cpp | Show annotated file Show diff for this revision Revisions of this file |
diff -r e841a647d1df -r bb6c1ee1d5f0 GMMP.cpp --- a/GMMP.cpp Wed Aug 12 08:58:26 2015 +0000 +++ b/GMMP.cpp Thu Aug 13 07:04:29 2015 +0000 @@ -196,12 +196,13 @@ else { printf("Error\r\n"); + return SERVER_CONNECT_ERROR; } if(SetServerInfo(serverIp, nPort, pszGWAuthID, pszDomainCode) != 0) { - return LIB_PARAM_ERROR; + return SERVER_CONNECT_ERROR; } SetTID(0);