On 13.11.2015 20:50, Johan Ström wrote:
> Just sending F2 does not work, no. You need to send F2, then two more
> bytes identifying what you want to read For example, sending F2, 04, 01
> and then two read  timeslots would give you the return value 01 0x where
> the last x indicates the value of port 1. (Unless I got something wrong
> here.. but something like that).

Correct. You'll also need to do the CRC dance if you want to write or
support alarms. (Necessarily, since this is all about reliability, thus
the slave will only take down the alarm condition when it's *sure* that
the master got the data. Same for writing.)

I'm working on server-side code (Python3) that gives you a more
high-level interface to all of this. Stay tuned. ;-)

-- 
-- Matthias Urlichs


------------------------------------------------------------------------------
_______________________________________________
Owfs-developers mailing list
Owfs-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to