-
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
Cellular: Add unsupported features for UBLOX targets #8371
Conversation
@ARMmbed/mbed-os-wan Please review |
Updated description to indicate target-specific updates. @ARMmbed/mbed-os-wan Thoughts? This should be a relatively quick review. |
@@ -22,8 +22,16 @@ | |||
using namespace mbed; | |||
using namespace events; | |||
|
|||
static const AT_CellularBase::SupportedFeature unsupported_features[] = { |
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 of AT+CGSN
command and some Ublox modem does not support parameters with AT+CGSN
command, resulting failure of test. So thats why added it as unsupported feature.
@@ -22,8 +22,16 @@ | |||
using namespace mbed; | |||
using namespace events; | |||
|
|||
static const AT_CellularBase::SupportedFeature unsupported_features[] = { |
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.
#ifdef TARGET_UBLOX_C030_R410M
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.
Do you want me to add #ifdef over that static const AT_CellularBase::SupportedFeature unsupported_features
?
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.
To avoid warning: unused variable.
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 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 comment
The reason will be displayed to describe this comment to others. Learn more.
Updated. Please review now.
@@ -22,8 +22,16 @@ | |||
using namespace mbed; | |||
using namespace events; | |||
|
|||
static const AT_CellularBase::SupportedFeature unsupported_features[] = { |
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.
#ifdef TARGET_UBLOX_C027
Should be request changes rather as the 2 comments above ? |
bbb7efe
to
0b2d508
Compare
/morph build |
Build : FAILUREBuild number : 3481 |
Relaunching. |
Build : SUCCESSBuild number : 3498 Triggering tests/morph test |
Exporter Build : SUCCESSBuild number : 3115 |
/morph mbed2-build |
Test : FAILUREBuild number : 3282 |
Funky. Most of those test failures were due to TCP timeouts. Retesting. |
Test : FAILUREBuild number : 3286 |
/morph test |
Test : SUCCESSBuild number : 3288 |
Description
Added unsupported features for different UBLOX targets.
TRAGET_UBLOX_C027
andTARGET_UBLOX_C030_R410M
does not support parameters withAT+CGSN
command.In u-blox AT Command Manual and R410M AT Command Manual Section 4.7.4: AT+CGSN=snt, The snt parameter is not supported.
Pull request type