diff --git a/UNITTESTS/features/cellular/framework/AT/at_cellulardevice/at_cellulardevicetest.cpp b/UNITTESTS/features/cellular/framework/AT/at_cellulardevice/at_cellulardevicetest.cpp index d0a1630dc2d5..5b489d3d7f87 100644 --- a/UNITTESTS/features/cellular/framework/AT/at_cellulardevice/at_cellulardevicetest.cpp +++ b/UNITTESTS/features/cellular/framework/AT/at_cellulardevice/at_cellulardevicetest.cpp @@ -257,13 +257,6 @@ TEST_F(TestAT_CellularDevice, test_AT_CellularDevice_set_power_save_mode) EXPECT_TRUE(NSAPI_ERROR_DEVICE_ERROR == dev.set_power_save_mode(0)); } -TEST_F(TestAT_CellularDevice, test_AT_CellularDevice_get_send_delay) -{ - FileHandle_stub fh1; - AT_CellularDevice dev(&fh1); - EXPECT_TRUE(0 == dev.get_send_delay()); -} - TEST_F(TestAT_CellularDevice, test_AT_CellularDevice_create_delete_context) { FileHandle_stub fh1; diff --git a/UNITTESTS/stubs/AT_CellularDevice_stub.cpp b/UNITTESTS/stubs/AT_CellularDevice_stub.cpp index e5ec449b4c95..b474ee06b45d 100644 --- a/UNITTESTS/stubs/AT_CellularDevice_stub.cpp +++ b/UNITTESTS/stubs/AT_CellularDevice_stub.cpp @@ -49,7 +49,7 @@ AT_CellularDevice::~AT_CellularDevice() ATHandler *AT_CellularDevice::get_at_handler(FileHandle *fileHandle) { - return ATHandler::get_instance(fileHandle, _queue, _default_timeout, "\r", get_send_delay(), _modem_debug_on); + return ATHandler::get_instance(fileHandle, _queue, _default_timeout, "\r", get_property(AT_CellularDevice::PROPERTY_AT_SEND_DELAY), _modem_debug_on); } ATHandler *AT_CellularDevice::get_at_handler() @@ -88,7 +88,7 @@ CellularNetwork *AT_CellularDevice::open_network(FileHandle *fh) _queue, _default_timeout, "\r", - get_send_delay(), + get_property(AT_CellularDevice::PROPERTY_AT_SEND_DELAY), _modem_debug_on), *this); return _network; } @@ -164,11 +164,6 @@ void AT_CellularDevice::set_timeout(int timeout) _default_timeout = timeout; } -uint16_t AT_CellularDevice::get_send_delay() const -{ - return 0; -} - void AT_CellularDevice::modem_debug_on(bool on) { _modem_debug_on = on; diff --git a/UNITTESTS/target_h/myCellularDevice.h b/UNITTESTS/target_h/myCellularDevice.h index 1078404bc48d..99f7fc6e4201 100644 --- a/UNITTESTS/target_h/myCellularDevice.h +++ b/UNITTESTS/target_h/myCellularDevice.h @@ -115,11 +115,6 @@ class myCellularDevice : public AT_CellularDevice { virtual void set_timeout(int timeout) {} - virtual uint16_t get_send_delay() const - { - return 0; - } - virtual void modem_debug_on(bool on) {} virtual nsapi_error_t init() diff --git a/features/cellular/framework/AT/AT_CellularDevice.cpp b/features/cellular/framework/AT/AT_CellularDevice.cpp index 2aed8c704299..873b9c8714c9 100644 --- a/features/cellular/framework/AT/AT_CellularDevice.cpp +++ b/features/cellular/framework/AT/AT_CellularDevice.cpp @@ -107,7 +107,7 @@ void AT_CellularDevice::setup_at_handler() { set_at_urcs(); - _at->set_send_delay(get_send_delay()); + _at->set_send_delay(get_property(AT_CellularDevice::PROPERTY_AT_SEND_DELAY)); } void AT_CellularDevice::urc_nw_deact() @@ -188,7 +188,7 @@ ATHandler *AT_CellularDevice::get_at_handler(FileHandle *fileHandle) } return ATHandler::get_instance(fileHandle, _queue, _default_timeout, - "\r", get_send_delay(), _modem_debug_on); + "\r", get_property(AT_CellularDevice::PROPERTY_AT_SEND_DELAY), _modem_debug_on); } ATHandler *AT_CellularDevice::get_at_handler() @@ -445,11 +445,6 @@ void AT_CellularDevice::set_timeout(int timeout) } } -uint16_t AT_CellularDevice::get_send_delay() const -{ - return 0; -} - void AT_CellularDevice::modem_debug_on(bool on) { _modem_debug_on = on; diff --git a/features/cellular/framework/AT/AT_CellularDevice.h b/features/cellular/framework/AT/AT_CellularDevice.h index c7959703ce00..10c383628748 100755 --- a/features/cellular/framework/AT/AT_CellularDevice.h +++ b/features/cellular/framework/AT/AT_CellularDevice.h @@ -61,6 +61,7 @@ class AT_CellularDevice : public CellularDevice { PROPERTY_SOCKET_COUNT, // The number of sockets of modem IP stack PROPERTY_IP_TCP, // 0 = not supported, 1 = supported. Modem IP stack has support for TCP PROPERTY_IP_UDP, // 0 = not supported, 1 = supported. Modem IP stack has support for TCP + PROPERTY_AT_SEND_DELAY, // Sending delay between AT commands in ms PROPERTY_MAX }; @@ -100,8 +101,6 @@ class AT_CellularDevice : public CellularDevice { virtual void set_timeout(int timeout); - virtual uint16_t get_send_delay() const; - virtual void modem_debug_on(bool on); virtual nsapi_error_t init(); diff --git a/features/cellular/framework/targets/GEMALTO/CINTERION/GEMALTO_CINTERION.cpp b/features/cellular/framework/targets/GEMALTO/CINTERION/GEMALTO_CINTERION.cpp index e7ebd7e5fd9e..95a48b70670d 100644 --- a/features/cellular/framework/targets/GEMALTO/CINTERION/GEMALTO_CINTERION.cpp +++ b/features/cellular/framework/targets/GEMALTO/CINTERION/GEMALTO_CINTERION.cpp @@ -24,8 +24,6 @@ using namespace mbed; using namespace events; -const uint16_t RESPONSE_TO_SEND_DELAY = 100; // response-to-send delay in milliseconds at bit-rate over 9600 - GEMALTO_CINTERION::Module GEMALTO_CINTERION::_module; GEMALTO_CINTERION::GEMALTO_CINTERION(FileHandle *fh) : AT_CellularDevice(fh) @@ -83,11 +81,6 @@ nsapi_error_t GEMALTO_CINTERION::init() return NSAPI_ERROR_OK; } -uint16_t GEMALTO_CINTERION::get_send_delay() const -{ - return RESPONSE_TO_SEND_DELAY; -} - GEMALTO_CINTERION::Module GEMALTO_CINTERION::get_module() { return _module; @@ -116,6 +109,7 @@ void GEMALTO_CINTERION::init_module_bgs2() 10, // PROPERTY_SOCKET_COUNT 1, // PROPERTY_IP_TCP 1, // PROPERTY_IP_UDP + 100,// PROPERTY_AT_SEND_DELAY, if baud is below 9600 this must be longer }; set_cellular_properties(cellular_properties); _module = ModuleBGS2; @@ -144,6 +138,7 @@ void GEMALTO_CINTERION::init_module_els61() 10, // PROPERTY_SOCKET_COUNT 1, // PROPERTY_IP_TCP 1, // PROPERTY_IP_UDP + 100,// PROPERTY_AT_SEND_DELAY, if baud is below 9600 this must be longer }; set_cellular_properties(cellular_properties); _module = ModuleELS61; @@ -172,6 +167,7 @@ void GEMALTO_CINTERION::init_module_ems31() 10, // PROPERTY_SOCKET_COUNT 1, // PROPERTY_IP_TCP 1, // PROPERTY_IP_UDP + 100,// PROPERTY_AT_SEND_DELAY, if baud is below 9600 this must be longer }; set_cellular_properties(cellular_properties); _module = ModuleEMS31; @@ -200,6 +196,7 @@ void GEMALTO_CINTERION::init_module_ehs5e() 10, // PROPERTY_SOCKET_COUNT 1, // PROPERTY_IP_TCP 1, // PROPERTY_IP_UDP + 100,// PROPERTY_AT_SEND_DELAY, if baud is below 9600 this must be longer }; set_cellular_properties(cellular_properties); _module = ModuleEHS5E; diff --git a/features/cellular/framework/targets/GEMALTO/CINTERION/GEMALTO_CINTERION.h b/features/cellular/framework/targets/GEMALTO/CINTERION/GEMALTO_CINTERION.h index e5013f3d13c7..ca2d6f542abb 100644 --- a/features/cellular/framework/targets/GEMALTO/CINTERION/GEMALTO_CINTERION.h +++ b/features/cellular/framework/targets/GEMALTO/CINTERION/GEMALTO_CINTERION.h @@ -52,7 +52,6 @@ class GEMALTO_CINTERION : public AT_CellularDevice { virtual AT_CellularInformation *open_information_impl(ATHandler &at); protected: - virtual uint16_t get_send_delay() const; virtual nsapi_error_t init(); private: diff --git a/features/cellular/framework/targets/GENERIC/GENERIC_AT3GPP/GENERIC_AT3GPP.cpp b/features/cellular/framework/targets/GENERIC/GENERIC_AT3GPP/GENERIC_AT3GPP.cpp index 1460b1cb25bf..eab01011c9d3 100644 --- a/features/cellular/framework/targets/GENERIC/GENERIC_AT3GPP/GENERIC_AT3GPP.cpp +++ b/features/cellular/framework/targets/GENERIC/GENERIC_AT3GPP/GENERIC_AT3GPP.cpp @@ -41,6 +41,7 @@ static const intptr_t cellular_properties[AT_CellularDevice::PROPERTY_MAX] = { 0, // PROPERTY_SOCKET_COUNT 0, // PROPERTY_IP_TCP 0, // PROPERTY_IP_UDP + 0, // PROPERTY_AT_SEND_DELAY }; GENERIC_AT3GPP::GENERIC_AT3GPP(FileHandle *fh) : AT_CellularDevice(fh) diff --git a/features/cellular/framework/targets/MultiTech/DragonflyNano/PPP/SARA4_PPP.cpp b/features/cellular/framework/targets/MultiTech/DragonflyNano/PPP/SARA4_PPP.cpp index 72ba25bd5824..cacd25582a32 100644 --- a/features/cellular/framework/targets/MultiTech/DragonflyNano/PPP/SARA4_PPP.cpp +++ b/features/cellular/framework/targets/MultiTech/DragonflyNano/PPP/SARA4_PPP.cpp @@ -41,6 +41,7 @@ static const intptr_t cellular_properties[AT_CellularDevice::PROPERTY_MAX] = { 0, // PROPERTY_SOCKET_COUNT 0, // PROPERTY_IP_TCP 0, // PROPERTY_IP_UDP + 0, // PROPERTY_AT_SEND_DELAY }; SARA4_PPP::SARA4_PPP(FileHandle *fh) : AT_CellularDevice(fh) diff --git a/features/cellular/framework/targets/QUECTEL/BC95/QUECTEL_BC95.cpp b/features/cellular/framework/targets/QUECTEL/BC95/QUECTEL_BC95.cpp index 2b052ac1e3bf..9f99a4e8674b 100644 --- a/features/cellular/framework/targets/QUECTEL/BC95/QUECTEL_BC95.cpp +++ b/features/cellular/framework/targets/QUECTEL/BC95/QUECTEL_BC95.cpp @@ -48,6 +48,7 @@ static const intptr_t cellular_properties[AT_CellularDevice::PROPERTY_MAX] = { 7, // PROPERTY_SOCKET_COUNT 1, // PROPERTY_IP_TCP 1, // PROPERTY_IP_UDP + 0, // PROPERTY_AT_SEND_DELAY }; QUECTEL_BC95::QUECTEL_BC95(FileHandle *fh) : AT_CellularDevice(fh) diff --git a/features/cellular/framework/targets/QUECTEL/BG96/QUECTEL_BG96.cpp b/features/cellular/framework/targets/QUECTEL/BG96/QUECTEL_BG96.cpp index 744790163465..35733a7eac67 100644 --- a/features/cellular/framework/targets/QUECTEL/BG96/QUECTEL_BG96.cpp +++ b/features/cellular/framework/targets/QUECTEL/BG96/QUECTEL_BG96.cpp @@ -62,9 +62,10 @@ static const intptr_t cellular_properties[AT_CellularDevice::PROPERTY_MAX] = { 1, // PROPERTY_NON_IP_PDP_TYPE 1, // PROPERTY_AT_CGEREP, 1, // PROPERTY_AT_COPS_FALLBACK_AUTO - 12, // PROPERTY_SOCKET_COUNT + 12, // PROPERTY_SOCKET_COUNT 1, // PROPERTY_IP_TCP 1, // PROPERTY_IP_UDP + 0, // PROPERTY_AT_SEND_DELAY }; QUECTEL_BG96::QUECTEL_BG96(FileHandle *fh, PinName pwr, bool active_high, PinName rst) diff --git a/features/cellular/framework/targets/QUECTEL/EC2X/QUECTEL_EC2X.cpp b/features/cellular/framework/targets/QUECTEL/EC2X/QUECTEL_EC2X.cpp index 75edc8c1a5c9..b5c06360fcfe 100644 --- a/features/cellular/framework/targets/QUECTEL/EC2X/QUECTEL_EC2X.cpp +++ b/features/cellular/framework/targets/QUECTEL/EC2X/QUECTEL_EC2X.cpp @@ -66,6 +66,7 @@ static const intptr_t cellular_properties[AT_CellularDevice::PROPERTY_MAX] = { 0, // PROPERTY_SOCKET_COUNT 0, // PROPERTY_IP_TCP 0, // PROPERTY_IP_UDP + 0, // PROPERTY_AT_SEND_DELAY }; QUECTEL_EC2X::QUECTEL_EC2X(FileHandle *fh, PinName pwr, bool active_high, PinName rst) diff --git a/features/cellular/framework/targets/QUECTEL/M26/QUECTEL_M26.cpp b/features/cellular/framework/targets/QUECTEL/M26/QUECTEL_M26.cpp index ff32ec09ac47..b29a5efa8ab0 100644 --- a/features/cellular/framework/targets/QUECTEL/M26/QUECTEL_M26.cpp +++ b/features/cellular/framework/targets/QUECTEL/M26/QUECTEL_M26.cpp @@ -44,6 +44,7 @@ static const intptr_t cellular_properties[AT_CellularDevice::PROPERTY_MAX] = { 6, // PROPERTY_SOCKET_COUNT 1, // PROPERTY_IP_TCP 1, // PROPERTY_IP_UDP + 0, // PROPERTY_AT_SEND_DELAY }; QUECTEL_M26::QUECTEL_M26(FileHandle *fh) : AT_CellularDevice(fh) diff --git a/features/cellular/framework/targets/QUECTEL/UG96/QUECTEL_UG96.cpp b/features/cellular/framework/targets/QUECTEL/UG96/QUECTEL_UG96.cpp index 11121f4cc438..8f13733d1479 100644 --- a/features/cellular/framework/targets/QUECTEL/UG96/QUECTEL_UG96.cpp +++ b/features/cellular/framework/targets/QUECTEL/UG96/QUECTEL_UG96.cpp @@ -46,6 +46,7 @@ static const intptr_t cellular_properties[AT_CellularDevice::PROPERTY_MAX] = { 0, // PROPERTY_SOCKET_COUNT 0, // PROPERTY_IP_TCP 0, // PROPERTY_IP_UDP + 0, // PROPERTY_AT_SEND_DELAY }; QUECTEL_UG96::QUECTEL_UG96(FileHandle *fh) : AT_CellularDevice(fh) diff --git a/features/cellular/framework/targets/RiotMicro/AT/RM1000_AT.cpp b/features/cellular/framework/targets/RiotMicro/AT/RM1000_AT.cpp index 66a3f6ad19f6..7b38930c3c87 100644 --- a/features/cellular/framework/targets/RiotMicro/AT/RM1000_AT.cpp +++ b/features/cellular/framework/targets/RiotMicro/AT/RM1000_AT.cpp @@ -48,6 +48,7 @@ static const intptr_t cellular_properties[AT_CellularDevice::PROPERTY_MAX] = { 7, // PROPERTY_SOCKET_COUNT 1, // PROPERTY_IP_TCP 1, // PROPERTY_IP_UDP + 0, // PROPERTY_AT_SEND_DELAY }; RM1000_AT::RM1000_AT(FileHandle *fh) : AT_CellularDevice(fh) diff --git a/features/cellular/framework/targets/TELIT/HE910/TELIT_HE910.cpp b/features/cellular/framework/targets/TELIT/HE910/TELIT_HE910.cpp index 172c4d4055fb..a6310610bc73 100644 --- a/features/cellular/framework/targets/TELIT/HE910/TELIT_HE910.cpp +++ b/features/cellular/framework/targets/TELIT/HE910/TELIT_HE910.cpp @@ -41,6 +41,7 @@ static const intptr_t cellular_properties[AT_CellularDevice::PROPERTY_MAX] = { 0, // PROPERTY_SOCKET_COUNT 0, // PROPERTY_IP_TCP 0, // PROPERTY_IP_UDP + 20, // PROPERTY_AT_SEND_DELAY }; TELIT_HE910::TELIT_HE910(FileHandle *fh) : AT_CellularDevice(fh) @@ -48,11 +49,6 @@ TELIT_HE910::TELIT_HE910(FileHandle *fh) : AT_CellularDevice(fh) set_cellular_properties(cellular_properties); } -uint16_t TELIT_HE910::get_send_delay() const -{ - return DEFAULT_DELAY_BETWEEN_AT_COMMANDS; -} - nsapi_error_t TELIT_HE910::init() { nsapi_error_t err = AT_CellularDevice::init(); diff --git a/features/cellular/framework/targets/TELIT/HE910/TELIT_HE910.h b/features/cellular/framework/targets/TELIT/HE910/TELIT_HE910.h index 4f34637a4265..67bf11eef2a8 100644 --- a/features/cellular/framework/targets/TELIT/HE910/TELIT_HE910.h +++ b/features/cellular/framework/targets/TELIT/HE910/TELIT_HE910.h @@ -29,9 +29,6 @@ #include "AT_CellularDevice.h" -//the delay between sending AT commands -#define DEFAULT_DELAY_BETWEEN_AT_COMMANDS 20 - namespace mbed { class TELIT_HE910 : public AT_CellularDevice { @@ -39,7 +36,6 @@ class TELIT_HE910 : public AT_CellularDevice { TELIT_HE910(FileHandle *fh); protected: // AT_CellularDevice - virtual uint16_t get_send_delay() const; virtual nsapi_error_t init(); }; } // namespace mbed diff --git a/features/cellular/framework/targets/TELIT/ME910/TELIT_ME910.cpp b/features/cellular/framework/targets/TELIT/ME910/TELIT_ME910.cpp index a65b44b19999..0b0d297949ff 100644 --- a/features/cellular/framework/targets/TELIT/ME910/TELIT_ME910.cpp +++ b/features/cellular/framework/targets/TELIT/ME910/TELIT_ME910.cpp @@ -62,11 +62,9 @@ static const intptr_t cellular_properties[AT_CellularDevice::PROPERTY_MAX] = { 0, // PROPERTY_SOCKET_COUNT 0, // PROPERTY_IP_TCP 0, // PROPERTY_IP_UDP + 20, // PROPERTY_AT_SEND_DELAY }; -//the delay between sending AT commands -static const uint16_t DEFAULT_DELAY_BETWEEN_AT_COMMANDS = 20; - TELIT_ME910::TELIT_ME910(FileHandle *fh, PinName pwr, bool active_high) : AT_CellularDevice(fh), _active_high(active_high), @@ -80,12 +78,6 @@ AT_CellularContext *TELIT_ME910::create_context_impl(ATHandler &at, const char * return new TELIT_ME910_CellularContext(at, this, apn, cp_req, nonip_req); } - -uint16_t TELIT_ME910::get_send_delay() const -{ - return DEFAULT_DELAY_BETWEEN_AT_COMMANDS; -} - nsapi_error_t TELIT_ME910::init() { nsapi_error_t err = AT_CellularDevice::init(); diff --git a/features/cellular/framework/targets/TELIT/ME910/TELIT_ME910.h b/features/cellular/framework/targets/TELIT/ME910/TELIT_ME910.h index 9212b618e681..9995e4368d3d 100644 --- a/features/cellular/framework/targets/TELIT/ME910/TELIT_ME910.h +++ b/features/cellular/framework/targets/TELIT/ME910/TELIT_ME910.h @@ -41,7 +41,6 @@ class TELIT_ME910 : public AT_CellularDevice { TELIT_ME910(FileHandle *fh, PinName pwr, bool active_high); protected: // AT_CellularDevice - virtual uint16_t get_send_delay() const; virtual AT_CellularContext *create_context_impl(ATHandler &at, const char *apn, bool cp_req = false, bool nonip_req = false); virtual nsapi_error_t init(); virtual nsapi_error_t hard_power_on(); diff --git a/features/cellular/framework/targets/UBLOX/AT/UBLOX_AT.cpp b/features/cellular/framework/targets/UBLOX/AT/UBLOX_AT.cpp index 649ff66bffac..a139cf6b394e 100644 --- a/features/cellular/framework/targets/UBLOX/AT/UBLOX_AT.cpp +++ b/features/cellular/framework/targets/UBLOX/AT/UBLOX_AT.cpp @@ -41,6 +41,7 @@ static const intptr_t cellular_properties[AT_CellularDevice::PROPERTY_MAX] = { 7, // PROPERTY_SOCKET_COUNT 1, // PROPERTY_IP_TCP 1, // PROPERTY_IP_UDP + 0, // PROPERTY_AT_SEND_DELAY }; #elif defined(UBX_MDM_SARA_U2XX) || defined(UBX_MDM_SARA_G3XX) static const intptr_t cellular_properties[AT_CellularDevice::PROPERTY_MAX] = { @@ -67,6 +68,7 @@ static const intptr_t cellular_properties[AT_CellularDevice::PROPERTY_MAX] = { 7, // PROPERTY_SOCKET_COUNT 1, // PROPERTY_IP_TCP 1, // PROPERTY_IP_UDP + 0, // PROPERTY_AT_SEND_DELAY }; #else static const intptr_t cellular_properties[AT_CellularDevice::PROPERTY_MAX] = { @@ -89,6 +91,7 @@ static const intptr_t cellular_properties[AT_CellularDevice::PROPERTY_MAX] = { 0, // PROPERTY_SOCKET_COUNT 0, // PROPERTY_IP_TCP 0, // PROPERTY_IP_UDP + 0, // PROPERTY_AT_SEND_DELAY }; #endif diff --git a/features/cellular/framework/targets/UBLOX/N2XX/UBLOX_N2XX.cpp b/features/cellular/framework/targets/UBLOX/N2XX/UBLOX_N2XX.cpp index 689d88164966..4856deca08e3 100644 --- a/features/cellular/framework/targets/UBLOX/N2XX/UBLOX_N2XX.cpp +++ b/features/cellular/framework/targets/UBLOX/N2XX/UBLOX_N2XX.cpp @@ -40,6 +40,7 @@ static const intptr_t cellular_properties[AT_CellularDevice::PROPERTY_MAX] = { 7, // PROPERTY_SOCKET_COUNT 0, // PROPERTY_IP_TCP 1, // PROPERTY_IP_UDP + 0, // PROPERTY_AT_SEND_DELAY }; UBLOX_N2XX::UBLOX_N2XX(FileHandle *fh): AT_CellularDevice(fh) diff --git a/features/cellular/framework/targets/UBLOX/PPP/UBLOX_PPP.cpp b/features/cellular/framework/targets/UBLOX/PPP/UBLOX_PPP.cpp index 29a4fa842afc..fb366357af36 100644 --- a/features/cellular/framework/targets/UBLOX/PPP/UBLOX_PPP.cpp +++ b/features/cellular/framework/targets/UBLOX/PPP/UBLOX_PPP.cpp @@ -42,6 +42,7 @@ static const intptr_t cellular_properties[AT_CellularDevice::PROPERTY_MAX] = { 0, // PROPERTY_SOCKET_COUNT 0, // PROPERTY_IP_TCP 0, // PROPERTY_IP_UDP + 0, // PROPERTY_AT_SEND_DELAY }; #elif defined(UBX_MDM_SARA_U2XX) || defined(UBX_MDM_SARA_G3XX) static const intptr_t cellular_properties[AT_CellularDevice::PROPERTY_MAX] = { @@ -68,6 +69,7 @@ static const intptr_t cellular_properties[AT_CellularDevice::PROPERTY_MAX] = { 0, // PROPERTY_SOCKET_COUNT 0, // PROPERTY_IP_TCP 0, // PROPERTY_IP_UDP + 0, // PROPERTY_AT_SEND_DELAY }; #else static const intptr_t cellular_properties[AT_CellularDevice::PROPERTY_MAX] = { @@ -90,6 +92,7 @@ static const intptr_t cellular_properties[AT_CellularDevice::PROPERTY_MAX] = { 0, // PROPERTY_SOCKET_COUNT 0, // PROPERTY_IP_TCP 0, // PROPERTY_IP_UDP + 0, // PROPERTY_AT_SEND_DELAY }; #endif