Andy Holmes
28c8345eca
add device_added, device_removed signals
7 years ago
Maciej Borzecki
ca1a017aa2
Merge pull request #13 from andyholmes/bboozzoo/dbus-support
add 'disallow_device()' function
7 years ago
Andy Holmes
f8b0de37a8
add 'disallow_device()' function to devicemanager.vala and devicemanager-proxy.vala
8 years ago
Maciek Borzecki
9602f5a238
travis: build on opensuse
8 years ago
Maciek Borzecki
50057f935b
mconnectctl: use IsConnected property
8 years ago
Maciek Borzecki
60461c08ab
mconnectctl: --verbose switch
Affects show-device output.
8 years ago
Maciek Borzecki
8894650a9f
device-proxy: add is_connected (bool IsConnected) property
Hook to connected()/disconnected() Device signals.
8 years ago
Maciek Borzecki
c932b851df
device: make is_active a simple property
8 years ago
Maciek Borzecki
64bb2741f7
device: emit connected() signal
8 years ago
Maciek Borzecki
3f2b15715f
device-proxy: signal PropertiesChanged
8 years ago
Maciek Borzecki
a1bc21e07a
battery-proxy: remove battery(level, charing) signal
8 years ago
Maciek Borzecki
99dd419d6a
battery-proxy: use DBusPropertyNotifier helper for sending property notifications
8 years ago
Maciek Borzecki
74378335f5
property-proxy: helper class for sending out DBus PropertiesChanged signals
8 years ago
Maciek Borzecki
a0f1ba8efa
mconnect/battery-proxy: send org.freedesktop.DBus.Properties.PropertiesChanged
8 years ago
Maciek Borzecki
6d911bdb71
test: cleanup indentation
8 years ago
Maciek Borzecki
f739c652b3
test: fix implicit declaration of g_remove()
8 years ago
Maciek Borzecki
4c542bf551
crypt: cleanup deprecated RSA_generate_key()
8 years ago
Maciek Borzecki
11cd80adcf
crypt: cleanup tabs
8 years ago
Maciek Borzecki
c183a1b120
dir-locals: add emacs setup
8 years ago
Maciek Borzecki
ed2c15210a
battery-proxy: add Level and Charging properties to DBus interface
8 years ago
Maciek Borzecki
278d4ca2a4
device-proxy, devicemanager-proxy: register packet handlers on DBus
Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
8 years ago
Maciek Borzecki
debd2c5a53
devicemanager: make sure to notify about new device before device capability signals
8 years ago
Maciek Borzecki
c1f18c11c3
devicemanager, packethandlers: rework device capability handling
8 years ago
Maciek Borzecki
fb1108bf91
device: improved device capabilty handling
8 years ago
Maciek Borzecki
462ecc3a60
core: formatting change
8 years ago
Maciek Borzecki
ea6577b0e5
device, discovereddevice, utils: use same method for generating 'unique' device strings
8 years ago
Maciek Borzecki
8aee6ecfcc
mconnectctl: print capabilities
8 years ago
Maciek Borzecki
e4b82e1cfd
mconnect/main: initialize Gdk
Mousepad handler requires Gdk to be initiazed.
8 years ago
Maciek Borzecki
47f1d819c5
device-proxy: make object path part of DeviceDBusProxy
Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
8 years ago
Maciek Borzecki
725eec8214
battery-proxy: track bus registration ID
Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
8 years ago
Maciek Borzecki
aa7262b89a
mousepad: distinguish mousepad capability and packets
Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
8 years ago
Maciek Borzecki
4f09325cb4
packethandlers-proxy, devicemanager-proxy: register per-device DBus interfaces of packet handlers
8 years ago
Maciek Borzecki
5accd01ee1
battery-proxy: DBus interface for battery packet handler
8 years ago
Maciek Borzecki
b89b34de8d
ping-proxy: DBus interface of ping packet handler
8 years ago
Maciek Borzecki
f8e8a30e33
device-proxy: keep track of per-device DBus exported packet handlers
8 years ago
Maciek Borzecki
8dfcf6c189
packethanlerinterface-proxy: packet handler exported over DBus
8 years ago
Maciek Borzecki
95c16fed52
ping, battery, mousepad: make packet types public
8 years ago
Maciek Borzecki
90e48f2333
device: proper pair handling if device is already paired
8 years ago
Maciek Borzecki
dd9f395c8a
device: keep track of capabilities when saving/loading from cache
8 years ago
Maciek Borzecki
bc9c87e4bf
mconnect, crypt: cleanup logging, use verbose debug where possible
8 years ago
Maciek Borzecki
f1d4552c57
utils, application: verbose debug logging
8 years ago
Maciek Borzecki
4b65e59bb2
utils: generic helpers
8 years ago
Maciek Borzecki
83f5f9dfec
ping: add ping handler
8 years ago
Maciek Borzecki
3b4fe74843
devicemanager: reduce cache update chatter
Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
8 years ago
Maciek Borzecki
6787377f59
device: handle split brain
Handle a scenario when we thing we are not paired, but device sends us a packet
that clearly indicates we have a channel open. In this case assume that we are
paired and send a pair packet ourselves.
Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
8 years ago
Maciek Borzecki
e3b79fc03e
devicemanager: update devices cache when device pair status is changed
Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
8 years ago
Maciek Borzecki
910ac09458
device: setup pair timeout only if expecting a response
Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
8 years ago
Maciek Borzecki
9258033af9
device, devicemanager: simplify device activation
Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
8 years ago
Maciek Borzecki
ed4c4b04e2
device: save & load device pair status and public key to/from cache
Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
8 years ago
Maciek Borzecki
1cfb7ad0a3
device: proper handling of pair timeout and device public key
Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
8 years ago