asked 2014-04-01 08:22:41 -0700

praetp gravatar image


I am having a look at the about service functionality. I can see it will provide you with all current providers. However, it seems it does not notify you when a bus or busobject leaves the 'proximal network'. Are there plans to support this ? for IoE use cases, this would be very relevant.



edit retag flag offensive close merge delete

1 answer

Sort by » oldest newest most voted

answered 2014-04-01 10:59:07 -0700

georgen gravatar image

updated 2014-04-01 11:27:20 -0700

The About Service uses sessionless signals. Sessionless signals have two features.

  1. You do not need to be in a session with the sender to receive the signal.
  2. The signal exists as long as the router node that contains the signal is still running

If your application is using a built in router node (i.e. you don't have a separate daemon running the routing code). The signal will disappear when when your application closes or leaves the proximal network.

This still leave the issue what if you have received a signal from someone that has left the network. With version 14.02 of AllJoyn the only solution is to try and join the service found using the About service. If the join fails you assume that the user has left the proximal network. Not an ideal solution I know.

Based on the slides from the technical steering comity there are plans to add support for presence/absence detection in the 14.06 release. https://wiki.allseenalliance.org/_media/tsc/allseen-tsc-03-24-14.pdf (slide 7).

So it looks like there are plans to support this in the future.

edit flag offensive delete publish link more


Thanks for your reply :)

praetp ( 2014-04-02 08:32:55 -0700 )edit
Login/Signup to Answer


Asked: 2014-04-01 08:22:41 -0700

Seen: 148 times

Last updated: Apr 01 '14