diff --git a/features/cellular/framework/targets/UBLOX/AT/UBLOX_AT.cpp b/features/cellular/framework/targets/UBLOX/AT/UBLOX_AT.cpp index 1064743f54a..9d76da21670 100644 --- a/features/cellular/framework/targets/UBLOX/AT/UBLOX_AT.cpp +++ b/features/cellular/framework/targets/UBLOX/AT/UBLOX_AT.cpp @@ -22,8 +22,18 @@ using namespace mbed; using namespace events; +#ifdef TARGET_UBLOX_C030_R410M +static const AT_CellularBase::SupportedFeature unsupported_features[] = { + AT_CellularBase::AT_CGSN_WITH_TYPE, + AT_CellularBase::SUPPORTED_FEATURE_END_MARK +}; +#endif + UBLOX_AT::UBLOX_AT(EventQueue &queue) : AT_CellularDevice(queue) { +#ifdef TARGET_UBLOX_C030_R410M + AT_CellularBase::set_unsupported_features(unsupported_features); +#endif } UBLOX_AT::~UBLOX_AT() diff --git a/features/cellular/framework/targets/UBLOX/PPP/UBLOX_PPP.cpp b/features/cellular/framework/targets/UBLOX/PPP/UBLOX_PPP.cpp index 3aa486f752a..12b1b6467b4 100644 --- a/features/cellular/framework/targets/UBLOX/PPP/UBLOX_PPP.cpp +++ b/features/cellular/framework/targets/UBLOX/PPP/UBLOX_PPP.cpp @@ -22,8 +22,18 @@ using namespace mbed; using namespace events; +#ifdef TARGET_UBLOX_C027 +static const AT_CellularBase::SupportedFeature unsupported_features[] = { + AT_CellularBase::AT_CGSN_WITH_TYPE, + AT_CellularBase::SUPPORTED_FEATURE_END_MARK +}; +#endif + UBLOX_PPP::UBLOX_PPP(EventQueue &queue) : AT_CellularDevice(queue) { +#ifdef TARGET_UBLOX_C027 + AT_CellularBase::set_unsupported_features(unsupported_features); +#endif } UBLOX_PPP::~UBLOX_PPP()