We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f6c28e5 + c8ade90 commit bfb435aCopy full SHA for bfb435a
features/cellular/framework/targets/UBLOX/AT/UBLOX_AT.cpp
@@ -126,14 +126,14 @@ nsapi_error_t UBLOX_AT::config_authentication_parameters()
126
nsapi_error_t err;
127
char imsi[MAX_IMSI_LENGTH + 1];
128
129
- if (apn == NULL) {
+ if (ubx_context->get_apn() == NULL) {
130
err = get_imsi(imsi);
131
if (err == NSAPI_ERROR_OK) {
132
config = (char *)apnconfig(imsi);
133
}
134
+ ubx_context->get_next_credentials(&config);
135
136
- ubx_context->get_next_credentials(&config);
137
apn = ubx_context->get_apn();
138
pwd = ubx_context->get_pwd();
139
uname = ubx_context->get_uname();
0 commit comments