Implementing Favorites

Posted by: pauljlucas

Implementing Favorites - 28/03/2003 12:59

So I wrote server code to handle favorites and tested it with a test client and it works fine. However, trying it with the real Rio, nothing happens. I make a selection, press List, enter a number, press Enter -- nothing happens.

I'm using tcpdump to dump all UDP packets originating at the Rio:

sudo tcpdump -i eth0 -nn -t -X src host 10.0.1.10 and udp

I do see stuff go by for the initial SSDP requests, however. Any ideas as to why the Rio apparantly isn't sending anything to the server?
Posted by: wfaulk

Re: Implementing Favorites - 28/03/2003 13:06

Once it gets past ssdp, isn't all the communication TCP?
Posted by: pauljlucas

Re: Implementing Favorites - 28/03/2003 13:09

Not according to http://www.dasnet.org/david/rio/protocol.html

Anyway, I also tried using tcpdump for ALL packets, both TCP and UDP: still nothing when I hit Enter.
Posted by: wfaulk

Re: Implementing Favorites - 28/03/2003 14:32

Oops. Right. NFS. Forgot about that.
Posted by: peter

Re: Implementing Favorites - 29/03/2003 12:34

I make a selection, press List, enter a number, press Enter -- nothing happens.

FWIW I never figured that stuff out either. The Receiver server in the Rio Central plain doesn't support it, and nobody has ever noticed. Roger? any offers?

Peter
Posted by: Roger

Re: Implementing Favorites - 31/03/2003 05:44

The favourites stuff is supposed to work using the "State?" / "State!" UDP stuff. Are you seeing any of this traffic (UDP, port 18678, IIRC)?

Posted by: pauljlucas

Re: Implementing Favorites - 31/03/2003 09:52

I also wrote code to implement the State? stuff on port 18678. The Rio never responds (though it works fine otherwise). I also did a tcpdump and left it running for several hours. I never once saw the Rio spontaneously send its state information out.
Posted by: pauljlucas

Re: Implementing Favorites - 01/04/2003 00:09

OK, I had a friend with both a Windows and Linux box do some testing for me. He had tcpdump running on the Linux box and was using the stock Windows Rio server. He attempted to store a favorite: it didn't work. It seems like this feature is totally broken (which is kind of hard to believe). He didn't see any UDP traffic via tcpdump either (which is consistent with the feature not working and also consistent with the behavior of my Rio).

Any ideas?? Does the Rio, during initial boot-up, do some kind of probe or handshake looking for a server on port 18678 and, if it doesn't find it, never send anything there again?
Posted by: Roger

Re: Implementing Favorites - 01/04/2003 01:01

I just used Ethereal to trace the conversation between my Windows server and the Rio Receiver sat on my desk.

The first UDP packet is sent from the server to the Receiver (i.e. not broadcast), containing "State?"

The response is sent from the Receiver to the server, containing "State!", and the FID and timecode. It also contains the Receiver's MAC address (due to a limitation in the Windows networking stack).

Posted by: pauljlucas

Re: Implementing Favorites - 01/04/2003 01:32

Does the favorites feature work for you? Also, out of curiosity, since the Rio is never totally off, does it reply to "State?" when in low-power mode?
Posted by: Roger

Re: Implementing Favorites - 01/04/2003 01:55

Does the favorites feature work for you?

Dunno. I can't find my remote.

does it reply to "State?" when in low-power mode?

Yes, I think so.