On Thu, 2013-01-03 at 16:37 +0100, Daniel Wagner wrote:
> Hmm, I am not completely sure if this is right direction. Basically
> this 
> means all sessions will only use one service when this available. For
> my 
> use cases I really need to have independent sessions, that means
> session 
> 'a' uses the customers phone via Bluetooth where as session 'b' uses
> the 
> built in modem. 

This is indeed too much of an oversimplification for that case. This
part only affects IP address information so maybe it's worth thinking of
other ways how to fetch that.

One possibility would be to add a function like struct connman_service
*__service_get_first_of_type(GSList *bearers) that would give the first
service for a set of bearer types as service.c has them all sorted
already anyway.

Cheers,

        Patrik



_______________________________________________
connman mailing list
[email protected]
http://lists.connman.net/listinfo/connman

Reply via email to