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: The role of connection manager (Robert Tiemann)


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

Message: 1
Date: Thu, 28 Feb 2019 12:22:25 +0100
From: Robert Tiemann <[email protected]>
To: JH <[email protected]>
Cc: connman <[email protected]>
Subject: Re: The role of connection manager
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8

On 2/28/19 10:53 AM, JH wrote:

> Thanks for sharing your insight experience about connection manager
> and ConnMan, the DBus was my original concern, it was designed for
> desktop, but I hope that the ConnMan can manage the network interface
> switching, we don't have to interact too much after setting up the
> configure file in main.conf.
> 
> Are you able to set up WiFi SSID and Password via ConnMan C API?
No C API, only D-Bus or command line tools. Your C API would be the
API to whichever D-Bus implementation you choose.

Setting up WiFi can be done without direct D-Bus interaction by using
connmanctl alone. You'd have to generate the commands for system(3) or
the like and process its output. It's a bit messy, but easier than
having to deal with D-Bus, especially if you have never done this
before. You can also use dbus-monitor to learn how connmanctl is
communicating with connmand.

But this approach will only get you so far; at some point you may have
to use the D-Bus interface. It depends on how much control you need.

Julien's suggestion to write a Python prototype is good advice. It is
a lot easier and faster to try out a few things this way than doing it
in C++.


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

Subject: Digest Footer

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


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

End of connman Digest, Vol 40, Issue 16
***************************************

Reply via email to