Skip to content

Commit 32a032b

Browse files
authored
Merge pull request #13149 from kivaisan/cellular_alt1250_save_rat
Cellular: ALT1250: Store RAT to permament memory
2 parents 802c897 + a8fd02a commit 32a032b

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

features/cellular/framework/targets/Altair/ALT1250/PPP/ALT1250_PPP_CellularNetwork.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@ nsapi_error_t ALT1250_PPP_CellularNetwork::set_access_technology_impl(RadioAcces
4040
switch (opsAct) {
4141
case RAT_CATM1:
4242
if (memcmp(resp, "CATM", 4)) {
43-
_at.at_cmd_discard("%RATACT", "=\"CATM\"");
43+
_at.at_cmd_discard("%RATACT", "=\"CATM\",1");
4444
}
4545
break;
4646
case RAT_NB1:
4747
if (memcmp(resp, "NBIOT", 5)) {
48-
_at.at_cmd_discard("%RATACT", "=\"NBIOT\"");
48+
_at.at_cmd_discard("%RATACT", "=\"NBIOT\",1");
4949
}
5050
break;
5151
case RAT_GSM:
@@ -55,7 +55,7 @@ nsapi_error_t ALT1250_PPP_CellularNetwork::set_access_technology_impl(RadioAcces
5555
break;
5656
default:
5757
if (memcmp(resp, "DEFAULT", 7)) {
58-
_at.at_cmd_discard("%RATACT", "=\"DEFAULT\"");
58+
_at.at_cmd_discard("%RATACT", "=\"DEFAULT\",1");
5959
}
6060
_at.unlock();
6161
_op_act = RAT_UNKNOWN;

0 commit comments

Comments
 (0)