Commit Graph

311 Commits

Author SHA1 Message Date
Denis Kenzior f64dea81b8 client: Fix dbms to bar conversion utility
Andrew: Note the values aren't guaranteed to be round 100 multiples, so
-6050 is also possible.

Instead of a switch case, use if statements instead
2017-05-19 19:22:32 -05:00
Tim Kourt 17cad2777d client: convert dbms value into stars 2017-05-19 18:06:17 -05:00
Tim Kourt 02f47a164c client: fix dependency unbind logic 2017-05-19 18:05:16 -05:00
Tim Kourt e42aee89b1 client: display table header for the empty lists 2017-05-19 18:04:43 -05:00
Tim Kourt 305af40636 client: fix display completion leak 2017-05-12 17:46:44 -05:00
Tim Kourt 89351da35f client: Add WSC list command 2017-05-12 17:46:44 -05:00
Tim Kourt b530f4fb77 client: add completion for the cmds without entity 2017-05-12 17:46:44 -05:00
Tim Kourt 8eaeb66220 client: check for WSC-capability in arg completion 2017-05-12 17:46:44 -05:00
Tim Kourt 006e60d291 client: allow interface search by NULL property 'value' 2017-05-12 17:46:44 -05:00
Tim Kourt 14a18ce3df client: Add basic ops for wsc 2017-05-12 17:46:44 -05:00
Tim Kourt 1fed159f4a client: fix leaks 2017-05-12 14:38:03 -05:00
Tim Kourt 681f9355ad client: fix typos 2017-05-02 16:43:24 -05:00
Tim Kourt cb40e36ea1 client: introduce psk agent manager 2017-05-02 14:11:00 -05:00
Tim Kourt 8080789d77 client: add properties interface into ignorable list 2017-05-01 16:57:56 -05:00
Tim Kourt 893a0e67b2 client: add subscription for the property updates 2017-05-01 13:46:49 -05:00
Tim Kourt 03f517a1f7 client: Add WSC-capable indication for device 2017-05-01 13:44:00 -05:00
Tim Kourt 53980c98d8 client: WSC 'start-pin' command 2017-05-01 13:43:31 -05:00
Tim Kourt e4261d164d client: WSC start-user-pin command 2017-05-01 13:43:22 -05:00
Tim Kourt c6045ff100 client: WSC PushButton command 2017-05-01 13:43:14 -05:00
Tim Kourt ff5e3f3b52 client: WSC cancel command 2017-05-01 13:42:37 -05:00
Tim Kourt 87b4f282db client: device dependency binder 2017-05-01 13:42:25 -05:00
Tim Kourt b1d261a790 client: add WSC argument completers 2017-05-01 13:42:21 -05:00
Tim Kourt ccb3afc1f1 client: define WSC commands 2017-05-01 13:41:51 -05:00
Tim Kourt ee369bacc9 client introduce wsc interface 2017-05-01 13:40:14 -05:00
Tim Kourt b2ea962a67 client: remove unused function 2017-04-28 15:02:15 -05:00
Tim Kourt 6a06623b0d client: exclude unicode characters 2017-04-28 13:27:05 -05:00
Tim Kourt cd3d9a26c1 client: add null check for adapter proxy 2017-04-28 13:27:05 -05:00
Tim Kourt 44e9e604f6 client: change str representation of bool fields 2017-04-28 13:27:05 -05:00
Tim Kourt d5c7fea13d client: Implement 'list, show' adapter commands 2017-04-27 15:14:22 -05:00
Tim Kourt 81172d0932 client: Define commands for adapter interface 2017-04-27 15:14:05 -05:00
Tim Kourt 636bdaeb5d client: Add basic ops. for adapter interface 2017-04-27 15:13:53 -05:00
Tim Kourt 0a68431ef9 client: Add adapter argument completers 2017-04-27 15:13:28 -05:00
Tim Kourt 6d210d5aa4 client: Add properties for adapter interface 2017-04-27 15:12:27 -05:00
Tim Kourt 60c4025cdf client: Introduce adapter interface 2017-04-27 15:11:59 -05:00
Tim Kourt bc17967c91 client: network connection check 2017-04-27 15:11:35 -05:00
Tim Kourt c6b05c722b client: add network basic ops 2017-04-27 15:11:17 -05:00
Tim Kourt c2fcba8040 client: add network properties 2017-04-27 15:10:35 -05:00
Tim Kourt 425cb23f98 client: Ops check on destroy 2017-04-26 18:51:45 -05:00
Tim Kourt 8f7066ec36 client: Remove deprecated properties proxy 2017-04-26 18:51:32 -05:00
Tim Kourt 5b94af5aab client: display device properties 2017-04-26 18:51:21 -05:00
Tim Kourt 4740dc8445 client: display ordered networks 2017-04-26 18:50:16 -05:00
Tim Kourt 7e441040e5 client: Add 'connect' cmd for device 2017-04-26 18:49:52 -05:00
Tim Kourt e2a81248df client: Display handler for the completion candidates 2017-04-26 18:48:53 -05:00
Tim Kourt e04df7f282 client: cmd argument completion based on properties 2017-04-26 18:48:25 -05:00
Tim Kourt 7882390e81 client: convert property getters to tostr 2017-04-26 18:47:32 -05:00
Tim Kourt 0c64cc226a client: Handle empty entity field 2017-04-26 14:36:25 -05:00
Tim Kourt bfbffa1111 client: Add 'forget' cmd for known network 2017-04-26 14:36:25 -05:00
Tim Kourt e0117febd5 client: Introduce cmd execution status 2017-04-26 14:36:25 -05:00
Tim Kourt 7a9f72018a client: Add 'list' cmd for known networks 2017-04-26 14:36:25 -05:00
Tim Kourt 59a3c848ff client: Change signature of the prop. setters 2017-04-25 17:04:14 -05:00
Tim Kourt 8f632633c1 client: Add NULL check for ops 2017-04-25 12:37:24 -05:00
Tim Kourt 4b4c7217fb client: Add ops to known networks 2017-04-21 15:02:17 -05:00
Tim Kourt 21687e9a81 client: Argument completion for known-networks 2017-04-21 15:01:02 -05:00
Tim Kourt 8cdfd1e460 client: add commands for known networks 2017-04-21 15:00:57 -05:00
Tim Kourt d35322d347 client: Introduce known networks interface 2017-04-21 15:00:57 -05:00
Tim Kourt 1ef601dcf8 client: Handle failed retrieval of the objects 2017-04-21 15:00:57 -05:00
Tim Kourt f53cb22b7e client: Add display refresh 2017-04-21 12:56:46 -05:00
Tim Kourt 20588ff778 client: completion for device commands 2017-04-21 12:56:46 -05:00
Tim Kourt 02b52adf61 client: Entity argument completion 2017-04-21 12:56:46 -05:00
Tim Kourt c85ea2f924 client: Command family argument completion 2017-04-21 12:56:46 -05:00
Tim Kourt 34797796ed client: Introduce command completion 2017-04-21 12:56:46 -05:00
Tim Kourt 107cd45e92 client: Enable cmd prompt on dbus OM callback 2017-04-20 17:32:33 -05:00
Tim Kourt 1e6d7006f8 client: Add prompt for disabled input 2017-04-20 17:32:33 -05:00
Tim Kourt 0ee51c9dab client: readline callback 2017-04-20 17:32:33 -05:00
Tim Kourt 2d567414f1 client: Change main exit to quit 2017-04-20 17:32:33 -05:00
Tim Kourt c3aa97eec3 client: Remove display_types queue 2017-04-20 17:32:33 -05:00
Tim Kourt 2267d03bbb client: Fix naming 2017-04-20 17:32:33 -05:00
Tim Kourt a5db4630ec client: Introduce network interface 2017-04-18 17:21:48 -05:00
Tim Kourt 51cfb41005 client: Device command implementations 2017-04-18 17:17:01 -05:00
Tim Kourt 702be02527 client: Proxy method call 2017-04-18 16:43:42 -05:00
Tim Kourt 0ada918031 client: Device show cmd 2017-04-18 12:16:35 -05:00
Tim Kourt b3772259b5 client: Introduce device commands 2017-04-18 12:11:06 -05:00
Tim Kourt 2b4cb5d586 client: Device basic ops 2017-04-14 17:49:59 -05:00
Tim Kourt 723040305c client: Device properties 2017-04-14 17:49:08 -05:00
Tim Kourt 9eccb29ef3 client: Proxy accessors 2017-04-14 16:39:04 -05:00
Tim Kourt 57fed9e5d2 client: Additional interface property fields 2017-04-14 16:31:03 -05:00
Tim Kourt 9a8ffc473a client: Add device interface 2017-04-13 13:22:00 -05:00
Tim Kourt ef394579b0 client: Add INTERFACE_TYPE 2017-04-13 13:21:28 -05:00
Tim Kourt 6c2eae6999 client: Add COMMAND_FAMILY 2017-04-13 13:21:19 -05:00
Tim Kourt dcf2a0cae5 client: Implement command execution 2017-04-13 13:20:58 -05:00
Tim Kourt 6385116cc8 client: Add command into main 2017-04-12 16:21:29 -05:00
Tim Kourt 966a8effd1 client: Define command refresh interfaces 2017-04-12 15:33:26 -05:00
Tim Kourt 7c3ed0c61d client: Command display functions 2017-04-12 15:33:00 -05:00
Tim Kourt 17569c8d8b client: define basic command ops 2017-04-12 15:32:17 -05:00
Denis Kenzior af8afc6814 client: Fix whitespace 2017-04-12 13:06:15 -05:00
Tim Kourt b32fde13a7 client: Add well known interfaces 2017-04-12 11:38:41 -05:00
Tim Kourt 4fc6a3038a client: Allow command registration 2017-04-11 16:48:15 -05:00
Tim Kourt db679448bc client: Introduce command files
The purpose of these files is to encapsulate all of
the command processing functionality
2017-04-11 16:48:15 -05:00
Tim Kourt f5cb1d46bd client: display quit 2017-04-10 20:06:05 -05:00
Tim Kourt 50c76baed4 client: Interface dependency binding 2017-04-10 20:01:43 -05:00
Tim Kourt e3f823061e client: Add interface_type_register/unregister 2017-04-10 18:36:16 -05:00
Tim Kourt 5e3a8bcd9d client: Add proxy property handlers 2017-04-10 12:17:39 -05:00
Tim Kourt b6ebce0d90 client: disconnect message 2017-04-07 17:24:37 -05:00
Tim Kourt a21db05517 client: Proxy interface destruction logic 2017-04-07 17:18:14 -05:00
Tim Kourt 0d7d5a427d client: Proxy interface creation logic 2017-04-07 17:16:24 -05:00
Tim Kourt a60164f08f client: Add interfaces added/removed hadlers 2017-04-07 17:09:55 -05:00
Tim Kourt 27cc60987f client: handle managed objects 2017-04-06 15:14:14 -05:00
Tim Kourt 52b878c24f client: add display functions 2017-03-24 09:11:03 -05:00
Tim Kourt 32315338ae client: add display to main 2017-03-24 09:06:30 -05:00
Tim Kourt 21bebbd581 client: Introduce display files
The purpose of these files is to encapsulate all of
the display related functionality
2017-03-24 09:06:30 -05:00
Tim Kourt 0ca8d32384 client: Subscribe for the dbus events 2017-03-24 09:06:30 -05:00
Tim Kourt 4f5f231c5e client: Add dbus-proxy into main 2017-03-23 17:33:08 -05:00
Tim Kourt def38e28b6 client: Prepare main for the new development 2017-03-23 17:32:50 -05:00
Tim Kourt aa5ba1129f client: Create dbus-proxy files
The purpose of these files is to encapsulate all of the dbus
related functionality
2017-03-23 17:31:58 -05:00
Tim Kourt ace9bbb13e client: Adjust the license years
This patch signifies the start of the client development.
2017-03-23 10:49:21 -05:00
Marcel Holtmann 88909947e2 build: Remove support for usage of kdbus 2016-10-16 19:41:27 +02:00
Denis Kenzior ee00ac6541 client: Update to new l_main api 2016-06-08 17:39:35 -05:00
Andrew Zaborowski f983196d44 client: Avoid obsolete src/kdbus.c functions
Stop using the src/kdbus.c functions that duplicate ell functionality so
they can be removed.  Actually connect to dbus and for now just listen
for signals.
2016-04-04 14:25:41 -05:00
Marcel Holtmann 74b14e1791 client: Open private bus connection if available 2014-05-20 23:08:14 -07:00
Marcel Holtmann 0dbb04b93f client: Lookup the private daemon bus 2014-05-20 21:45:03 -07:00
Marcel Holtmann 9bb38e6c55 client: Add skeleton for daemon client utility 2014-05-11 11:01:11 -07:00