Re: [Owfs-developers] ownet default flags and java api

2009-04-21 Thread Paul Alfille
Well, I got it from module/owlib/src/include/parsedname.h: /* end Parsedname - */ #define CACHE_MASK ( (UINT) 0x0001 ) #define CACHE_BIT 0 #define SHOULD_RETURN_BUS_LIST( (UINT) 0x0002 ) #define PERSISTENT_MASK( (UINT) 0x0004 ) #define PERSISTENT_B

Re: [Owfs-developers] ownet default flags and java api

2009-04-20 Thread Patrik Jansson
Paul, Thank you for the clarifications. So 256 should always be set no matter what, right? Then + 2 for bus list, + 4 for Persistence and +8 for alias? Shouldn't these be described on the flag word page? Well persistence is but not that 256 should be set and what 2 and 8 are for? Don't get me wron

Re: [Owfs-developers] ownet default flags and java api

2009-04-20 Thread Paul Alfille
Hi Patrik, Thank you for your efforts. Actually, the bits should be: 2 return bus list, (so the uncached, settings, statistics entries are created by owserver, since ownet programs don't actually have the smarts to add those entries). 4 Persistance (if you wish, certainly a performance enhancemen

[Owfs-developers] ownet default flags and java api

2009-04-20 Thread Patrik Jansson
Hi, I've been working on a Java interface for ownet for some time now. I recently found out that there actually exists such an interface already. And with all due respect, I feel the code is a bit messy having everything in just one class file. Therefore I will continue my work on the Java interfa