Running basic_client/server

asked 2015-02-23 14:30:27 -0700

this post is marked as community wiki

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

I'm new to AllJoyn, but very interested in it and the capabilities, and IoT in general. I have recently started playing around with AllJoyn and have gotten it compiled successfully on a Raspberry Pi and a laptop. Each can successfully run the provided sample code basic_server and basic_client within the same machine. However, I cannot successfully run the client on one and the server on the other. They are connected to the same wifi network. Any ideas?

edit retag flag offensive close merge delete


Are you able to ping the other device on the wifi network you are using ? Do you happen to know if multicast is disabled on the wifi network ?

Nikhil Dabhade ( 2015-02-23 15:26:51 -0700 )edit

Yes we are certainly able to ping each other. Whether multicast is enabled or not, I do not know. It is a university network.

jworr ( 2015-02-23 15:47:52 -0700 )edit

On further investigation, I am able to get the different devices to talk to each other at home, where I only have one router. Is it possible that it is because they are connecting to different physical routers? If so, can you tell me how to force a connect to a certain MAC address/bssid?

jworr ( 2015-02-24 09:15:49 -0700 )edit

Ry is right. In a University network it is very common to have multicast disabled. Unfortunately there is no work around in case of a managed network like that.

Nikhil Dabhade ( 2015-02-24 10:57:07 -0700 )edit

2 answers

Sort by ยป oldest newest most voted

answered 2015-02-24 10:53:49 -0700

ry.jones gravatar image
Linux Foundation Staff

the most common impediment to this scenario is multicast is disabled at the router. This is extremely common in managed networks.

edit flag offensive delete publish link more

answered 2015-02-24 12:46:05 -0700

jworr gravatar image

That was indeed that multicast was the problem. We brought in our own router today, and it seems to be working without problem. Thank you.

We can't get the chat program in linux to chat with the AllJoynChat client of Mac OSX/iOS though. Should these be compatible?

edit flag offensive delete publish link more


allchatz may use a different default chat session name.

ry.jones ( 2015-02-24 12:54:08 -0700 )edit

I'm never used objectivec before. It's very different from C++/java I'm used to. Can someone help me understand what the default session name is in allchatz?

jworr ( 2015-02-24 13:31:38 -0700 )edit

Never mind. Figured it out myself. It's AllChatz.

jworr ( 2015-02-24 14:26:44 -0700 )edit

feel free to accept my answer (which closes the question as answered)

ry.jones ( 2015-02-26 10:42:00 -0700 )edit
Login/Signup to Answer

Question Tools

1 follower


Asked: 2015-02-23 14:30:27 -0700

Seen: 86 times

Last updated: Feb 24 '15