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: 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
diff -r 0345116b42c8 -r 68708791efac GMMP.cpp
--- 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);
