From: Neil C. <nc...@co...> - 2002-07-27 10:25:48
|
Bruce Winter wrote: > Ah, ok. Dang. So if send out just one command, and get back just one > response, there is nothing at the end of that response to tell you when you > have all of the response?? (i.e. you only sent one command, so you will > not have another ! following the response. Oops sorry I meant to send that to the list. Actually no, the HCS send out a continious stream of data $0x80..$0x81.. .. with the current state of each item. If you send a command such as: !0x12 0x00 0x02 0x00 (set X10 A1 On, that's 5 bytes sent) you will get a response that looks like $0x12 (2 bytes) somewhere in the continious stream of data. -- Linux Home Automation Neil Cherry nc...@co... http://mywebpages.comcast.net/ncherry/ (Text only) http://linuxha.sourceforge.net/ (SourceForge) http://hcs.sourceforge.net/ (HCS II) |