Sample "basic_service" cannot connect to bus

asked 2015-06-24 02:07:08 -0700

Memphis gravatar image

Hi all,

I built basic_service with BD=off. The purpose is that I would like to run alljoyn-daemon and basic_service on different machines. I run basic_service on machine A without alljoyn router. However, basic_service cannot find router, it always show the following error message: "ER_BUS_TRANSPORT_NOT_AVAILABLE". Based on the concept of Alljoyn, I should able to run some Applications with remote router, however I failed. Is there something I missed or misunderstanding? Please help advise it, thanks for the help.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-06-29 00:41:56 -0700

praveenb gravatar image

updated 2015-10-20 17:06:17 -0700

In the scenario you describe, the error status ER_BUS_TRANSPORT_NOT_AVAILABLE is expected when running basic_service built with BD=off.

When applications using AllJoyn Standard Client Library are built with BD=off (B stands for Bundled) setting, the apps do not get bundled with a routing node. Hence, a stand-alone routing node is required to run such apps built with BD=off option.

Further, the stand-alone routing node is required to run on the same machine for apps using AllJoyn Standard Client library built with BD=off. Apps using AllJoyn Standard Client library cannot make use of a remote routing node. Currently, only apps using Thin Client library can connect to a remote routing node.

On Linux, stand-alone routing node is available as alljoyn-daemon.

Note: The SCons setting BD has been deprecated and replaced by the equivalent BR option.

edit flag offensive delete publish link more


Thanks for the answering. I've been checked the source code written by thin core. And I did find that the mechanism to join router is different between thin core and standard core. I got more understanding about AllJoyn based on your explanation. Your kindly answer is helpful, thanks again.

Memphis ( 2015-06-30 01:26:50 -0700 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2015-06-24 02:07:08 -0700

Seen: 134 times

Last updated: Oct 20 '15