node-modbus-serial
node-modbus-serial copied to clipboard
ServerTCP doesn't return Illegal function exception if the getXXX/setXXX function is not defined in the vector of server functions
Hi,
If for example, the getCoil function is not defined in the server vector, the read coil requests from a client are just ignored.
I'm not sure if this is by design or it should return an Illegal function exception by default.
Thanks for this wonderful module.