-
Notifications
You must be signed in to change notification settings - Fork 3k
Cellular: Refactor cellular variable visibilities #12123
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: Refactor cellular variable visibilities #12123
Conversation
@kivaisan, thank you for your changes. |
@bulislaw please review |
@kivaisan What migration actions might people have to take ? Also presumably there will need to be some documentation changes to accompany this ? If so please comment accordingly in the documentation section. |
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.
Looks reasonable to me
Going to start ci while waiting for @bulislaw review |
Test run: FAILEDSummary: 1 of 11 test jobs failed Failed test jobs:
|
Like mentioned in description, this didn't require any changes to any of our existing cellular targets. If someone uses variable which was originally intented to be internal but was incorrectly set as public earlier, they just need to inform us and we can evaluate whether tre visibility of the variable can be changed or is there something wrong with their targets design. This is how we've been handling these earlier. |
CI failures does not seem to relate this PR. I rebased this PR with the latest mbed-os and at least NRF52840_DK + BG96 (cellular) and K64F (ethernet) DNS tests are OK. So could you please restart the CI? |
Test run: FAILEDSummary: 1 of 4 test jobs failed Failed test jobs:
|
I found this UT failure but this PR does not cause it. I also verified the branch locally and UTs are OK
|
Known failure - proposed fix is in #12126. Will retrigger. |
Test run: FAILEDSummary: 1 of 11 test jobs failed Failed test jobs:
|
Again the latest failure is not this PR related. |
@kivaisan looks like we need a rebase |
- Earlier some variables were public even though used only internally - Also refactored variables to the end of class definitions - Removed duplicate _property_array from CellularDevice - Changed _impl methods as protected
Rebased |
CI started |
Test run: FAILEDSummary: 1 of 11 test jobs failed Failed test jobs:
|
I restarted dynamic memory usage. There was a failure in the filesystem one, will check other PRs and master |
Summary of changes
Cellular: Refactor cellular variable visibilities
Impact of changes
This can potentially be a breaking change but at least currently none of the existing mbed-os cellular targets required any changes.
Migration actions required
If customer wants to use some cellular variable marked as private, they need to inform @ARMmbed/mbed-os-wan and we can review the case.
Documentation
Pull request type
Test results
Reviewers
@ARMmbed/mbed-os-wan