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. Re: [PATCH 4/4] wps: add new WPS API for technology
      (Daniel Wagner)
   2. [PATCH 1/2] include: Add connman_technology_get_type()
      prototype (Slava Monich)
   3. [PATCH 2/2] technology: Expose technology type to plugins
      (Slava Monich)


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

Message: 1
Date: Fri, 19 Oct 2018 10:31:09 +0200
From: Daniel Wagner <[email protected]>
To: Slava Monich <[email protected]>
Cc: [email protected]
Subject: Re: [PATCH 4/4] wps: add new WPS API for technology
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8; format=flowed

Hi Slava,

>> Anyone willing to work on this idea? I think it really makes sense to
>> introduce the 'interface' property for devices. We have a bunch of use
>> cases which are hard to support (two wifi cards) with the current APIs.
> 
> I would love to but I really really really have my hands full with other
> work at the moment :/

No worries. I know that problem :)

Thanks,
Daniel


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

Message: 2
Date: Fri, 19 Oct 2018 13:06:27 +0300
From: Slava Monich <[email protected]>
To: [email protected]
Subject: [PATCH 1/2] include: Add connman_technology_get_type()
        prototype
Message-ID: <[email protected]>

---
 include/technology.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/include/technology.h b/include/technology.h
index 97db660..7508a9a 100644
--- a/include/technology.h
+++ b/include/technology.h
@@ -42,6 +42,8 @@ int connman_technology_set_regdom(const char *alpha2);
 void connman_technology_regdom_notify(struct connman_technology *technology,
                                                        const char *alpha2);
 
+enum connman_service_type connman_technology_get_type
+                               (struct connman_technology *technology);
 bool connman_technology_get_wifi_tethering(const char **ssid,
                                                        const char **psk);
 bool connman_technology_is_tethering_allowed(enum connman_service_type type);
-- 
1.9.1



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

Message: 3
Date: Fri, 19 Oct 2018 13:06:28 +0300
From: Slava Monich <[email protected]>
To: [email protected]
Subject: [PATCH 2/2] technology: Expose technology type to plugins
Message-ID: <[email protected]>

---
 src/technology.c | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/src/technology.c b/src/technology.c
index bd2e06a..433ac92 100644
--- a/src/technology.c
+++ b/src/technology.c
@@ -345,6 +345,15 @@ static struct connman_technology *technology_find(enum 
connman_service_type type
        return NULL;
 }
 
+enum connman_service_type connman_technology_get_type
+                               (struct connman_technology *technology)
+{
+       if (!technology)
+               return CONNMAN_SERVICE_TYPE_UNKNOWN;
+
+       return technology->type;
+}
+
 bool connman_technology_get_wifi_tethering(const char **ssid,
                                                        const char **psk)
 {
-- 
1.9.1



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

Subject: Digest Footer

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


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

End of connman Digest, Vol 36, Issue 18
***************************************

Reply via email to