BlueZ to AllJoyn bridge

asked 2015-07-29 08:36:54 -0700

updated 2015-07-29 08:48:17 -0700

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)
(BLE Device <----> BlueZ Client/AllJoyn Consumer <----> AllJoyn Provider)
edit retag flag offensive close merge delete


you might try on the core mailing list.

ry.jones ( 2015-08-07 11:51:50 -0700 )edit

I also research the bluetooth of Alljoyn. Could you please tell me where can I get the source code of bluetooth on Alljoyn. If you have the source code, would you like to send me a copy? I am looking forward to your reply.

snowman ( 2015-08-23 22:19:43 -0700 )edit