Hello, Please find the changes in order not to duplicate the SPN reading logic in src/grps.c and src/network.c.
Changes from v1: - SPN reading logic has been moved into the sim atom in order to avoid the asymmetry in the API. - netreg and gprs atoms are simple consumers. - Added display condition to the SPN watch callback. Regards, Oleg Oleg Zhurakivskyy (4): sim: Minor style fixes sim: Add SPN watch capability gprs: Use sim SPN watch API network: Use sim SPN watch API include/sim.h | 8 ++ src/gprs.c | 105 ++++++++++++++--------- src/network.c | 163 +++++------------------------------- src/sim.c | 264 ++++++++++++++++++++++++++++++++++++++++++++++++++++++--- 4 files changed, 345 insertions(+), 195 deletions(-) -- 1.7.5.4 _______________________________________________ ofono mailing list [email protected] http://lists.ofono.org/listinfo/ofono
