Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2013-05-03 | client: Add command mode and agent mode helper functions | Patrik Flykt | 2 | -19/+38 | |
In command mode remember history and do command completion, in agent mode do neither. Enable saving and restoring of the readline prompt and add the GIOChannel watch also for non-interactive mode. | |||||
2013-05-03 | client: Add agent command | Patrik Flykt | 1 | -0/+30 | |
2013-05-03 | client: Add support for registering and unregistering an agent | Patrik Flykt | 2 | -0/+180 | |
Add agent .h and .c files containing registering and unregistering functionality. | |||||
2013-05-03 | client: Enable method call return to exit or continue running | Patrik Flykt | 3 | -25/+50 | |
Enable a client method call return function to exit or continue running when in non-interactive mode. When a connmanctl_dbus_method_return_func_t returns -EINPROGRESS in non-interactive mode, the command line client is kept running even after the method call has been processed. The command line client needs to keep running after a successful Agent registration in order to process Agent method calls. Also enabling tethering in non-interactive mode needs the client executing until SSID, passphrase and tethering mode have been set. | |||||
2013-05-03 | client: Make dbus helper function variable const char * | Patrik Flykt | 2 | -4/+4 | |
2013-04-30 | client: Fix up wrongly included typedef | Patrik Flykt | 2 | -8/+15 | |
2013-04-30 | client: Remove unneeded members from structs | Patrik Flykt | 1 | -90/+70 | |
Remove now obsolete memebers from the option struct and instead add a description field. Also remove the now unnecessary include. | |||||
2013-04-30 | client: Move commands around to more logical places in the table | Patrik Flykt | 1 | -4/+4 | |
2013-04-23 | client: Trim off spaces from user input | Patrik Flykt | 1 | -8/+20 | |
After splitting the input string into components, create a new array holding the non-zero substrings as input for the commands. Thus the input can start and end as well as divide its separate parts by any number spaces. | |||||
2013-04-23 | client: Add command completion | Patrik Flykt | 3 | -0/+37 | |
Add completion support for connmanctl commands. | |||||
2013-04-23 | client: Follow coding style | Patrik Flykt | 3 | -5/+6 | |
Follow coding style and use __connmanctl prefix for the commands() function. | |||||
2013-04-23 | client: Add support for tethering | Patrik Flykt | 1 | -0/+175 | |
Add tethering support. For WiFi also set the SSID and passphrase if they have been specified on the command line. Check that setting both SSID and passphrase succeed before trying to enable tethering. After successfully setting SSID and passphrase for WiFi, use the boolean value parsing helper function return value to decide whether WiFi tethering is to be enabled, disabled or not modified. Fixes BMC#25886 | |||||
2013-04-06 | client: Add --help, -h options | Patrik Flykt | 1 | -1/+10 | |
2013-04-05 | client: Fix help text, IPv4 setting uses netmask | Patrik Flykt | 1 | -1/+1 | |
2013-04-04 | client: Move boolean parsing helper function to commands file | Patrik Flykt | 3 | -27/+26 | |
The helper function is not used elsewhere, thus move it. | |||||
2013-04-04 | client: Remove now obsolete functions and files | Patrik Flykt | 9 | -1231/+1 | |
Remove now obsolete files from services. Remove data_manager, dbus and technology .h and .c files. Update Makefile.am accordingly. | |||||
2013-04-04 | client: Remove now obsolete function | Patrik Flykt | 1 | -6/+0 | |
2013-04-04 | client: Use D-Bus helper functions when setting proxy | Patrik Flykt | 1 | -41/+76 | |
Append proxy server and exclude information in the callback functions. | |||||
2013-04-04 | client: Use helper functions for setting domains, nameservers and timeservers | Patrik Flykt | 1 | -9/+39 | |
2013-04-04 | client: Use helper functions for IP, autoconnect and removal | Patrik Flykt | 1 | -23/+158 | |
Use D-Bus helper functions for service remove, autoconnect and IP configuration. Create a common callback for all configuration properties. Count also the number of appended items and add it to the current index when done. | |||||
2013-04-04 | client: Use D-Bus helper function to implement services command | Patrik Flykt | 1 | -9/+49 | |
Fixes BMC#25953 BMC#25974 | |||||
2013-04-04 | client: Use D-Bus helper functions for Technology enabling/disabling | Patrik Flykt | 1 | -26/+58 | |
2013-04-04 | client: Add support functions for setting properties | Patrik Flykt | 2 | -16/+213 | |
Add support functions for setting basic, dictionary and array properties. | |||||
2013-04-04 | client: Use D-Bus helpers for Technology Scan method call | Patrik Flykt | 1 | -12/+20 | |
2013-04-04 | client: Use D-Bus helpers for Technology GetTechnologies method call | Patrik Flykt | 1 | -1/+32 | |
2013-04-04 | client: Use D-Bus helper functions for service connect and disconnect | Patrik Flykt | 1 | -9/+39 | |
2013-04-04 | client: Use D-Bus helper functions for state method call | Patrik Flykt | 1 | -1/+18 | |
2013-04-04 | client: Print out help header if non-interactive | Patrik Flykt | 1 | -0/+8 | |
2013-04-04 | client: Add calls to save and redraw input prompt | Patrik Flykt | 2 | -1/+12 | |
2013-04-04 | client: Remove now obsolete client/interactive.[hc] files | Patrik Flykt | 2 | -151/+0 | |
2013-04-04 | client: Remove readline handling from main.c | Patrik Flykt | 1 | -104/+6 | |
2013-04-04 | client: Handle exit and inprogress values | Patrik Flykt | 1 | -6/+11 | |
When exiting, return 1, when D-Bus method call is in progress return -EINPROGRESS. When exiting successfully return 0, when an error is encountered return the error value. | |||||
2013-04-04 | client: Delete the now obsolete monitor.[hc] files | Patrik Flykt | 5 | -392/+0 | |
2013-04-04 | client: Reimplement monitor command | Patrik Flykt | 1 | -12/+171 | |
Use generic D-Bus printing function to print the signals | |||||
2013-04-04 | client: Add input handling | Patrik Flykt | 3 | -0/+251 | |
Set up readline command line input handling. Add helper functions to save and redraw the command line when output needs to be printed to the screen. | |||||
2013-04-04 | client: Add pretty-printing for ServicesChanged signal | Patrik Flykt | 2 | -2/+121 | |
Create a set of helper functions for pretty-printing both the added and the removed services dictionaries in the ServicesChanged signal. | |||||
2013-04-04 | client: Add connmanctl D-Bus helper functions | Patrik Flykt | 2 | -0/+239 | |
Add helper functions for pretty-printing D-Bus messages and making a method call. | |||||
2013-02-21 | client: Remove the now obsolete command parsing functions | Patrik Flykt | 3 | -48/+11 | |
2013-02-21 | client: Remove unused functions | Patrik Flykt | 2 | -62/+0 | |
Remove find_service() as it is no longer used and match_service_name() which was only used by find_service(). | |||||
2013-02-21 | client: Factor out monitor command | Patrik Flykt | 1 | -129/+30 | |
2013-02-21 | client: Create monitor helper functions | Patrik Flykt | 2 | -0/+94 | |
2013-02-21 | client: Factor out technology enable and disable commands | Patrik Flykt | 1 | -40/+48 | |
2013-02-21 | client: Wait for a reply from Manager API | Patrik Flykt | 1 | -2/+10 | |
2013-02-21 | client: Wait for a reply from Technology API | Patrik Flykt | 1 | -6/+10 | |
Also reduce logging. | |||||
2013-02-21 | client: Factor out scan command | Patrik Flykt | 1 | -12/+19 | |
2013-02-21 | client: Reduce technology logging | Patrik Flykt | 1 | -8/+3 | |
Reduce technology logging messages and modify the remaining one. Also free the DBusError. | |||||
2013-02-21 | client: Factor out disconnect command | Patrik Flykt | 1 | -12/+13 | |
2013-02-21 | client: Factor out connect command | Patrik Flykt | 1 | -12/+13 | |
2013-02-21 | client: Don't look up service on connect or disconnect | Patrik Flykt | 1 | -16/+7 | |
Attempt to connect or disconnect without looking up the service in advace. Fix memory leak and update the error message. | |||||
2013-02-21 | client: Factor out technologies command | Patrik Flykt | 1 | -9/+4 | |