1

Developing audio app for Gramofon

asked 2015-07-10 15:39:08 -0700

errordeveloper gravatar image

updated 2015-07-11 01:31:13 -0700

I am trying to run SinkClient agains a Gramofon device, which works with AllPlay Jukebox just fine, but I'd like to try implementing a Linux or OS X client, may be even a VLC plugin.

My Gramofon devices has IP address 192.168.0.2 and it appear to respond on port 9955.

I tried running this: env BUS_ADDRESS=tcp:addr=192.168.0.2,port=9955 ./SinkClient file.wav

But it results in ER_BUS_TRANSPORT_NOT_AVAILABLE for some reason. With strace I actually don't see any attempt to make a connection, i.e. socket or connect or other system call...

Apart from streaming an audio file to the device, I'd like to confirm that it is speaking AllJoyn protocol over the port in question.

By experiment, I have fired-up alljoyn-daemon, SinkServer and SinkClient on the same host, which seemed to have recognised each other and worked (modulo not having ALSA working on VirtualBox yet).

Now that I understand that alljoyn-daemon is somewhat required, I still don't understand how it would find the Gramofon device on the local network?

edit retag flag offensive close merge delete

Comments

Personally, I would use WireShark to sniff the traffic between the app and the hardware. recent versions have a very nice protocol parser.

ry.jones ( 2015-07-10 20:33:07 -0700 )edit

Thanks Ry, that's great to know that AllJoyn parser has been upstreamed in Wireshark, I will totally make use of it! I have now updated the question with some more experimental finding.

errordeveloper ( 2015-07-11 01:33:28 -0700 )edit

2 answers

Sort by ยป oldest newest most voted
1

answered 2015-07-12 05:13:37 -0700

ry.jones gravatar image
Linux Foundation Staff

This document covers the discovery mechanism.

edit flag offensive delete publish link more
0

answered 2015-07-22 08:04:37 -0700

errordeveloper gravatar image

I have since discovered that it was misleading to believe that AllPlay is compatible with AllJoyn audio examples. Grafon is however capable to produce AllJoyn notifications.

edit flag offensive delete publish link more

Comments

sorry to hear that.

ry.jones ( 2015-07-22 13:51:41 -0700 )edit

There's a good list of the interfaces supported by the Gramofon here: https://certify.alljoyn.org/certified-products/1021-gramofon-fon2415 I'm not discovering these interfaces with Microsoft's AllJoyn Explorer though.

dotMorten ( 2016-01-12 13:28:51 -0700 )edit
Login/Signup to Answer

Question Tools

Follow
2 followers

Stats

Asked: 2015-07-10 15:39:08 -0700

Seen: 251 times

Last updated: Jul 22 '15