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

Cellular: add method to set authentication type to CellularContext #10694

Merged
merged 1 commit into from
Jun 21, 2019

Conversation

jarvte
Copy link
Contributor

@jarvte jarvte commented May 29, 2019

Description

Authentication type must be able to set. It was hard coded to CHAP.
Added unit tests for CellularContext to be able to add test for new function.

Fix for issue: #10551

Pull request type

[ ] Fix
[ ] Refactor
[ ] Target update
[X] Functionality change
[ ] Docs update
[ ] Test update
[ ] Breaking change

Reviewers

@AriParkkila

Release Notes

Add new method virtual void set_authentication_type(AuthenticationType type) to CellularContext so application can set the correct authentication type.

@jarvte
Copy link
Contributor Author

jarvte commented May 29, 2019

Force pushed fix for unit test Valgrind run

*
* @param type enum AuthenticationType
*/
virtual void set_authentication_type(AuthenticationType type);

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

virtual not needed..?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed virtual

Authentication type must be able to set. It was hard coded to CHAP.
Added unit tests for CellularContext to be able to add test for new function.
@ciarmcom ciarmcom requested review from AriParkkila and a team May 29, 2019 07:00
@ciarmcom
Copy link
Member

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

@jarvte
Copy link
Contributor Author

jarvte commented Jun 12, 2019

@AnttiKauppila waiting for your review

@adbridge
Copy link
Contributor

CI started.

@mbed-ci
Copy link

mbed-ci commented Jun 19, 2019

Test run: FAILED

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

Failed test jobs:

  • jenkins-ci/mbed-os-ci_exporter

@adbridge
Copy link
Contributor

Looks like a license failure in CI, will restart.

@adbridge
Copy link
Contributor

CI restarted

@mbed-ci
Copy link

mbed-ci commented Jun 19, 2019

Test run: SUCCESS

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

@adbridge adbridge merged commit 15b5b5d into ARMmbed:master Jun 21, 2019
@jarvte jarvte deleted the set_authentication_type branch January 17, 2020 12:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants