Skip to content

Releases: yaacov/node-modbus-serial

v7.7.4

13 Jan 18:02
Compare
Choose a tag to compare

Bugfixes:

  • Server should always return on get coil
  • Fix build issues with NodeJS 13

v7.7.3

21 Oct 08:17
c643d5d
Compare
Choose a tag to compare

Bugfixes:

  • fix, when more than one client connect to ServerTCP, the recvBuffer gets mangled
  • fix, var beeing used before assignment
  • fix, allows machines with multiple IP addresses to specify which of their own
    IP addresses is used for the outgoing connection

v7.7.2

11 Oct 08:29
5b09712
Compare
Choose a tag to compare

Bugfix:

  • function name typo

v7.7.1

11 Oct 08:04
909532a
Compare
Choose a tag to compare

Backward compatible changes:

  • Describe Modbus errors and return numeric error code.
  • Update FC6 and FC16 functions to accept buffer as value.

Bugfixes:.

  • Replaced connectRTU with connectRTUBuffered in examples and readme.
  • Don't lose scope binding when using getCoil and getDiscreteInput.

v7.6.0-no-serial

31 May 08:06
Compare
Choose a tag to compare

New Features:

  • TCP Server emit 'initialized' event when initialized, before 'connected' event.
  • TCP Server can handle multiple read/writes in one call.

Bug fixes:

  • When closing a closed connection call the callback method.
  • Add isOpen to type script definitions.
  • Add examples.

v7.6.0

31 May 08:08
Compare
Choose a tag to compare
regular version

v7.5.1-no-serial: Merge pull request #250 from yaacov/no-serialport

19 Jan 10:59
1c0c827
Compare
Choose a tag to compare

Backworkd compatible changes:

  • Added support for FC43/14 on TCP server

Bugfixes:

  • force socket close on server close.
  • catch server callbacks.

v7.4.2

10 Nov 14:58
Compare
Choose a tag to compare

Bugfix:

  • Use proper ES6 import syntax for TypeScript types

v7.4.1

08 Nov 17:24
Compare
Choose a tag to compare

Backword compatible changes:

Adding Typescript typings for servertcp and fixing ModbusRTU

Bugfixes:

Fix Timeout Error object does not contain code or errno.
Fix Uncaught TypeError: "value" argument is out of bounds.

v7.3.0

25 Jun 05:40
Compare
Choose a tag to compare

Backward compatible changes

  • [Server] Add handlers for get multiple registers.
  • [Server] Dedicated getDiscreteInput() callback for FC2

Bugfix

  • [Server] Fix check buffer size for server requests.
  • Update new Buffer to Buffer.alloc
  • Make sure offset is int
  • Fix and add examples