Hi David,

> > > > Also we might have applications that only care about a specific bearer
> > > > being active and online. If not they will sleep. Waking them up on every
> > > > bearer change is rather pointless and wasteful.
> > > 
> > > Is bearer only things like '3g' or 'wifi'? Does VPN also belong to
> > > bearers? 
> > 
> > I think we need to count VPN as bearer as well. Also my idea is to have
> > something like vendor bearer as mentioned later. Or maybe some
> > annotation of bearer. Something like "intel-vpn" so that an application
> > gets only notified when the VPN is up and running.
> 
> We probably don't care about the VPN per se -- we just care about
> whether we're connected to the company network.
> 
> An application may want to know if it's on the company network -- and
> doesn't care if it's by wire, wireless or VPN. And it may *ask* for a
> connection to the company network, which should trigger a VPN connection
> if we're not already on the company network directly.

I agree. And as I said, we could do this via vendor/custom bearers. Or
we have some other form of string identifier that can be used. Maybe
latter is actually simpler than messing with vendor/custom bearer. Just
have some connection identifier string that the VPN service sets. And
then the session can match against.

Regards

Marcel


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

Reply via email to