4S Device Communication Module Collection  Version 0.6-SNAPSHOT
Full documentation of the modules in the 4SDC collection (aimed at 4SDC module developers)
bluez.cpp File Reference

(This file was last changed: 2015-03-24 16:25:22 +0100, by Jacob Andersen)

Linux Bluetooth (BlueZ) PAL-layer module implementation. More...

#include "PAL/bluetooth.h"
#include <memory>
#include <vector>
+ Include dependency graph for bluez.cpp:

Detailed Description

Todo:

A lot of Exception checking is going on, but not a lot of exception handling...

A few QDBusPendingCall::waitForFinished() are used as temp shortcuts. The code ought to use only asyncronous calls though. This may also pose a threat to the assumption that only one signal is being processed at any time (the consequences of using waitForFinished() is not clear in the documentation)!

Note
This module connects to a BlueZ v.4 subsystem, which is the version currently used on Ubuntu. It will not yet work on the newer BlueZ v.5, due to some fundamental changes in the API!
Todo:
Support for BlueZ v.5. should be implemented at some point.
Author
Jacob Andersen, The Alexandra Institute, © 2014