Displaying 1 result from an estimated 1 matches for "init_communications".
Did you mean:
init_communication
2010 Dec 13
1
svn commit r2732
...to my UPS) with this commit.
init_communication now returns -1, instead of 0 if it failed to read the
manufacturer info, this makes sense after all.
With my UPS (Belkin F6C1400-EUR), the response to the Manufacturer
command returns only 6 spaces (rather than "BELKIN"), this means that
init_communications fails, and the driver fails with EXIT_FAILURE
This has only become apparent with this commit due to the change in
return code. I've added extra debugging to the previous version of the
driver and have seen that the Manufacturer command returns 6 spaces too.
Looking at the previous version, i...