copy lib

Fork of GMMP by SKTelecom_ThingPlug

Files at this revision

API Documentation at this revision

Comitter:
lesmin
Date:
Thu Aug 13 07:04:29 2015 +0000
Parent:
4: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
--- 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);