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