Closed robertsLando closed 6 years ago
Ääähm where exactly the error occurs? Or is it not in the logs but in the callback?!
Aahhh now I see ... In this case the error is ok because response is wrong!!
according to mbus standard the message start need to have the length indicator TWICE!
So 68 71 71 or 68 70 70
would be correct, but in the scan it was 68 71 70 and in your getData 68 70 71 ...
So the mbus device returns crap here and so ... error :-)
What is it for a device?
was a HW issue
I'm getting this error when using the method
getData(addr, cb)
. Here is the output:Using method getData with address 1
(If you want we can speak about this in node-mbus channel on slack)
I have also tried to do a scan and after long time (15 minutes I got 0 devices found). Here part of the log of the scan:
scan_log.txt