-
Notifications
You must be signed in to change notification settings - Fork 3k
Cellular: Add unsupported features for UBLOX targets #8371
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,8 +22,18 @@ | |
using namespace mbed; | ||
using namespace events; | ||
|
||
#ifdef TARGET_UBLOX_C030_R410M | ||
static const AT_CellularBase::SupportedFeature unsupported_features[] = { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. #ifdef TARGET_UBLOX_C030_R410M There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Do you want me to add #ifdef over that static const There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. To avoid warning: unused variable. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I would say yes, otherwise for other targets, this might be in the final image? plus the warning There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Updated. Please review now. |
||
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() | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -22,8 +22,18 @@ | |
using namespace mbed; | ||
using namespace events; | ||
|
||
#ifdef TARGET_UBLOX_C027 | ||
static const AT_CellularBase::SupportedFeature unsupported_features[] = { | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. #ifdef TARGET_UBLOX_C027 |
||
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() | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm not too familiar with the cellular codebase, but why are these indicated as unsupported features?
And is there a reason they're now being enabled and/or supported?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@ARMmbed/team-ublox
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In cellularInformation test case,
test_information_interface
, it is reading serial number with different parameters ofAT+CGSN
command and some Ublox modem does not support parameters withAT+CGSN
command, resulting failure of test. So thats why added it as unsupported feature.