Cloud-Automation / node-modbus

Modbus TCP Client/Server implementation for Node.JS
467 stars 174 forks source link

Add RTU slave address filtering. #308

Open JaagupAverin opened 2 years ago

JaagupAverin commented 2 years ago

Add optional slaveId parameter to ModbusRTUServer constructor. SlaveId is checked when parsing requests.

stefanpoeter commented 2 years ago

Hey @JaagupAverin thanks for your pull request and sorry for the long wait. This looks promissing, could you add some tests for this re?