njh/node-owfs

Attempting to read devices that do not respond

turnernet opened this issue · 1 comments

Hi,

In my application occasionally my devices are not responding to read requests (bad wiring I think or someone unplugs a device).

The read callback does not execute (no error parameter either to check if it did). I see this on the console:

[TypeError: Cannot read property 'payload' of undefined]

I would really like if the callback always get's called, with an err parameter to check.

Thanks!

Todd

Today I released 0.1.0 with node style error first callbacks.