Re: [LHA-misc] UPnP
Status: Beta
Brought to you by:
ncherry
From: Neil C. <nc...@ho...> - 2000-11-03 22:57:23
|
Konrad Riedel wrote: > > Am Mon, 30.Oct 2000 um 12:29 schrieb Neil Cherry: > > > > Jay, I think your going to get your wish on XML, UPnP is heavily into > > XML. > > > > I've restarted coding on the HCSD, I want to finish that first so I can > > release it. I'll then begin work on the raw and Ocelot agent. The raw > > agent is a simple single user r/w access to the serial port. I'll have > > to figure out a way to permit multiple listeners with only 1 speaker. > > The Ocelot will permit multiple listeners and speakers. I have not figured > > out how to keep the speakers from contradicting each other. I've also > > not figured out the security for such a setup. This will be worked on > > over time. > This is exactly the problem I`ve solved with caracad. At the moment its > transmitting CAN-Messages over the serial line. > Your need a client-server approach. > > Concept: > To allow different applications read/write access to the CAN-Bus, a > daemon (caracad) is used. A client can connect to it via a socket > and tell caracad, which messages it wants to receive. (it installs a > filter - 'I want to have all key messages, all messages of one room,..' > caracad then sends a message to each listener. > All clients send their messages to caracad, which transmits them over > the serial line. > Pardon the confusion I've caused, the problem with multiple speakers is for the rawd. The intent is that any device can be hooked to the rawd and the client software takes care of communications. Rawd just passes every byte untouched. Rawd has no way of knowing what a command looks like. The hcsd uses a setup like yours, the commands are entered a line at a time. Then processed into the appropriate HCS command and dropped into a buffer (a buffer of pointers actually). The output process then reads from the buffer and send out the command. There is no way to confuse 2 commands together. -- Linux Home Automation Neil Cherry nc...@ho... http://members.home.net/ncherry (Text only) http://meltingpot.fortunecity.com/lightsey/52 (Graphics) http://linuxha.sourceforge.net/ (SourceForge) |