mirror of https://github.com/ARMmbed/mbed-os.git
Cellular: Fix AT command for COPS manual network selection
parent
8c673ba597
commit
483c557f9b
|
@ -224,7 +224,7 @@ nsapi_error_t AT_CellularNetwork::set_registration(const char *plmn)
|
|||
if (_op_act != RAT_UNKNOWN) {
|
||||
return _at.at_cmd_discard("+COPS", "=1,2,", "%s%d", plmn, _op_act);
|
||||
} else {
|
||||
return _at.at_cmd_discard("+COPS", "=1,2", "%s", plmn);
|
||||
return _at.at_cmd_discard("+COPS", "=1,2,", "%s", plmn);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue