0

How the AboutClient find busname nearby?

asked 2014-04-28 02:38:30 -0700

this post is marked as community wiki

This post is a wiki. Anyone with karma >75 is welcome to improve it.

Hi,I run the AboutClientSample, it can get the busname of the AboutService. But I can not find the function FindAdvertisedName in the AboutClientSample code. How does the work do? And how does the client of alljoyn other services(like controlPanel, notification) the FindAdvertisedName works??

Thanks a lot!!

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
2

answered 2014-04-28 11:24:55 -0700

bspencer gravatar image

The AboutClient sample makes use of the AllJoyn About Feature. The About Feature allows for service level discovery by means of an AllJoyn sessionless signal. A sessionless signal is a feature that allows the publication of an AllJoyn signal without needing to explicitly join a session. The discovery, join, disconnect is all handled internally in the AllJoyn Router software.

As such the About Feature sets up the AllJoyn interface as defined in the About Feature Specification here: https://allseenalliance.org/docs-and-downloads/documentation/alljoyn-about-feature-10-interface-specification The software then registers a signal handler so that when an Application using the About Feature Service side is present will be executed so that the About Feature Client application can discover the device and interfaces supported and can interact with it.

The About Feature is the preferred way to discover and the wellknown name (AdvertiseName + FindAdvertisedName) advertise approach provides less information and hinders interoperability due to needing to discover everything instead of a specific interface (maybe Control Panel) that an Application is interested in.

edit flag offensive delete publish link more

Comments

Thanks for the explanation :)

congtam ( 2014-10-01 04:54:23 -0700 )edit
0

answered 2014-04-28 19:26:02 -0700

0502lian gravatar image

Hi bspencer, Thanks for your reply. Then My new question is https://ask.allseenalliance.org/question/332/problems-of-configsample-between-ajtc-and-ajscarduino-linux-x86/

Thanks!!

edit flag offensive delete publish link more

Comments

Would you be so kind to mark the answer as correct if you feel it answers the original question?

bspencer ( 2014-05-02 16:28:33 -0700 )edit
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2014-04-28 02:38:30 -0700

Seen: 73 times

Last updated: Apr 28 '14