So I've read a few places that the protocol is backwards compatible with D-Bus, does that imply that the APIs could be merged into existing D-Bus libraries? Has anyone found good docs specifying what the differences are?

Re: Difference from D-Bus?
stareagyl's picture
Offline
Joined
12/10/2013 - 12:59

Hello - I just noticed the following statement in Chapter 3 of: "Introduction to the AllJoyn® Framework":

  • The AllJoyn model re-implements the wire protocol set forth by the D-Bus specification and extends the D-Bus wire protocol to support distributed devices.

I found that the "wire protocol" is the link level representation of the data, and seems to be well described in the D-Bus spec:

I also found that the Introspection description is in D-Bus Introspection (XML) Format.  Sadly, the Spec I found states: "A more formal DTD and spec needs writing, but here are some quick notes".

Beyond those seemingly reasonable choices, it appears to me that there is little else in common.

Good Luck!

- bill

Re: Difference from D-Bus?
ndabhade's picture
Offline
Joined
12/12/2013 - 12:48

Hi teeks/stareagyl,

The wire protocol is D-Bus.

1. D-Bus does not provide discovery mechanisms across the local machine since it is more of an IPC mechanism on a local machine. 
2. D-Bus has no session management when the peers talk to each other. AllJoyn provides its own session management layer.
3. AllJoyn is transport agnostic. The developer does not have to bother if he is on a particular transport and then change his implementation accordingly
4. AllJoyn has its own security mechanisms and encryption layer since we have session management.
5. AllJoyn also has header compression capabilities.
6. An AllJoyn client can run on an embedded device and talk to a daemon residing on a remote machine. 

AllJoyn is not meant to be a replacement for D-Bus although an AllJoyn client can talk to D-Bus and vice versa which gives you a capability wherein you can talk to any D-Bus daemon using the client library (which is available in numerous language bindings).

Hope that gives you some clarity on what the differences between the two things are.

Regards,
Nikhil

Re: Difference from D-Bus?
alotronto's picture
Offline
Joined
12/19/2013 - 03:56

Hi Nikhil,

Thank for your complete response about D-Bus and AllJoyn difference.

But I wount to ask where I can find most detailed documentation of AllJoyn framework.

Regards,

Andrea