Own fork of C027_Support
Dependents: MbedSmartRestMain MbedSmartRestMain
Fork of C027_Support by
Revision 125:246587b92b3b, committed 2015-04-13
- Comitter:
- xinlei
- Date:
- Mon Apr 13 14:17:37 2015 +0000
- Parent:
- 124:db878a234544
- Child:
- 126:b43dbe49091c
- Commit message:
Changed in this revision
MDM.cpp | Show annotated file Show diff for this revision Revisions of this file |
MDMAPN.h | Show annotated file Show diff for this revision Revisions of this file |
--- a/MDM.cpp Thu Mar 12 17:10:17 2015 +0000 +++ b/MDM.cpp Mon Apr 13 14:17:37 2015 +0000 @@ -1113,8 +1113,9 @@ LOCK(); if (ISSOCKET(socket)) { if (_sockets[socket].connected) { - if (_sockets[socket].pending < blk) + if (_sockets[socket].pending < blk) { blk = _sockets[socket].pending; + } if (blk > 0) { sendFormated("AT+USORD=%d,%d\r\n",_sockets[socket].handle, blk); if (RESP_OK == waitFinalResp(_cbUSORD, buf)) {
--- a/MDMAPN.h Thu Mar 12 17:10:17 2015 +0000 +++ b/MDMAPN.h Mon Apr 13 14:17:37 2015 +0000 @@ -56,9 +56,9 @@ _APN("uninet","uninet","uninet") }, // 262 Germany - DE - { /* T-Mobile */ "262-01", _APN("internet.t-mobile","t-mobile","tm") }, - { /* T-Mobile */ "262-02,06", - _APN("m2m.business",,) }, +// { /* T-Mobile */ "262-01", _APN("internet.t-mobile","t-mobile","tm") }, + { /* T-Mobile */ "262-02,06", _APN("m2m.business",,) }, + { /* T-Mobile */ "262-01", _APN("internet.m2mportal.de", "m2m", "sim") }, // 222 Italy - IT { /* TIM */ "222-01", _APN("ibox.tim.it",,) },