Hi all,
I just found a funny problem with the alias handling. 

Under certain conditions, I get errors accessing a device:
- the first access e.g. to power of a DS18B20 works, but from the second
onwards it fails with errno 22,
  and errno 2. Even if the attributes are mixed, so 1. access is "power" 2.
is "type", 3. is "temperature"
- if the alias is 8 characters long (if it is 9 or 10 or anything else it
works ;-)
- if accessing the "uncached" directory (if accessing the root, it works)
- if I use the owcapi via an owserver (if the device e.g. I2C is direct
specified in the OW_init it works ;-)
- the accesses are within the same session (if it is reopened in-between
with OW_finish + OW_init it works)
- the problem is independent from the used hardware, so changing the IDs in
the alias file will not help.

It is not an urgent problem, because the workaround is simple: lengthen or
shorten your alias names to be greater or smaller than 8 - that helps :-)
-- 
View this message in context: 
http://old.nabble.com/problems-with-8-char-alias-tp32503923p32503923.html
Sent from the OWFS - Dev mailing list archive at Nabble.com.


------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Owfs-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/owfs-developers

Reply via email to