Skip to content
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

ATHandler refactoring #12122

Merged
merged 2 commits into from
Jan 9, 2020
Merged

Conversation

AnttiKauppila
Copy link

Summary of changes

As ATHandler is part of Cellular's public API it is now moved to /API folder
Also some functions and variables are refactored to be private/protected where applicable
Also virtual cmd_start() (and destructor) method(s) devirtualised because not needed.
Unittests updated to reflect changes

Impact of changes

As ATHandler is part of Cellular's public API it is now moved to /API folder
Also some functions and variables are refactored to be private/protected where applicable
Also virtual cmd_start() (and destructor) method(s) devirtualised because not needed.

Migration actions required

Visibility of some methods have been changed in ATHandler and should not cause any issues if those were not used (as they shouldn't have been).
Also if include path has been used correctly for ATHandler.h there are no cahnges needed

Documentation

None


Pull request type

[] Patch update (Bug fix / Target update / Docs update / Test update / Refactor)
[] Feature update (New feature / Functionality change / New API)
[X] Major update (Breaking change E.g. Return code change / API behaviour change)

Test results

[] No Tests required for this change (E.g docs only update)
[] Covered by existing mbed-os tests (Greentea or Unittest)
[X] Tests / results supplied as part of this PR

Reviewers

@ARMmbed/mbed-os-wan

@ciarmcom ciarmcom requested review from a team December 17, 2019 12:00
@ciarmcom
Copy link
Member

@AnttiKauppila, thank you for your changes.
@ARMmbed/mbed-os-wan @ARMmbed/mbed-os-maintainers please review.

@adbridge adbridge requested a review from bulislaw December 18, 2019 14:59
@0xc0170
Copy link
Contributor

0xc0170 commented Jan 2, 2020

CI started then noticing this needs a rebase due to a conflict. Please rebase

Antti Kauppila added 2 commits January 7, 2020 17:15
ATHandler is part of our API so header file was moved under API folder and .cpp file was moved under device/ folder
ATHandler is used in both AT and PPP mode so it has been in slightly wrong place at the beginning.
Refactored ATHandler class to have clear private and public elements
Also removed virtuality from ATHandler
Unittests updated to reflect changes
@0xc0170
Copy link
Contributor

0xc0170 commented Jan 9, 2020

CI restarted

@0xc0170
Copy link
Contributor

0xc0170 commented Jan 9, 2020

force-pushed

As github does not notify anyone when forced push, please just bump the PR with a note about being updated , thanks.

@0xc0170 0xc0170 added the release-version: 6.0.0-alpha-1 First pre-release version of 6.0.0 label Jan 9, 2020
@mbed-ci
Copy link

mbed-ci commented Jan 9, 2020

Test run: SUCCESS

Summary: 11 of 11 test jobs passed
Build number : 2
Build artifacts

@0xc0170 0xc0170 removed the needs: CI label Jan 9, 2020
@0xc0170 0xc0170 merged commit 1fb9dd7 into ARMmbed:master Jan 9, 2020
@AnttiKauppila AnttiKauppila deleted the visibility_fixes branch January 9, 2020 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BREAKING-CHANGE release-version: 6.0.0-alpha-1 First pre-release version of 6.0.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants