This patch set introduces a new CLI for Connman to use with the current tree. The new files in the client directory compile under a single executable called "cmn", which provides a larger range of functions. It consists of patches that add the new client and documentation, remove the old client, and update the Makefile.am and other associated files.
The first 6 patches add the files containing the functions used in the CLI, and the main CLI file and the files for interactive mode. The seventh patch includes a new man page for cmn, and changes to TODO, AUTHORS, and .gitignore. The last patch removes the old client and updates the Makefile.am to compile the client and install the man page. Description ----------- With the current functionality, the cmn CLI can be used to handle most simple network connections. It is able to connect and configure all options regarding wired or unsecured services. Any type of technology can be enabled or disabled, as long as it actually exists on the system. The current state of the system and current technology can be retrieved, as well as a list of services. The list will show favorite services and currently connected ones. Connecting and disconnecting to a service works as long as the service is not secured. The cmn client can also be used to monitor changes to the services, technologies, or the state of the system. Users can run an instance of cmn as a monitor, and use another to configure and connect to services, allowing them to view the changes in real-time. Future Plans ------------ The next task we plan to focus on is providing functionality to connect to secured networks. We must create and register an agent, as well as the required functions that can reply to connman's request. We also plan to be able to asyncronously display a list of changed services upon the user running the "scan" command. This should display a list of updated services if they have changed, or a message stating that that the services have not changed. Smaller updates include configuring some options such as enabling tethering and clearing properties. More options will also be added to the interactive mode so users can actually configure from there. Tudor Marcu (12): Add service files for new client. Add technology files. Add data_manager files. Add connman monitor files. Add interactive mode files. Update include/dbus.h to open more types. Add manpage for cmn client. Update configure.ac checks. Update Makefile.am and add new client main file. Update gitignore with new CLI name. Update AUTHORS file. Update TODO CLI authors. .gitignore | 2 +- AUTHORS | 2 + Makefile.am | 17 +- TODO | 3 +- client/data_manager.c | 183 +++++++++++++++ client/data_manager.h | 52 +++++ client/interactive.c | 202 ++++++++++++++++ client/interactive.h | 30 +++ client/main.c | 622 +++++++++++++++++++++++++++++++++++-------------- client/monitor.c | 214 +++++++++++++++++ client/monitor.h | 40 ++++ client/services.c | 489 ++++++++++++++++++++++++++++++++++++++ client/services.h | 57 +++++ client/technology.c | 170 ++++++++++++++ client/technology.h | 45 ++++ configure.ac | 5 + doc/cmn.1 | 198 ++++++++++++++++ include/dbus.h | 19 ++ 18 files changed, 2173 insertions(+), 177 deletions(-) create mode 100644 client/data_manager.c create mode 100644 client/data_manager.h create mode 100644 client/interactive.c create mode 100644 client/interactive.h create mode 100644 client/monitor.c create mode 100644 client/monitor.h create mode 100644 client/services.c create mode 100644 client/services.h create mode 100644 client/technology.c create mode 100644 client/technology.h create mode 100644 doc/cmn.1 -- 1.7.9.5 _______________________________________________ connman mailing list [email protected] http://lists.connman.net/listinfo/connman
