Increase C027 buffers to handle DTLS packets

Christopher Haster 2016-05-17 04:06:03 -05:00
parent 901dcbd893
commit 9ce315a18c
2 changed files with 8 additions and 2 deletions

View File

@ -43,7 +43,13 @@ C027Interface::C027Interface(const char *simpin, bool debug)
int C027Interface::connect(const char *apn, const char *username, const char *password)
{
// create the modem
_mdm = new MDMSerial;
_mdm = new MDMSerial(
MDM_IF(MDMTXD, D1),
MDM_IF(MDMRXD, D0),
MDM_IF(MDMBAUD, 115200),
1024,
1024);
if (_debug) {
_mdm->setDebug(4);
} else {

View File

@ -1 +1 @@
https://developer.mbed.org/teams/NetworkSocketAPI/code/C027_Support/#596bcb599ac1
https://developer.mbed.org/teams/NetworkSocketAPI/code/C027_Support/#b5614db52fc4