Hello,

Testing mbpoll with Victron Energry Color GX. The Victron Energry Color
GX error logs shows 
mbpoll 1.0-0 (Debian 1.4.11+dfsg-2~bpo10+1) starting reference (-r) is
off by -1.
Example: ./mbpoll -1 -a 100 -t 3 -r 840 -c 1 192.168.10.180
mbpoll will starts at 839 not 840.

Fix source file mbpoll.c
change line 952~
iStartReg = ctx.piStartRef[j] - ctx.iPduOffset;
to
iStartReg = ctx.piStartRef[j];


-- 
Randy Butler
Huntington Country Store
70 Worthington Road
Huntington, MA 01050
413-667-3232
This email and any files transmitted with it are confidential and intended 
solely for the use of the individual or entity to whom they are addressed. This 
message contains confidential information and is intended only for the 
individual named. If you are not the named addressee, you should not 
disseminate, distribute or copy this email. Please notify the sender 
immediately by email if you have received this email by mistake and delete this 
email from your system. If you are not the intended recipient, you are notified 
that disclosing, copying, distributing or taking any action in reliance on the 
contents of this information is strictly prohibited.

Computer viruses can be transmitted via email. The recipient should check this 
email and any attachments for the presence of viruses. The organization accepts 
no liability for any damage caused by any virus transmitted by this email.
-- 
debian-science-maintainers mailing list
[email protected]
https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/debian-science-maintainers

Reply via email to