From e12da763d351f4ef7b2e306dbc222a78e8f725a2 Mon Sep 17 00:00:00 2001 From: alisa Date: Wed, 6 Sep 2023 11:16:31 +0800 Subject: [PATCH] =?UTF-8?q?[LPA]1.=E4=BF=AE=E6=94=B9lpa=E7=9A=84buf?= =?UTF-8?q?=E8=A7=A3=E5=86=B3=E8=8E=B7=E5=8F=96esim=E8=B5=84=E6=BA=90?= =?UTF-8?q?=E5=A4=B1=E8=B4=A5=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../source/sf_lpa/LPA_SDK/src/driver/semedia_genericmodem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/application/source/sf_app/code/source/sf_lpa/LPA_SDK/src/driver/semedia_genericmodem.c b/code/application/source/sf_app/code/source/sf_lpa/LPA_SDK/src/driver/semedia_genericmodem.c index 70b8bcda1..e7f08ee32 100755 --- a/code/application/source/sf_app/code/source/sf_lpa/LPA_SDK/src/driver/semedia_genericmodem.c +++ b/code/application/source/sf_app/code/source/sf_lpa/LPA_SDK/src/driver/semedia_genericmodem.c @@ -87,7 +87,7 @@ bool _seMediaDriverUpdateModemCommunicationPortConfiguration(HANDLE pModemHandle bool _seMediaDriverUpdateModemCommunicationTimeOutConfiguration(HANDLE pModemHandle); #endif // LPA_SDK__PLATFORM_WIN -#define GENERIC_MODEM_RESPONSE_BUFFER_SIZE 1536 // Can be increased in case modem perform multiple GetResponse chaining by itself +#define GENERIC_MODEM_RESPONSE_BUFFER_SIZE 2048 // Can be increased in case modem perform multiple GetResponse chaining by itself static char responseBuffer[GENERIC_MODEM_RESPONSE_BUFFER_SIZE]; #define GM_AT_COMMAND_BUFFER_SIZE 600 // AT command (Can vary) + (APDU header (5x2) + APDU data (255x2) + 2 quotes => 522) + '\0' => Commonly 537 characters, keep comfortable security