mirror of https://github.com/ARMmbed/mbed-os.git
Increase C027 buffers to handle DTLS packets
parent
901dcbd893
commit
9ce315a18c
|
@ -43,7 +43,13 @@ C027Interface::C027Interface(const char *simpin, bool debug)
|
||||||
int C027Interface::connect(const char *apn, const char *username, const char *password)
|
int C027Interface::connect(const char *apn, const char *username, const char *password)
|
||||||
{
|
{
|
||||||
// create the modem
|
// 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) {
|
if (_debug) {
|
||||||
_mdm->setDebug(4);
|
_mdm->setDebug(4);
|
||||||
} else {
|
} else {
|
||||||
|
|
|
@ -1 +1 @@
|
||||||
https://developer.mbed.org/teams/NetworkSocketAPI/code/C027_Support/#596bcb599ac1
|
https://developer.mbed.org/teams/NetworkSocketAPI/code/C027_Support/#b5614db52fc4
|
||||||
|
|
Loading…
Reference in New Issue