Send connman mailing list submissions to
        [email protected]

To subscribe or unsubscribe via the World Wide Web, visit
        https://lists.01.org/mailman/listinfo/connman
or, via email, send a message with subject or body 'help' to
        [email protected]

You can reach the person managing the list at
        [email protected]

When replying, please edit your Subject line so it is more specific
than "Re: Contents of connman digest..."


Today's Topics:

   1. How can apps select a service? (???)
   2. Re: How can apps select a service? (Vasyl Vavrychuk)


----------------------------------------------------------------------

Message: 1
Date: Tue, 24 Apr 2018 09:04:36 +0000
From: ??? <[email protected]>
To: "[email protected]" <[email protected]>
Subject: How can apps select a service?
Message-ID: <[email protected]>
Content-Type: text/plain; charset="euc-kr"

Hello,

With connman is it possible that an specific application selects specific 
service ?

For example, I have two services as below and both are already connected.
# connmanctl technologies
/net/connman/technology/cellular
  Name = Cellular
  Type = cellular
  Powered = True
  Connected = True
  Tethering = False
/net/connman/technology/ethernet
  Name = Wired
  Type = ethernet
  Powered = True
  Connected = True
  Tethering = False
# connmanctl services
*AO KT                   cellular_450086350199092_context1
*AR Wired                ethernet_00e04c361b16_cable
In case there are two applications(application_1 and application_2), default 
route is ethernet basically.
But, if application_1 towards to cellular, how can application handle it?

Applicaiton_1 -> cellular
Application_2 -> ethernet

I use connman v1.33.

Thank you,
DJ Won





-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.01.org/pipermail/connman/attachments/20180424/f36b20ab/attachment-0001.html>

------------------------------

Message: 2
Date: Tue, 24 Apr 2018 12:25:06 +0300
From: Vasyl Vavrychuk <[email protected]>
To: ??? <[email protected]>
Cc: "[email protected]" <[email protected]>
Subject: Re: How can apps select a service?
Message-ID:
        <cagj4m+4mpyg4cy67+gse54fw3db_23gfbg5w+6fstrvjfhx...@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

I think implementation of the feature you want belong to application. Only
one thing you take from connman is service interface.

connmanctl service ethernet_00e04c361b16_cable

You should find there Ethernet = [... Interface=wlp2s0 ...]

Then maybe do something like this http://stackoverflow.com/a/3999148/366634

On Tue, Apr 24, 2018 at 12:04 PM, ??? <[email protected]> wrote:

> Hello,
>
> With connman is it possible that an specific application selects specific
> service ?
>
> For example, I have two services as below and both are already connected.
> # connmanctl technologies
> /net/connman/technology/cellular
>   Name = Cellular
>   Type = cellular
>   Powered = True
>   Connected = True
>   Tethering = False
> /net/connman/technology/ethernet
>   Name = Wired
>   Type = ethernet
>   Powered = True
>   Connected = True
>   Tethering = False
> # connmanctl services
> *AO KT                   cellular_450086350199092_context1
> *AR Wired                ethernet_00e04c361b16_cable
> In case there are two applications(application_1 and application_2),
> default route is ethernet basically.
> But, if application_1 towards to cellular, how can application handle it?
>
> Applicaiton_1 -> cellular
> Application_2 -> ethernet
>
> I use connman v1.33.
>
> Thank you,
> DJ Won
>
>
>
>
>
> _______________________________________________
> connman mailing list
> [email protected]
> https://lists.01.org/mailman/listinfo/connman
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.01.org/pipermail/connman/attachments/20180424/583fc09a/attachment-0001.html>

------------------------------

Subject: Digest Footer

_______________________________________________
connman mailing list
[email protected]
https://lists.01.org/mailman/listinfo/connman


------------------------------

End of connman Digest, Vol 30, Issue 29
***************************************

Reply via email to