I'd like to use an AllJoyn provider or consumer to access Bluetooth LE devices on Linux. The BlueZ package for Linux uses DBus, it requires a DBus Mainloop, which is easy to do in C/C++ or Python. When AllJoyn is running it will have it's own Mainloop hooked into DBus. Can I just create a BusAttachment and use the DBusProxyObject as stated in the API and access BlueZ through it (without using a separate Mainloop?) This is all I've found in the API docs:
const ProxyBusObject& ajn::BusAttachment::GetDBusProxyObj() Get the org.freedesktop.DBus proxy object.
Visually I'd like to do this:
(Device A) <--- AllJoyn ---> (Device B) in this manner: (BLE Device <----> BlueZ Client/AllJoyn Consumer <----> AllJoyn Provider) ^ | v (BLE Device <----> BlueZ Client/AllJoyn Consumer <----> AllJoyn Provider)