All of lore.kernel.org
 help / color / mirror / Atom feed
* Controlling GPRS connections through Ofono in the presence of Connman
@ 2014-07-15  7:03 Frederik Lotter
  2014-07-15 13:27 ` Denis Kenzior
  0 siblings, 1 reply; 4+ messages in thread
From: Frederik Lotter @ 2014-07-15  7:03 UTC (permalink / raw)
  To: ofono

[-- Attachment #1: Type: text/plain, Size: 1467 bytes --]

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

[-- Attachment #2: attachment.html --]
[-- Type: text/html, Size: 1652 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2014-07-19  2:04 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-07-15  7:03 Controlling GPRS connections through Ofono in the presence of Connman Frederik Lotter
2014-07-15 13:27 ` Denis Kenzior
2014-07-16 14:37   ` Frederik Lotter
2014-07-19  2:04     ` Denis Kenzior

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.