ThingPlug GMMP library for mbed
Dependents: ThingPlug_WiFi_Example_2 ThingPlug_Ethernet_Example ThingPlug_Ethernet_Example_temp_V2
Fork of GMMP_2 by
Diff: GMMP.cpp
- Revision:
- 9:68708791efac
- Parent:
- 8:0345116b42c8
--- a/GMMP.cpp Wed Aug 12 14:09:30 2015 +0000 +++ b/GMMP.cpp Thu Aug 13 07:09:04 2015 +0000 @@ -178,13 +178,14 @@ else { printf("Error\r\n"); + return SERVER_CONNECT_ERROR; } g_pClient = new Client; //lesmin if(SetServerInfo(serverIp, nPort, pszGWAuthID, pszDomainCode) != 0) { - return LIB_PARAM_ERROR; + return SERVER_CONNECT_ERROR; } SetTID(0);