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
Maciek Borzecki
94be6214e1
devicemanager-proxy: register per capability bus interfaces
8 years ago
Maciek Borzecki
3a82d95223
devicemanager: signal device capabilities added
8 years ago
Maciek Borzecki
dbdf2f8938
device, devicemanager: support for updating device data using another Device instance
8 years ago
Maciek Borzecki
0bacf65210
battery: add battery signal
8 years ago
Maciek Borzecki
b5c740174f
packethandlers: enable only supported capabilities
8 years ago
Maciek Borzecki
cc461462b0
discovereddevice, device, device-proxy: outgoing/incoming capabilities
8 years ago
Maciek Borzecki
994d507e9f
devicemanager: activate device logs
8 years ago
Maciek Borzecki
d533b9a4e4
mconnectctl: remove unnecessary logs
8 years ago
Maciek Borzecki
ce4d156ec6
mconnectctl: fix IOError handling
8 years ago
Maciek Borzecki
eb04795e50
mconnectctl: fix copying delegates
8 years ago
Maciek Borzecki
ea97bb695b
device-proxy: subscribe to device property changes
8 years ago
Maciek Borzecki
5718b50330
device, mconnectctl: export and show connection status
Signed-off-by: Maciek Borzecki <maciek.borzecki@gmail.com>
8 years ago
Maciek Borzecki
eb114687b5
travis: switch to building inside containers
Travis host images are quite outdated, so the builds will now use containers
instead. By default there's a build for Arch Linux (using base/archlinux:latest
image) and Fedora (using official fedora:latest).
Builds are done using extra/travis-build script.
8 years ago
Maciek Borzecki
cac1ac1001
mconnectctl: sample client app for mconnect
8 years ago
Maciek Borzecki
e6e7f8d6d3
devicemanager: release protocol packet handlers when device disconnects
This prevents a protocol handler to be fired more than once.
8 years ago
Maciek Borzecki
01351bac98
devicechannel: convert ciriticals to warnings
8 years ago
Maciek Borzecki
4b2153c9f7
discovereddevice: split device that was found through discovery process from Device
8 years ago
Maciek Borzecki
fa72198c40
build: add run-gdb target
Add make target 'run-gdb' that will automatically start gdb with
G_MESSAGES_DEBUG=all and G_DEBUG=fatal-criticals environment variables.
8 years ago
Maciek Borzecki
d9bd439d5d
device: rejected pairing should be logged as warning
Otherwise debugging with G_DEBUG=fatal-criticals is not possible.
8 years ago
Maciek Borzecki
5145f40fdc
devicemanager: cleanup device signal handling, prevent duplicated signals
Cleanup device signals handling. Fix a problem with duplicated signals from
Device which were a result of same signal callback being registered multiple
times.
8 years ago
Maciek Borzecki
b06936c506
device: add is_active property
indicated is communication with device is possible
8 years ago
Maciek Borzecki
874f2f0971
device: reduce chatter
8 years ago
Maciek Borzecki
b6ec6e455e
packethandlers: allow releasing of a device (eg. when device is no longer paired)
8 years ago
Maciek Borzecki
ca4c09cb28
devicemanager: device managed is not directly exported to DBus, cleanup DBus attributes
8 years ago
Maciek Borzecki
6c8bf2ee67
devicechannel, device: channel close need not be async
8 years ago