All of lore.kernel.org
 help / color / mirror / Atom feed
* connection manager interface
@ 2014-10-13 15:51 Ernast Sevo
  2014-10-13 16:10 ` Denis Kenzior
  0 siblings, 1 reply; 4+ messages in thread
From: Ernast Sevo @ 2014-10-13 15:51 UTC (permalink / raw)
  To: ofono

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

Hello all!

I have been playing around with ofono recently and was wondering how ofono
determined when to bring up the connection manager interface. I know that
the interfaces supported depend on the state of the device but what is the
state (registration status, network capabilities, etc ) at which it is
appropriate for the connection manager interface to be up? ( I am assuming
here all hardware requirements for this interface are met by the modem
since I know this to be true, but am simply curious about the external
factors involved.)


Thanks for the help,

 Ernast

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

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

* Re: connection manager interface
  2014-10-13 15:51 connection manager interface Ernast Sevo
@ 2014-10-13 16:10 ` Denis Kenzior
  2014-10-14 19:00   ` Ernast Sevo
  0 siblings, 1 reply; 4+ messages in thread
From: Denis Kenzior @ 2014-10-13 16:10 UTC (permalink / raw)
  To: ofono

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

Hi Ernast,

On 10/13/2014 10:51 AM, Ernast Sevo wrote:
> Hello all!
>
> I have been playing around with ofono recently and was wondering how
> ofono determined when to bring up the connection manager interface. I
> know that the interfaces supported depend on the state of the device but
> what is the state (registration status, network capabilities, etc ) at
> which it is appropriate for the connection manager interface to be up? (
> I am assuming here all hardware requirements for this interface are met
> by the modem since I know this to be true, but am simply curious about
> the external factors involved.)
>

ConnectionManager is created by the ofono_gprs atom.  This atom can be 
created either in post_sim or post_online state.

The earlier state is preferred (e.g. post_sim), but some hardware 
implementations might want to delay this until post_online for whatever 
reason.  I think the majority of oFono modem drivers initialize 
ofono_gprs in the post_sim state.

Note that the functionality of ConnectionManager will be largely 
unavailable without network registration.  So you won't be able to 
activate / deactivate contexts until you are registered to the network. 
  You can however manipulate context settings and other settings (e.g. 
in Airplane mode or without being registered to a network)

Regards,
-Denis



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

* Re: connection manager interface
  2014-10-13 16:10 ` Denis Kenzior
@ 2014-10-14 19:00   ` Ernast Sevo
  2014-10-15 19:46     ` Denis Kenzior
  0 siblings, 1 reply; 4+ messages in thread
From: Ernast Sevo @ 2014-10-14 19:00 UTC (permalink / raw)
  To: ofono

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

Perfect! That clears things up a bit!
Once in the online state will the Packet Radio Service always be attached?
Ive noticed it at times that its not attached (even though packet radio use
is allowed ie Powered=True in org.ofono.ConnectionManager) and that I
cannot manually attach it which is something is doable via an AT command.
Or does calling enable gprs automatically attach it? Is there a way to
manually attach it through ofono?

Thanks again,

 Ernast

On Mon, Oct 13, 2014 at 12:10 PM, Denis Kenzior <denkenz@gmail.com> wrote:

> Hi Ernast,
>
>
> On 10/13/2014 10:51 AM, Ernast Sevo wrote:
>
>> Hello all!
>>
>> I have been playing around with ofono recently and was wondering how
>> ofono determined when to bring up the connection manager interface. I
>> know that the interfaces supported depend on the state of the device but
>> what is the state (registration status, network capabilities, etc ) at
>> which it is appropriate for the connection manager interface to be up? (
>> I am assuming here all hardware requirements for this interface are met
>> by the modem since I know this to be true, but am simply curious about
>> the external factors involved.)
>>
>>
> ConnectionManager is created by the ofono_gprs atom.  This atom can be
> created either in post_sim or post_online state.
>
> The earlier state is preferred (e.g. post_sim), but some hardware
> implementations might want to delay this until post_online for whatever
> reason.  I think the majority of oFono modem drivers initialize ofono_gprs
> in the post_sim state.
>
> Note that the functionality of ConnectionManager will be largely
> unavailable without network registration.  So you won't be able to activate
> / deactivate contexts until you are registered to the network.  You can
> however manipulate context settings and other settings (e.g. in Airplane
> mode or without being registered to a network)
>
> Regards,
> -Denis
>
>
> _______________________________________________
> ofono mailing list
> ofono(a)ofono.org
> https://lists.ofono.org/mailman/listinfo/ofono
>

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

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

* Re: connection manager interface
  2014-10-14 19:00   ` Ernast Sevo
@ 2014-10-15 19:46     ` Denis Kenzior
  0 siblings, 0 replies; 4+ messages in thread
From: Denis Kenzior @ 2014-10-15 19:46 UTC (permalink / raw)
  To: ofono

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

Hi Ernast,

On 10/14/2014 02:00 PM, Ernast Sevo wrote:
> Perfect! That clears things up a bit!
> Once in the online state will the Packet Radio Service always be
> attached? Ive noticed it at times that its not attached (even though
> packet radio use is allowed ie Powered=True in

Two settings control the attachment state.  Powered and RoamingAllowed. 
  If RoamingAllowed is false, then if the network registration is 
currently in roaming state, the GPRS will detach / not attach.

> org.ofono.ConnectionManager) and that I cannot manually attach it which
> is something is doable via an AT command. Or does calling enable gprs
> automatically attach it? Is there a way to manually attach it through ofono?

Attachment cannot be done manually. oFono should re-attach automatically 
if it is able.  There might be a few corner cases (e.g. where a network 
forced a detach) which we do not handle.

Patches / logs are always welcome.

Regards,
-Denis

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

end of thread, other threads:[~2014-10-15 19:46 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-13 15:51 connection manager interface Ernast Sevo
2014-10-13 16:10 ` Denis Kenzior
2014-10-14 19:00   ` Ernast Sevo
2014-10-15 19:46     ` 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.