Hi Denis, Den tors 16 maj 2019 kl 18:01 skrev Denis Kenzior <[email protected]>: > > > > I think I saw a patch for using c*reg in atmodem/gprs.c, can we wake that > > up? > > Otherwise I can put some energy into this, if we decide which > > direction to go first. > > > > Since 3GPP decided to go with EREG being separate from CGREG, I think it > makes sense to support that natively in lte.c or gprs.c. Our philosophy > has always been to base the driver APIs off of 27.007. So from that > perspective, introducing ofono_lte_status_notify would make sense. > Whether something like this makes things easier or not is a different > question :)
...and we have the issue that the indications seems to be sent in random order. So what about when a c?reg indication is received from the modem. Start a "poll" of all the supported c?reg and set a flag, so multiple polls are not started in case of an additional indication is received. When the poll of all the supported c?reg statuses returns -> update the gprs "core" with the combined status? .. and the attached_status callback should also poll all supported c?reg... BR Richard _______________________________________________ ofono mailing list [email protected] https://lists.ofono.org/mailman/listinfo/ofono
