Hi, I am working on uBlox support in Ofono. My aim is further than the traditional desktop type use case, so I am extending Ofono with a custom APN provisioning service.
I want to get some tips on how I should proceed because I do not wish to go into an unintentional direction. We have 3rd party software that needs to finely control the GPRS session, constantly monitoring and switching APN's as the network changes. I need a way for our software to know when the context has successfully been activated, for example a post_context_activate() in the driver would be great, so that I could add a DBUS message in our custom driver which send states to our software in order to know when a socket could be opened (not only the post_context_activate() but I also need the other states the driver will enter). Is there a better approach than adding a callback for successful context activation in the driver, in Ofono? I feel like Connman is too distant and unaware of detailed Ofono states to manage this on the Connman side. Secondly, I have tested changing states on the Ofono side with the Python scripts (enable -> online ) and visa versa and connman seems OK with me doing this. I plan to do this from my 3rd party application to manage APNs and sockets. Is this an acceptable use case with Connman, it seems like it has been designed so that Connman always gets updates on Ofono state changes. Kind Regards, Frederik Lotter
_______________________________________________ ofono mailing list [email protected] https://lists.ofono.org/mailman/listinfo/ofono
