Does Alljoyn have Auto IP feature

asked 2014-06-09 02:10:03 -0700

anchit211 gravatar image


I am uPnP developer and was trying to understand the difference between uPnP and Alljoyn. In uPnP steps involved are something like : 1. IP Addressing in managed and un-managed Networks. (Features like Auto IP when DHCP is not available) 2. Device discovery and Advertisement. 3. Service description and control 4. Eventing and Presentation.

Can some one please clarify, what is difference between uPnP and Alljoyn. and does alljoyn also provide IP addressing feature.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-06-09 14:58:30 -0700

bspencer gravatar image

updated 2014-06-10 08:57:39 -0700

AllJoyn does not support Auto-IP. It requires an DHCP server to provide an IP address to the device.

AllJoyn speaks a language of interfaces in which all messages are AllJoyn messages that contain a set of header information for the destination endpoints and the payload. The interfaces make up the definitions of what an application supports and is defined to be. From a developer standpoint AllJoyn is very easy to call methods on other devices and interact through an OOP approach.

There is a discovery/advertise mechanism in AllJoyn that allows any Application to find services offered a means to connect and start interacting. AllJoyn handles data marshaling and is supported in multiple languages so a developer just needs to use the corresponding platform library and the AllJoyn APIs. A developer who uses the AllJoyn SDK does not need to embed an http server or build out a soap interface or anything other than use the AllJoyn API create what is called a BusObject, Register that with the framework, Advertise, and now a Remote Application (written in any language binding) has the ability to interact with it when in Proximity. Proximity in AllJoyn implies being in the same physical transport link - over Wi-Fi, Ethernet, powerline, etc. (IP transports) this means on the same subnet. Interaction over AllJoyn at this time is contained strictly to the same subnet.

Another nice feature of AllJoyn is that Security is built into the framework to encrypt data that travels between the applications. This allows for point to point encryption where the Applications that use AllJoyn hold the keys to be able to decrypt the data. A developer simply marks an interface as being a Secure Interface, implements some callbacks, and now has the ability for the framework running in the Application process to encrypt/decrypt.

The goal of AllJoyn makes it easier for a developer regardless of the platform, programming language, or chipset, to be able to write an application that inter-operates with other applications out of the box.

As far as comparing AllJoyn directly to uPnP you will need to look at the two and perform the comparison yourself. I hope with the information I have provided you have a little better understanding so that the comparison can be made.

edit flag offensive delete publish link more
Login/Signup to Answer

Question Tools

1 follower


Asked: 2014-06-09 02:10:03 -0700

Seen: 367 times

Last updated: Jun 10 '14