This post will be updated over time

I bought a WX-030 Yamaha MusicCast speaker and am impressed with its capabilities. It would be nice though to be able to stream the MusicCast app to my PC speakers in another room to the WX-030 so I have been using Wireshark to investigate the protocol to see if I could emulate it.

The physical Yamaha device

  • Listens on multiple ports for HTTP requests
  • Uses multicast UDP
  • Uses DLNA

My ASP.NET Core project Swimbait to emulate the device resides on GitHub.

Device Discovery

The first thing an emulator must do is emulate the connect button on the physical device. This is done via a UDP multicast containing JSON data with the devices address:


Discovery Handshake

Once that is done, the MusicCast application will initiate a series of HTTP queries to discover the device and give it a name. A listing of URI’s that the emulator must respond to are as follows


Secure Responses

Several calls in the above list are on a secure route. It is unknown whether the responses are ROT-13 or AES. Swimbait handles these calls by man in the middling the requests - forwarding the same request to a real MusicCast speaker and then responding with the reply from the real speaker.

NetUSB, Server Play Commands

The remote control browsers available content for NetRadio and Server music sources via getListInfo and SetListControl methods. The former enumerates the list of options - for example - lists of radio stations and the SetListControl selects an option - including the commencement of playback.

This means the MusicCast speaker is the entire server for these commands. The remote control cannot send it’s own URL for playback (ie: file:///mysan/rick/never-gonna-give-you-up.mp3)

Examples of interaction between the remote and speaker can be found here.