Closed DzmitryT closed 7 years ago
Hey @DzmitryT what version are u using?
According to package.json, there is a latest version
"_from": "jsmodbus@latest", "_id": "jsmodbus@2.1.0",
I'll make an update. Thanks for the tip.
Tried to fix it with issue#138. I made a pull request for it. @DzmitryT can you check if it is gone?
Thx, I'll try to check your update some hours later or tomorrow.
@stefanpoeter, apologize for the late reply. Updated code seems to be working.
Hello, I'm trying to use your library for testing of a couple of devices connected to RPi via FTDI-based USB-serial adapter and it seems there are some errors in examples provided. Also, there is critical bug in the modbus-serial-client.js. ` var onSend = function (pdu) { var crc = 0
Seems, this code should be replaced with something like that: ` var onSend = function (pdu) { var tmp = 0
Because an error occurred when function crc16modbus called on the number, not as method of the crc object:
Regards, Dzmitry.