Hi Pekka, > The online/offline state is changed with the new set_online() modem driver > method. > > In order to track atoms, there are modem states as follows: > - OFONO_MODEM_STATE_POWER_OFF > - OFONO_MODEM_STATE_PRE_SIM > - OFONO_MODEM_STATE_OFFLINE > - OFONO_MODEM_STATE_ONLINE > > Atoms are added with driver methods pre_sim(), post_sim() and > post_online(). Atoms are removed by modem core when the state changes. Patch has been applied, however I did some refactoring afterward. Please test that I didn't break something. Regards, -Denis