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: AerCloud_C027_Sample
Fork of C027_Support by
Revision 113:095982b8f8b4, committed 2014-11-14
- 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;
