Hi Richard,
On 05/04/2019 02:06 PM, Richard Röjfors wrote:
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.
It seems a bunch of devices have this problem. By my reading of 27.007,
CREG should not report status 4 unless there is no coverage whatsoever,
e.g.:
"4 unknown (e.g. out of GERAN/UTRAN/E-UTRAN coverage)"
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...
So that sounds like a bug in the firmware. Does ublox support +CEREG?
Regards,
-Denis
_______________________________________________
ofono mailing list
[email protected]
https://lists.ofono.org/mailman/listinfo/ofono