File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed
hal/network/ncp_client/quectel
user/tests/integration/slo/connect_time Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change @@ -695,7 +695,8 @@ int QuectelNcpClient::getSignalQuality(CellularSignalQuality* qual) {
695
695
{" TDSCDMA" , CellularAccessTechnology::UTRAN},
696
696
{" LTE" , CellularAccessTechnology::LTE},
697
697
{" CAT-M1" , CellularAccessTechnology::LTE_CAT_M1},
698
- {" CAT-NB1" , CellularAccessTechnology::LTE_NB_IOT}
698
+ {" eMTC" , CellularAccessTechnology::LTE_CAT_M1},
699
+ {" NBIoT" , CellularAccessTechnology::LTE_NB_IOT},
699
700
};
700
701
701
702
int vals[5 ] = {};
Original file line number Diff line number Diff line change @@ -55,6 +55,13 @@ inline auto& network() {
55
55
#endif
56
56
}
57
57
58
+ bool isQuectelRadio (int radioType) {
59
+ return (radioType == DEV_QUECTEL_BG96 || radioType == DEV_QUECTEL_EG91_E ||
60
+ radioType == DEV_QUECTEL_EG91_NA || radioType == DEV_QUECTEL_EG91_EX ||
61
+ radioType == DEV_QUECTEL_BG95_M1 || radioType == DEV_QUECTEL_EG91_NAX ||
62
+ radioType == DEV_QUECTEL_BG77 || radioType == DEV_QUECTEL_BG95_MF);
63
+ }
64
+
58
65
const char * ratToString (hal_net_access_tech_t rat) {
59
66
switch (rat) {
60
67
case NET_ACCESS_TECHNOLOGY_WIFI:
@@ -191,7 +198,7 @@ bool testCloudConnectTimeFromColdBoot() {
191
198
Test::out->println (" Failed to retreive cellular_device_info!" );
192
199
return false ;
193
200
}
194
- if (devInfo.dev == DEV_QUECTEL_BG96 || devInfo. dev == DEV_QUECTEL_EG91_NA ) {
201
+ if (isQuectelRadio ( devInfo.dev ) ) {
195
202
delay (6000 );
196
203
}
197
204
signal = network ().RSSI ();
You can’t perform that action at this time.
0 commit comments