Unoffical empeg BBS

Quick Links: Empeg FAQ | RioCar.Org | Hijack | BigDisk Builder | jEmplode | emphatic
Repairs: Repairs

Topic Options
#222962 - 28/03/2003 12:59 Implementing Favorites
pauljlucas
stranger

Registered: 24/03/2003
Posts: 17
Loc: California
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?
_________________________
- Paul

Top
#222963 - 28/03/2003 13:06 Re: Implementing Favorites [Re: pauljlucas]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
Once it gets past ssdp, isn't all the communication TCP?
_________________________
Bitt Faulk

Top
#222964 - 28/03/2003 13:09 Re: Implementing Favorites [Re: wfaulk]
pauljlucas
stranger

Registered: 24/03/2003
Posts: 17
Loc: California
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.
_________________________
- Paul

Top
#222965 - 28/03/2003 14:32 Re: Implementing Favorites [Re: pauljlucas]
wfaulk
carpal tunnel

Registered: 25/12/2000
Posts: 16706
Loc: Raleigh, NC US
Oops. Right. NFS. Forgot about that.
_________________________
Bitt Faulk

Top
#222966 - 29/03/2003 12:34 Re: Implementing Favorites [Re: pauljlucas]
peter
carpal tunnel

Registered: 13/07/2000
Posts: 4172
Loc: Cambridge, England
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

Top
#222967 - 31/03/2003 05:44 Re: Implementing Favorites [Re: peter]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5680
Loc: London, UK
The favourites stuff is supposed to work using the "State?" / "State!" UDP stuff. Are you seeing any of this traffic (UDP, port 18678, IIRC)?

_________________________
-- roger

Top
#222968 - 31/03/2003 09:52 Re: Implementing Favorites [Re: Roger]
pauljlucas
stranger

Registered: 24/03/2003
Posts: 17
Loc: California
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.
_________________________
- Paul

Top
#222969 - 01/04/2003 00:09 Re: Implementing Favorites [Re: Roger]
pauljlucas
stranger

Registered: 24/03/2003
Posts: 17
Loc: California
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?
_________________________
- Paul

Top
#222970 - 01/04/2003 01:01 Re: Implementing Favorites [Re: pauljlucas]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5680
Loc: London, UK
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).

_________________________
-- roger

Top
#222971 - 01/04/2003 01:32 Re: Implementing Favorites [Re: Roger]
pauljlucas
stranger

Registered: 24/03/2003
Posts: 17
Loc: California
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?
_________________________
- Paul

Top
#222972 - 01/04/2003 01:55 Re: Implementing Favorites [Re: pauljlucas]
Roger
carpal tunnel

Registered: 18/01/2000
Posts: 5680
Loc: London, UK
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.
_________________________
-- roger

Top