Hi, Here is a patch set providing tethering information.
The location of the information is added to the Manager API, there didn't seem to be any better place for it either. The patch collects tethering information from the DHCP server and from Bluetooth devices added to the tethering bridge. The Bluetooth ones are the ones that can be identified, the rest of the tethered clients have unknown type. A bug fix for the DHCP server is in patch 06. Plese comment, Patrik Patrik Flykt (12): doc: Add method call and signal for tethering information tethering: Create functions for storing and removing tethering information rtnl: Save bridge interface index rtnl: Update tethering info with attached Bluetooth devices gdhcp: Make g_dhcp_server_stop() static gdhcp: Lease lifetime is always relative gdhcp: Add DHCP server lease timeout notification support gdhcp: Add DHCP lease helper functions tethering: Get DHCP lease information dbus: Add helper function tethering: Implement tethering info method call and signal manager: Add tethering method call and signal to Manager API doc/manager-api.txt | 21 +++++++ gdhcp/gdhcp.h | 14 ++++- gdhcp/server.c | 138 +++++++++++++++++++++++++++++++++++++---- src/connman.h | 7 +++ src/dbus.c | 26 ++++++++ src/manager.c | 11 ++++ src/rtnl.c | 53 ++++++++++++---- src/tethering.c | 171 +++++++++++++++++++++++++++++++++++++++++++++++++++ 8 files changed, 416 insertions(+), 25 deletions(-) -- 1.7.10.4 _______________________________________________ connman mailing list connman@connman.net http://lists.connman.net/listinfo/connman