Find all AllJoyn services exposed in a local network

asked 2014-11-07 17:30:36 -0700

germanviscuso gravatar image


I'm building an Android app that needs to do multiple device/service discovery. Eg. a home wi-fi network with connected Panasonic ALL3 speakers, LIFX bulbs, Birdi Smart Monitor, LG TV and future AllJoyn based devices. Is there a way for the app to get a list all exposed services by these devices without knowing their known service names before hand? And what about using them via their published interface if the app doesn't know the interface? I saw that you can search for advertised names using "*" but since the bus can be opened on ad hoc daemons I'm not sure what will happen.

I would appreciate some guidance on how to detect all available services. Thx a lot.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-11-08 00:58:19 -0700

anszom gravatar image

The About feature can tell you about all devices on the network. For each device, you get a list of "advertised" objects and interfaces. From this you can detect which services are supported on each device. Obviously, you need to know beforehand what these services can be and prepare your application to support them (for example Control Panel Service or Lighting Controller Service).

In case you haven't found it yet, there is an "Alljoyn On" android app somewhere in the allseen alliance resources. It's closed-source (unfortunately), but it demonstrates the detection of devices and it supports all the base services (controlpanel, configuration, notification, onboarding).

edit flag offensive delete publish link more


Awesome! I'll def take a closer look at the about service. It's included in the core AllJoyn package already, right? (because other services, such as control panel, have to be downloaded separately) Best! Thx for answering

germanviscuso ( 2014-11-08 10:23:56 -0700 )edit

I could not find the "Alljoyn On" app, though it would be useful for me so I can compare behavior. Do you remember where you saw it exactly?

germanviscuso ( 2014-11-08 11:34:52 -0700 )edit

You can get AllJoynOn here: https://www.alljoyn.org/alljoyn-on (registration required)

praveenb ( 2014-11-09 00:15:46 -0700 )edit

Thx a lot! :)

germanviscuso ( 2014-11-09 08:56:08 -0700 )edit
Login/Signup to Answer

Question Tools



Asked: 2014-11-07 17:30:36 -0700

Seen: 341 times

Last updated: Nov 08 '14