On Sat, 14 Jul 2012, Phil Dibowitz wrote:

>>> Still an infinite loop, but it looks like this time is because your boundary
>>> checks are bad.
>>
>> OK, I've got a v4 posted.  This one _really_ shouldn't result in an
>> infinite loop.  No, really.  :)
>>
>> Still not sure if it is 100% but it should at least stop when it gets to
>> the theoretical end of the data.
>
> It doesn't get past requesting identity now. Log attached.

OK, so a friend of mine gave me his old 890 so I've finally been able to 
make progress on this one.  I've got a v5 of the patch posted to 
SourceForge that actually works.  :-)

The solution ended up being a bit different than what is done for usbnet. 
Unfortunately, zwave-hid does not actually provide any way (that I could 
find) to get the size of the config in advance.  So, we have to read it 
twice - once to figure out how long it is, and then once to actually save 
it.  Additionally, once the end of the config has been read, we have to 
keep reading until we get to the end of the region.  The result of this is 
that it takes a while to read the config.  Also, the callback output ends 
up being a bit weird (since we don't actually know how many bytes we're 
going to read), but I at least tried to provide an indication that we're 
doing something.

Let me know what you think.

Scott

------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
concordance-devel mailing list
concordance-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/concordance-devel

Reply via email to