Hi, Den mån 22 apr. 2019 kl 09:44 skrev Jonas Bonn <[email protected]>: > + > +static void creg_notify(GAtResult *result, gpointer user_data) > +{ > + struct ofono_netreg *netreg = user_data; > + int status, lac, ci, tech; > + struct netreg_data *nd = ofono_netreg_get_data(netreg); > + struct tech_query *tq; > + > + if (at_util_parse_reg_unsolicited(result, "+CREG:", &status, > + &lac, &ci, &tech, nd->vendor) == FALSE) > + return; > + > + if (status != 1 && status != 5) > + goto notify;
Just wants to check your thoughts about CREG and LTE only... If the modem only has 4g coverage it might set the status to 4 (unknown), but ureg would indicate LTE(7). I have done a local patch for this in gprs, do not go to de-attached state in that case. Just wondering if we should combine the CREG and UREG status in some way, the problem is that UREG is not indicating roaming or not... --Richard _______________________________________________ ofono mailing list [email protected] https://lists.ofono.org/mailman/listinfo/ofono
