Skip to content

Cellular: Move string_to_pdp_type method to CellularContext #12214

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

Merged
merged 1 commit into from
Jan 8, 2020
Merged

Cellular: Move string_to_pdp_type method to CellularContext #12214

merged 1 commit into from
Jan 8, 2020

Conversation

kivaisan
Copy link
Contributor

@kivaisan kivaisan commented Jan 8, 2020

Summary of changes

string_to_pdp_type is only used in CellularContext classes and by having the conversion method in CellularContext it can be used also to check the non-standard Non-IP PDP type string.

Impact of changes

None, if application uses existing cellular classes. If user has implemented own CellularContext class, then see migration actions required.

Migration actions required

Classes deriving from CellularContext must implement new function:
virtual const char *get_nonip_context_type_str() = 0;
This API has already been implemented in AT_CellularContext though, so current code does not change.

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


string_to_pdp_type is only used in CellularContext classes and by having
the conversion method in CellularContext it can be used to check also
the non-standard Non-IP PDP type string.
@ciarmcom ciarmcom requested a review from a team January 8, 2020 12:00
@ciarmcom
Copy link
Member

ciarmcom commented Jan 8, 2020

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

@ciarmcom ciarmcom requested a review from a team January 8, 2020 12:00
@0xc0170
Copy link
Contributor

0xc0170 commented Jan 8, 2020

CI started

@mbed-ci
Copy link

mbed-ci commented Jan 8, 2020

Test run: SUCCESS

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

@0xc0170 0xc0170 added release-version: 6.0.0-alpha-1 First pre-release version of 6.0.0 and removed needs: CI labels Jan 8, 2020
@0xc0170 0xc0170 merged commit 8d94d4c into ARMmbed:master Jan 8, 2020
@adbridge
Copy link
Contributor

@kivaisan Could you please fill in the 'Impact of Changes' and the 'Documentation' sections as these will be used in the release notes.

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.

6 participants