This email list is read-only. Emails sent to this list will be discarded
----------------------------------
HACKING | 23 ++
README | 3 +-
configure.ac | 25 +-
doc/Makefile.am | 5 +-
doc/connman-docs.xml | 13 +-
doc/device-api.txt | 56 +++++
doc/element-api.txt | 50 ----
doc/manager-api.txt | 91 ++++---
doc/network-api.txt | 60 +++++
gdbus/gdbus.h | 2 +
gdbus/mainloop.c | 43 ++++
include/Makefile.am | 3 +-
include/dbus.h | 21 +-
include/driver.h | 2 +-
include/element.h | 16 ++-
include/property.h | 3 +
include/resolver.h | 46 ++++
plugins/Makefile.am | 9 +-
plugins/bluetooth.c | 3 +
plugins/hal.c | 326 -------------------------
plugins/resolvconf.c | 2 +-
plugins/resolvfile.c | 2 +-
plugins/rtnllink.c | 4 +-
plugins/wifi.c | 163 +++++++++++--
src/Makefile.am | 18 +-
src/connman.h | 3 +
src/element.c | 639 ++++++++++++++++++++++++++++++++++++++++---------
src/iface-storage.c | 304 -----------------------
src/main.c | 4 +
src/manager.c | 113 +++++++---
src/resolver.c | 67 +++++
src/storage.c | 183 ++++++++++-----
src/udev.c | 29 +++
test/get-state | 4 +-
test/list-connections | 23 ++
test/list-devices | 12 +-
test/list-networks | 31 ++-
test/list-profiles | 8 +-
test/select-network | 2 +-
test/test-manager | 22 ++
40 files changed, 1409 insertions(+), 1024 deletions(-)
New commits:
commit a1c56eba5f011bb441e3884dcaa141d35414773a
Author: Marcel Holtmann <[EMAIL PROTECTED]>
Date: Mon Nov 24 18:05:12 2008 +0100
Mention the optional libudev requirement
commit 4c94e25ba6544a43f13679616577175f045c332c
Author: Marcel Holtmann <[EMAIL PROTECTED]>
Date: Mon Nov 24 17:11:29 2008 +0100
Add skeleton for udev support
commit 6c02327fffc01f95d0bed62b36cf2a9c26ea642e
Author: Marcel Holtmann <[EMAIL PROTECTED]>
Date: Mon Nov 24 16:47:33 2008 +0100
Add check for udev library
commit aeea2a47158da318eeb017d8ae028d5c23024647
Author: Marcel Holtmann <[EMAIL PROTECTED]>
Date: Mon Nov 24 16:38:39 2008 +0100
Add policy setting and export it
commit ca702380ea9b34aae28bd69ff7fa0b757092a94b
Author: Marcel Holtmann <[EMAIL PROTECTED]>
Date: Mon Nov 24 15:49:04 2008 +0100
Add section about testing connmand
commit 145e0e77d23d5fa15e7be8dd38aae3cead0d3972
Author: Marcel Holtmann <[EMAIL PROTECTED]>
Date: Mon Nov 24 15:35:28 2008 +0100
Fix wrong enum for subtype matching
commit ababfb6aad8dc423fca653cc27d920d466c4311c
Author: Marcel Holtmann <[EMAIL PROTECTED]>
Date: Mon Nov 24 15:34:02 2008 +0100
Limit Device interface to real devices only
commit 84360619c6b6fdeb6cc85ca3e86c5bca8b3ff0a9
Author: Marcel Holtmann <[EMAIL PROTECTED]>
Date: Mon Nov 24 15:32:10 2008 +0100
Remove thread pool for element registration
commit b6e6635dca3c929df0240fad174838e7cd17ccf3
Author: Marcel Holtmann <[EMAIL PROTECTED]>
Date: Mon Nov 24 11:27:26 2008 +0100
Make threading support optional
commit 501d003fce99e6a9c366d9bbac5c2a293dce9163
Author: Marcel Holtmann <[EMAIL PROTECTED]>
Date: Sun Nov 23 21:27:14 2008 +0100
Use global state property from manager interface
commit 0ed841b6a90c2b9ddcd2c42abc7213a64c229fa7
Author: Marcel Holtmann <[EMAIL PROTECTED]>
Date: Sun Nov 23 21:23:48 2008 +0100
Update object variable to match its type
commit db05c1daa2ce4b0e44d49ce32d6d7a1073c73c19
Author: Marcel Holtmann <[EMAIL PROTECTED]>
Date: Sun Nov 23 21:10:05 2008 +0100
Fix broken global state change signals
commit d184b124aaf605727e9a1ea5075f98351747c990
Author: Marcel Holtmann <[EMAIL PROTECTED]>
Date: Sun Nov 23 21:02:08 2008 +0100
Separate elements in device list
commit 0217800d8a31b0b53d14566260639ca7e03946ea
Author: Marcel Holtmann <[EMAIL PROTECTED]>
Date: Sun Nov 23 19:34:18 2008 +0100
Update API documentation links
commit 6957ddea07497760aad62a0c900bad20a514f6b2
Author: Marcel Holtmann <[EMAIL PROTECTED]>
Date: Sun Nov 23 19:31:13 2008 +0100
Remove obsolete D-Bus element API documentation
commit cee78c8273f29cd829c630e6ec72abb50fadafec
Author: Marcel Holtmann <[EMAIL PROTECTED]>
Date: Sun Nov 23 19:29:00 2008 +0100
Remove old storage functions
commit a8c4558e731ce39e65afaf1e36c2b6fe05c758c4
Author: Marcel Holtmann <[EMAIL PROTECTED]>
Date: Sun Nov 23 19:26:34 2008 +0100
Add basic signals for changes of manager properties
commit 5d5ab87764722fc33b10a331a9462c169a03bb6b
Author: Marcel Holtmann <[EMAIL PROTECTED]>
Date: Sun Nov 23 15:16:21 2008 +0100
Adapter test script to new network interface
commit ca785efaf9500aada346a8155df568c44287a8e5
Author: Marcel Holtmann <[EMAIL PROTECTED]>
Date: Sun Nov 23 15:15:45 2008 +0100
Add Networks property to device elements
commit aac1974061446a5e14133713e2d092fb211fd76b
Author: Marcel Holtmann <[EMAIL PROTECTED]>
Date: Sun Nov 23 15:09:08 2008 +0100
Use correct object name for device element
commit 1fed4a5ebc54427591c7f7eadee8d5b900c1d8fc
Author: Marcel Holtmann <[EMAIL PROTECTED]>
Date: Sun Nov 23 15:08:37 2008 +0100
Add test script for showing connection details
commit 3b665a3511198458b350528d800c5a8e875e586b
Author: Marcel Holtmann <[EMAIL PROTECTED]>
Date: Sun Nov 23 15:04:32 2008 +0100
Fix value of global state property
commit e1530b2ba9dba6e2231dd5de39d73150266121f6
Author: Marcel Holtmann <[EMAIL PROTECTED]>
Date: Sun Nov 23 14:50:56 2008 +0100
Provide connection element and its interface
commit 7c10a2705ad9b0949c29327922c1fdcddf87dac1
Author: Marcel Holtmann <[EMAIL PROTECTED]>
Date: Sun Nov 23 14:46:37 2008 +0100
Add constant for Connection interface
commit 7902a3d3825beb4c2b6d34e305e357173f4442b3
Author: Marcel Holtmann <[EMAIL PROTECTED]>
Date: Sun Nov 23 14:43:53 2008 +0100
Provide detailed device and network properties
commit bcc3aaca389f898bba79c79a0190bf642d6839bd
Author: Marcel Holtmann <[EMAIL PROTECTED]>
Date: Sun Nov 23 14:42:53 2008 +0100
Add Type property to device interface
commit 20bcc97150c2f5e338aed4d442f623e5f07e9867
Author: Marcel Holtmann <[EMAIL PROTECTED]>
Date: Sun Nov 23 13:54:41 2008 +0100
Add Network interface to network elements
commit 987f2dbc1f6bd78a1d86ceddba997506d3786322
Author: Marcel Holtmann <[EMAIL PROTECTED]>
Date: Sun Nov 23 13:51:11 2008 +0100
Show empty passphrase property if security value is present
commit 48c33ec217373971a7ff411e50e64fcdc27c53a6
Author: Marcel Holtmann <[EMAIL PROTECTED]>
Date: Sun Nov 23 13:50:20 2008 +0100
Use correct property for network name
commit 0dd05b756d0d86aa90c2edcd6b5dc79e5eba87dd
Author: Marcel Holtmann <[EMAIL PROTECTED]>
Date: Sun Nov 23 13:45:29 2008 +0100
Fix D-Bus interface constants
commit a89acca04bf0010042806f157cc778ca21889387
Author: Marcel Holtmann <[EMAIL PROTECTED]>
Date: Sun Nov 23 13:44:59 2008 +0100
Use correct interface name for device properties
commit 7ad970d62c732ed2e9738c595c7b5ebff15b211f
Author: Marcel Holtmann <[EMAIL PROTECTED]>
Date: Sun Nov 23 13:44:22 2008 +0100
Add Device interface to device elements
commit b570627cf85d3231a1bdff90c6d7f07c015194d5
Author: Marcel Holtmann <[EMAIL PROTECTED]>
Date: Sun Nov 23 13:36:22 2008 +0100
Add API documentation for network interface
commit f120fa2ca1ed88f0394eb4bf286e4d2dca7e6863
Author: Marcel Holtmann <[EMAIL PROTECTED]>
Date: Sun Nov 23 13:29:33 2008 +0100
Fix small spelling mistake
commit 0e818d22e9122730882e9ee646b08a909d8f1ff1
Author: Marcel Holtmann <[EMAIL PROTECTED]>
Date: Sun Nov 23 13:26:51 2008 +0100
Use WiFi.Name property for network selection
commit f1a1f26fd469d0d536026020913d4f301de07f24
Author: Marcel Holtmann <[EMAIL PROTECTED]>
Date: Sun Nov 23 13:25:38 2008 +0100
Detect wpa_supplicant service and WiFi devices
commit 3ff2030313c116a4bf0421b0b0086e7c252e7ea4
Author: Marcel Holtmann <[EMAIL PROTECTED]>
Date: Sun Nov 23 13:24:50 2008 +0100
Add support for WiFi Security and Passphrase properties
commit bed9f7d567b9a22c3c833f3b40ecd5afdc06d873
Author: Marcel Holtmann <[EMAIL PROTECTED]>
Date: Sun Nov 23 12:28:29 2008 +0100
Call connect function if service is present
commit 3c5f31a95d29fd46f9b7907d75721eb9b3d820b9
Author: Marcel Holtmann <[EMAIL PROTECTED]>
Date: Sun Nov 23 12:25:46 2008 +0100
Add function for checking if a service is present
commit 27cd15d89ec7755c78bd149d0b026c5b595a19f5
Author: Marcel Holtmann <[EMAIL PROTECTED]>
Date: Sun Nov 23 12:25:22 2008 +0100
Remove unused variable
commit 6578ac5c8229d509af2347a77f806e6818599518
Author: Marcel Holtmann <[EMAIL PROTECTED]>
Date: Sun Nov 23 11:12:59 2008 +0100
Don't detect WiFi and Bluetooth devices anymore
commit 80ef1286cda5b5ec2ec48f0572a2909ad80c06b0
Author: Marcel Holtmann <[EMAIL PROTECTED]>
Date: Wed Nov 19 10:22:05 2008 +0100
Add script for testing manager interface
commit a5d0c184434c2d4385aa69a0de703fe0eb06b6e2
Author: Marcel Holtmann <[EMAIL PROTECTED]>
Date: Wed Nov 19 10:21:19 2008 +0100
Add global state property
commit 554454d3008035e0df46a20909d796b5f7813ce5
Author: Marcel Holtmann <[EMAIL PROTECTED]>
Date: Wed Nov 19 10:16:33 2008 +0100
Add entry for profile list property
commit 2d5ab53c5c005439464c684ed3402d81598c5aea
Author: Marcel Holtmann <[EMAIL PROTECTED]>
Date: Wed Nov 19 10:15:25 2008 +0100
Use properties for profiles, devices and connections
commit 45c42779987d8e03732f571ef2b454c0f4c9abce
Author: Marcel Holtmann <[EMAIL PROTECTED]>
Date: Wed Nov 19 09:28:06 2008 +0100
Add device interface documentation
commit b7580c03be552675c19b9096b4094eecf1076c70
Author: Marcel Holtmann <[EMAIL PROTECTED]>
Date: Wed Nov 19 09:27:20 2008 +0100
Update manager interface documentation
commit def315a906d282938698e7cdb938c54e7a344988
Author: Marcel Holtmann <[EMAIL PROTECTED]>
Date: Wed Nov 19 07:57:22 2008 +0100
Neither HAL nor SQLite are used anymore
commit f085a666cb8dbaa8aa81d5eeec50cece0009cfa6
Author: Marcel Holtmann <[EMAIL PROTECTED]>
Date: Wed Nov 19 07:54:59 2008 +0100
Remove HAL device detection support
commit e70b5588ad0e2fab7139ea1cddd9ce6074cc7305
Author: Marcel Holtmann <[EMAIL PROTECTED]>
Date: Wed Nov 19 07:50:02 2008 +0100
Remove check for SQLite libraries
commit bf3f80d905bf9dadc9ad108625b6eb5fa15edd12
Author: Marcel Holtmann <[EMAIL PROTECTED]>
Date: Wed Nov 19 07:45:25 2008 +0100
Store element properties in key files
commit e204b1b0150df1d5904e509a1fbf5c12a66ed6f8
Author: Marcel Holtmann <[EMAIL PROTECTED]>
Date: Wed Nov 19 07:40:37 2008 +0100
Add support for resolver modules
commit 9f5fe30d3ba7b2f1d3965859c822dca2201b2a3f
Author: Marcel Holtmann <[EMAIL PROTECTED]>
Date: Mon Oct 20 02:12:38 2008 +0200
Link wifi plugin with libgdbus
Diff in this email is a maximum of 400 lines.
diff --git a/HACKING b/HACKING
index 9e0adec..eb1db38 100644
--- a/HACKING
+++ b/HACKING
@@ -52,6 +52,28 @@ like this:
# make maintainer-clean
+Running from within the source code repository
+==============================================
+
+When using "./configure --enable-maintainer-mode" the automake scripts will
+use the plugins directly from within the repository. This removes the need
+to use "make install" when testing "connmand". The "bootstrap-configure"
+automatically includes this option.
+
+ Run daemon in foreground with debugging
+ # sudo ./src/connmand -n -d
+
+For production installations or distribution packaging it is important that
+the "--enable-maintainer-mode" option is NOT used.
+
+Some times it is important to restrict the available interfaces. For example
+in cases where testing happens over a network connection. The "-i" command
+line switch allows to specify a glob pattern for the interface names.
+
+ Run daemon for wireless interfaces
+ # sudo ./src/connmand -n -i wlan*
+
+
Generating source code documentation
====================================
@@ -81,3 +103,4 @@ the documentation files are like this:
View documentation
# firefox doc/html/index.html
+
diff --git a/README b/README
index c5a8483..9b6402a 100644
--- a/README
+++ b/README
@@ -11,8 +11,7 @@ In order to compile Connection Manager you need following
software packages:
- GCC compiler
- GLib library
- D-Bus library
- - HAL library (optional)
- - SQLite3 library (optional)
+ - udev library (optional)
- PolicyKit (optional)
To configure run:
diff --git a/configure.ac b/configure.ac
index 1107896..bcb38ea 100644
--- a/configure.ac
+++ b/configure.ac
@@ -56,10 +56,15 @@ PKG_CHECK_MODULES(GLIB, glib-2.0, dummy=yes,
AC_SUBST(GLIB_CFLAGS)
AC_SUBST(GLIB_LIBS)
-PKG_CHECK_MODULES(GTHREAD, gthread-2.0, dummy=yes,
+AC_ARG_ENABLE(threads, AC_HELP_STRING([--enable-threads],
+ [enable threading support]), [
+ AC_DEFINE(NEED_THREADS, 1, [Define if threading support is required])
+
+ PKG_CHECK_MODULES(GTHREAD, gthread-2.0, dummy=yes,
AC_MSG_ERROR(gthread is required))
-AC_SUBST(GTHREAD_CFLAGS)
-AC_SUBST(GTHREAD_LIBS)
+ GLIB_CFLAGS="$GLIB_CFLAGS $GTHREAD_CFLAGS"
+ GLIB_LIBS="$GLIB_LIBS $GTHREAD_LIBS"
+])
PKG_CHECK_MODULES(DBUS, dbus-1 >= 1.0, dummy=yes,
AC_MSG_ERROR(libdbus is required))
@@ -69,22 +74,16 @@ AC_SUBST(DBUS_LIBS)
AC_SUBST([GDBUS_CFLAGS], ['$(DBUS_CFLAGS) -I$(top_srcdir)/gdbus'])
AC_SUBST([GDBUS_LIBS], ['$(top_builddir)/gdbus/libgdbus.la $(DBUS_LIBS)'])
-PKG_CHECK_MODULES(HAL, hal >= 0.5.8, hal_found=yes, hal_found=no)
-AC_SUBST(HAL_CFLAGS)
-AC_SUBST(HAL_LIBS)
-AC_ARG_ENABLE(hal, AC_HELP_STRING([--enable-hal],
- [enable HAL plugin]), [enable_hal=${enableval}])
-AM_CONDITIONAL(HAL, test "${enable_hal}" = "yes" && test "${hal_found}" =
"yes")
+PKG_CHECK_MODULES(UDEV, libudev >= 130, udev_found=yes, udev_found=no)
+AC_SUBST(UDEV_CFLAGS)
+AC_SUBST(UDEV_LIBS)
+AM_CONDITIONAL(UDEV, test "${udev_found}" = "yes")
PKG_CHECK_MODULES(POLKIT, polkit-dbus >= 0.7, polkit_found=yes,
polkit_found=no)
AC_SUBST(POLKIT_CFLAGS)
AC_SUBST(POLKIT_LIBS)
AM_CONDITIONAL(POLKIT, test "${polkit_found}" = "yes")
-PKG_CHECK_MODULES(SQLITE, sqlite3, sqlite_found=yes, sqlite_found=no)
-AC_SUBST(SQLITE_CFLAGS)
-AC_SUBST(SQLITE_LIBS)
-
AC_ARG_ENABLE(fake, AC_HELP_STRING([--enable-fake],
[enable fake plugin]), [enable_fake=${enableval}])
AM_CONDITIONAL(FAKE, test "${enable_fake}" = "yes")
diff --git a/doc/Makefile.am b/doc/Makefile.am
index 92d9540..ea75e7f 100644
--- a/doc/Makefile.am
+++ b/doc/Makefile.am
@@ -48,6 +48,7 @@ EXTRA_DIST = $(DOC_MAIN_SGML_FILE) connman-introduction.xml
endif
EXTRA_DIST += dbus-introspection.dtd dbus-introspection.xsl \
- dbus-manager.xml
+ dbus-manager.xml
-EXTRA_DIST += manager-api.txt element-api.txt agent-api.txt plugin-api.txt
+EXTRA_DIST += manager-api.txt device-api.txt network-api.txt \
+ agent-api.txt plugin-api.txt
diff --git a/doc/connman-docs.xml b/doc/connman-docs.xml
index f1601c4..9c5affc 100644
--- a/doc/connman-docs.xml
+++ b/doc/connman-docs.xml
@@ -75,10 +75,17 @@
</para>
</reference>
- <reference id="element">
- <title>Element interface</title>
+ <reference id="device">
+ <title>Device interface</title>
<para>
-<programlisting><xi:include href="element-api.txt" parse="text"
/></programlisting>
+<programlisting><xi:include href="device-api.txt" parse="text"
/></programlisting>
+ </para>
+ </reference>
+
+ <reference id="network">
+ <title>Network interface</title>
+ <para>
+<programlisting><xi:include href="network-api.txt" parse="text"
/></programlisting>
</para>
</reference>
diff --git a/doc/device-api.txt b/doc/device-api.txt
new file mode 100644
index 0000000..d50a6c5
--- /dev/null
+++ b/doc/device-api.txt
@@ -0,0 +1,56 @@
+Device hierarchy
+================
+
+Service org.moblin.connman
+Interface org.moblin.connman.Device
+Object path [variable prefix]/{device0,device1,...}
+
+Methods dict GetProperties()
+
+ Returns properties for the device object. See
+ the properties section for available properties.
+
+ Possible Errors: [service].Error.InvalidArguments
+ [service].Error.DoesNotExist
+
+ void SetProperty(string name, variant value)
+
+ Changes the value of the specified property. Only
+ properties that are listed as read-write are
+ changeable. On success a PropertyChanged signal
+ will be emitted.
+
+ Possible Errors: [service].Error.InvalidArguments
+ [service].Error.DoesNotExist
+
+Signals PropertyChanged(string name, variant value)
+
+ This signal indicates a changed value of the given
+ property.
+
+Properties string Name [readonly]
+
+ The device name (for example eth0, wlan0 etc.)
+
+ string Type [readonly]
+
+ The device type (for example ethernet, wifi etc.)
+
+ boolean Powered [readwrite]
+
+ Switch a device on or off. This will also modify
+ the list of networks in range. All known networks
+ will be still available via the Networks property.
+
+ boolean Scanning [readonly]
+
+ Indicates if a device is scanning. Not all device
+ types might support this. Also some hardware might
+ execute background scanning without notifying the
+ driver about it. Use this property only for visual
+ indication.
+
+ array{object} Networks [readonly]
+
+ List of networks objects paths. Every object path
+ represents a network in range or a known network.
diff --git a/doc/element-api.txt b/doc/element-api.txt
deleted file mode 100644
index 423f1a7..0000000
--- a/doc/element-api.txt
+++ /dev/null
@@ -1,50 +0,0 @@
-Element hierarchy
-*****************
-
-Service name org.moblin.connman
-Interface name org.moblin.connman.Element
-Object path [element object]
-
-Methods dict GetProperties()
-
-Properties string Type
- string Subtype
- string Driver
- string Vendor
- string Product
-
-
-Method: GetProperties
-=====================
-This method allows to retrieve all properties of an element at once. The
-properties are presented in a dictionary.
-
-Property: Type
-==============
-This property represents the main type of an element. It can have the values
-like "device", "network", "ipv4", "ipv6", "dhcp", "bootp" and "zeroconf".
-
-Property: Subtype
-=================
-This property represents the subtype of an element. In the normal case this
-is the hardware type. It can have values like "ethernet", "wifi", "wimax",
-"modem" and "bluetooth".
-
-The element system will inherit the subtype from the parent if not overwritten
-manually and so it should be present in every element.
-
-Property: Driver
-================
-This property represents the driver that is assigned to this element. This
-value will only be present in case of Device elements. On Linux system this
-is the kernel driver name.
-
-Property: Vendor
-================
-This property represent the vendor string for this element. This value is only
-present in case of a Device element. This information are taken from HAL.
-
-Property: Product
-=================
-This property represent the product string for this element. This value is only
-present in case of a Device element. This information are taken from HAL.
diff --git a/doc/manager-api.txt b/doc/manager-api.txt
index 03b39a5..8ef4359 100644
--- a/doc/manager-api.txt
+++ b/doc/manager-api.txt
@@ -1,46 +1,59 @@
Manager hierarchy
-*****************
+=================
-Service name org.moblin.connman
-Interface name org.moblin.connman.Manager
+Service org.moblin.connman
+Interface org.moblin.connman.Manager
Object path /
-Methods array{object} ListElements()
+Methods dict GetProperties()
+
+ Returns all global system properties. See the
+ properties section for available properties.
+
+ Possible Errors: [service].Error.InvalidArguments
+ [service].Error.DoesNotExist
+
+ void SetProperty(string name, variant value)
+
+ Changes the value of the specified property. Only
+ properties that are listed as read-write are
+ changeable. On success a PropertyChanged signal
+ will be emitted.
+
+ Possible Errors: [service].Error.InvalidArguments
+ [service].Error.DoesNotExist
+
void RegisterAgent(object path)
+
+ Register new agent for handling user requests.
+
+ Possible Errors: [service].Error.InvalidArguments
+
void UnregisterAgent(object path)
-Signals ElementAdded(object)
- ElementRemoved(object)
-
-
-Method: ListElements
-====================
-This method lists all available interfaces. The return value is an array of
-object paths. Every attached network interface (eth0, wlan0 etc.) of the
-system is presented by an object path with additional interfaces on it. The
-main interface is org.freedesktop.connman.Interface.
-
-Method: RegisterAgent
-=====================
-This method allows the user interace to register an agent. There can be only
-one agent registered at a time. The parameter of the method is the object
-path the agent has been registered for the callback method. The agent has
-to implement org.moblin.connman.Agent interface on this object path.
-
-Method: UnregisterAgent
-=======================
-This method unregisters a previously registered agent. In case the agent
-application exits the core will automatically unregister the agent. However
-for a clean agent application it is important to call the unregister method.
-
-Signal: ElementAdded
-====================
-This signal is emitted every time a new element has been added by the
-core and successfully activated. The signal is also emitted on startup
-or at anytime at runtime in case of hotplug devices.
-
-Signal: ElementRemoved
-======================
-This signal is emitted every time an element has been removed. This can
-happen at any time in case of hotplug devices. When the system shuts down,
-this signal is also emitted.
+ Unregister an existing agent.
+
+ Possible Errors: [service].Error.InvalidArguments
+
+Signals PropertyChanged(string name, variant value)
+
+ This signal indicates a changed value of the given
+ property.
+
+Properties string State [readonly]
+
+ The global connection state of a system. Possible
+ values are "online" if at least one connection exists
+ and "offline" if no device is connected.
+
+ array{object} Profiles [readonly]
+
+ List of profile object paths.
+
+ array{object} Devices [readonly]
+
+ List of device object paths.
+
+ array{object} Connections [readonly]
+
+ List of active connection object paths.
diff --git a/doc/network-api.txt b/doc/network-api.txt
new file mode 100644
index 0000000..eb7b40c
--- /dev/null
+++ b/doc/network-api.txt
@@ -0,0 +1,60 @@
+Network hierarchy
+=================
+
+Service org.moblin.connman
+Interface org.moblin.connman.Network
+Object path [variable prefix]/{network0,network1,...}
+
+Methods dict GetProperties()
+
+ Returns properties for the network object. See
+ the properties section for available properties.
+
+ Possible Errors: [service].Error.InvalidArguments
+ [service].Error.DoesNotExist
+
+ void SetProperty(string name, variant value)
+
+ Changes the value of the specified property. Only
+ properties that are listed as read-write are
+ changeable. On success a PropertyChanged signal
+ will be emitted.
+
+ Possible Errors: [service].Error.InvalidArguments
+ [service].Error.DoesNotExist
+
+Signals PropertyChanged(string name, variant value)
+
+ This signal indicates a changed value of the given
+ property.
+
+Properties string WiFi.Name [readonly]
+
_______________________________________________
Commits mailing list
[email protected]
https://lists.moblin.org/mailman/listinfo/commits