0

alljoyn-daemon file is needed?

asked 2014-04-08 02:06:25 -0700

this post is marked as community wiki

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

I just following the AllJoyn™ Android Environment Setup Guide and set up the JDK,SDK..and so on.

finally, i installed chat.apk and it works with unstable status.

at this point, i wonder about a two thing

first, when i running app on the device.. if BUS related message occured, what part i check?( sometimes it works, sometimes it is not work)

second, Do i have to push the alljoyn-daemon file into device?

because, i just download app in the app store, app name of chalkboard and running .. it works without alljoyn-daemon file.

because of that, i just want to know the usage of alljoyn-daemon file!

Thank you for your concern!:)

edit retag flag offensive close merge delete

Comments

Can you please provide an example of the bus related error message that you are seeing?

mitchw ( 2014-04-08 10:56:29 -0700 )edit

Thanks for your concern! however, now i can not see the error..lol .. So, if i see them! i will reply here later! thank you soo much!

Joshua ( 2014-04-09 19:29:13 -0700 )edit

1 answer

Sort by » oldest newest most voted
3

answered 2014-04-08 09:50:02 -0700

georgen gravatar image

No you don't need to push the alljoyn-daemon file onto the device. In some ways the alljoyn-daemon is an artifact of past development efforts.

In the past you could not build the router node into an application and had to run a separate daemon to handle routing of AllJoyn information. Now, however, you can build an application with the built in routing node meaning that you can just down load the application and it has everything needed to run AllJoyn. If you are using the Java language bindings you will default to the built in routing node. If you are building the code using C/C++ you must link in the ajrouter library and the BundledRouter object at link time to include the router node in your application.

On most platforms the alljoyn-daemon is no longer needed and on some its not even built. On posix operating systems (i.e. Android, Mac, Linux, and openWRT) its still build because it is still useful for some situations. Most of those situations deal only with the AllJoyn Thin Client for micro-controllers. Also on a headless systems like an alljoyn-daemon running on an openWRT router.

edit flag offensive delete publish link more

Comments

Thank you for your answer!! you are so kind!! thanks alot!

Joshua ( 2014-04-09 00:59:47 -0700 )edit

Hi Joshua, a friendly reminder to please mark the question as answered if you believe it has been.

tmalsbar ( 2014-04-11 09:10:11 -0700 )edit

So, each "Router node" contains a "AllJoyn Bus". Is this correct?

alphaemmeo ( 2014-05-15 01:39:50 -0700 )edit

@alphaemmeo Sort of. A "Router node" could be a single part of an "AllJoyn Bus". The "AllJoyn Bus" is all programs that are able to talk with each other using AllJoyn. While the Router node is the element that is responsible for advertising/discovery to other router nodes and leaf nodes. Router node is also responsible for communication between nodes. The Router node is a vital element of the Alljoyn Bus but is not the AllJoyn bus.

georgen ( 2014-05-15 13:40:12 -0700 )edit

@georgen Thanks a lot, your explanation is very useful. To conclude, what definition can we give to the "alljoyn-daemon"?

alphaemmeo ( 2014-05-16 07:12:33 -0700 )edit
Login/Signup to Answer

Question Tools

Follow
1 follower

Stats

Asked: 2014-04-08 02:06:25 -0700

Seen: 830 times

Last updated: Apr 08 '14