Alljoyn ecosystem delays

asked 2015-11-25 00:41:17 -0700

Hi all,

I'm building an entire Alljoyn "ecosystem" composed by appliances, light bulbs, light controller (LSF), speakers, alljoyn apps etc. There should be around 25 alljoyn enabled devices (more standard clients than thin clients).

The system works fine for a while but after some time, it become unrealible like for instance:

  • some lights are not working
  • delays (and sometime failure) in receiving the sessionless signals (up to 20 seconds)

Which tool can I use in order to get more insight on where the problem is? Wireshark?

Is that possible to have an whole picture of the system and knowing to which router node the leaves are connected?

Thank you

Best Regards, Lino

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-11-25 01:51:43 -0700

praveenb gravatar image

Applications built using Standard Core library always connect to a routing node running on the same device (or a routing node bundled with the application).

Applications using Thin Core library discover routing nodes nearby and connect to one based on a selection algorithm. When TCP transport is used, you can find out then routing node to which a Thin Core leaf node has connected to via the output of netstat command.

When using UDP transport, this determination is more involved. You can either print the unique name of a leaf node which will indicate the routing node to which it connected to or analyze the traffic using Wireshark. Given the nature of AllJoyn (message-based communication between various devices in a LAN), Wireshark is a very valuable tool to debug issues.

In your case, you can also try tuning routing node parameters. A helpful guide is here.

edit flag offensive delete publish link more


Also, Wireshark has an AllJoyn parser built in to it and it is very nice.

ry.jones ( 2015-11-27 15:54:19 -0700 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2015-11-25 00:41:17 -0700

Seen: 69 times

Last updated: Nov 25 '15