Forked version with getIMEI support for AerCloud integration

Dependents:   AerCloud_C027_Sample

Fork of C027_Support by u-blox

Files at this revision

API Documentation at this revision

Comitter:
mchowla
Date:
Fri Nov 14 01:27:10 2014 +0000
Parent:
112:aad678f042a6
Commit message:
Remove printfs

Changed in this revision

MDM.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/MDM.cpp	Mon Nov 10 22:39:20 2014 +0000
+++ b/MDM.cpp	Fri Nov 14 01:27:10 2014 +0000
@@ -918,14 +918,13 @@
 bool MDMParser::socketConnect(int socket, const char * host, int port)
 {
     IP ip = gethostbyname(host);
-    printf("Host: %s\n",host);
     if (ip == NOIP)
         return false;
     // connect to socket
     bool ok = false; 
     LOCK();
     if (ISSOCKET(socket) && (_sockets[socket].state == SOCK_CREATED)) {
-        printf("socketConnect(%d,%s,%d)\r\n", socket,host,port);
+        TRACE("socketConnect(%d,%s,%d)\r\n", socket,host,port);
         sendFormated("AT+USOCO=%d,\"" IPSTR "\",%d\r\n", socket, IPNUM(ip), port);
         if (RESP_OK == waitFinalResp())
             ok = _sockets[socket].state = SOCK_CONNECTED;