-
Notifications
You must be signed in to change notification settings - Fork 3k
Fix authentication on a cellular network for Access Point Name (APN) #8147
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
Conversation
@mirelachirica @jarvte @TeemuKultala please review |
@@ -197,6 +197,10 @@ void AT_CellularNetwork::urc_cgreg() | |||
nsapi_error_t AT_CellularNetwork::set_credentials(const char *apn, | |||
const char *username, const char *password) | |||
{ | |||
if (!is_supported(AT_CGAUTH)) { |
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.
Should there be check that if only apn is set then it does not matter if authentication is 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.
Good point due to APN can be given without username/password. See fixed.
17b2797
to
13106fb
Compare
/morph build |
Build : SUCCESSBuild number : 3119 Triggering tests/morph test |
Exporter Build : SUCCESSBuild number : 2728 |
Test : FAILUREBuild number : 2918 |
I wish I could say that the PR needs work... /morph test |
Test : FAILUREBuild number : 2923 |
/morph test |
Test : SUCCESSBuild number : 2924 |
Description
Fix authentication on a cellular network for Access Point Name (APN).
Changes as per a commit:
Pull request type