Skip to content

Commit 9ce315a

Browse files
committed
Increase C027 buffers to handle DTLS packets
1 parent 901dcbd commit 9ce315a

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

net/C027Interface/C027Interface.cpp

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,13 @@ C027Interface::C027Interface(const char *simpin, bool debug)
4343
int C027Interface::connect(const char *apn, const char *username, const char *password)
4444
{
4545
// create the modem
46-
_mdm = new MDMSerial;
46+
_mdm = new MDMSerial(
47+
MDM_IF(MDMTXD, D1),
48+
MDM_IF(MDMRXD, D0),
49+
MDM_IF(MDMBAUD, 115200),
50+
1024,
51+
1024);
52+
4753
if (_debug) {
4854
_mdm->setDebug(4);
4955
} else {

net/C027Interface/C027_Support.lib

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
https://developer.mbed.org/teams/NetworkSocketAPI/code/C027_Support/#596bcb599ac1
1+
https://developer.mbed.org/teams/NetworkSocketAPI/code/C027_Support/#b5614db52fc4

0 commit comments

Comments
 (0)