Skip to content

Commit 66968c5

Browse files
author
Cruz Monrreal
authored
Merge pull request #8371 from u-blox/ublox-cellular-unsupported-features
Cellular: Add unsupported features for UBLOX targets
2 parents 27c0aff + 0b2d508 commit 66968c5

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

features/cellular/framework/targets/UBLOX/AT/UBLOX_AT.cpp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,18 @@
2222
using namespace mbed;
2323
using namespace events;
2424

25+
#ifdef TARGET_UBLOX_C030_R410M
26+
static const AT_CellularBase::SupportedFeature unsupported_features[] = {
27+
AT_CellularBase::AT_CGSN_WITH_TYPE,
28+
AT_CellularBase::SUPPORTED_FEATURE_END_MARK
29+
};
30+
#endif
31+
2532
UBLOX_AT::UBLOX_AT(EventQueue &queue) : AT_CellularDevice(queue)
2633
{
34+
#ifdef TARGET_UBLOX_C030_R410M
35+
AT_CellularBase::set_unsupported_features(unsupported_features);
36+
#endif
2737
}
2838

2939
UBLOX_AT::~UBLOX_AT()

features/cellular/framework/targets/UBLOX/PPP/UBLOX_PPP.cpp

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,18 @@
2222
using namespace mbed;
2323
using namespace events;
2424

25+
#ifdef TARGET_UBLOX_C027
26+
static const AT_CellularBase::SupportedFeature unsupported_features[] = {
27+
AT_CellularBase::AT_CGSN_WITH_TYPE,
28+
AT_CellularBase::SUPPORTED_FEATURE_END_MARK
29+
};
30+
#endif
31+
2532
UBLOX_PPP::UBLOX_PPP(EventQueue &queue) : AT_CellularDevice(queue)
2633
{
34+
#ifdef TARGET_UBLOX_C027
35+
AT_CellularBase::set_unsupported_features(unsupported_features);
36+
#endif
2737
}
2838

2939
UBLOX_PPP::~UBLOX_PPP()

0 commit comments

Comments
 (0)