Cloud-Automation / node-modbus

Modbus TCP Client/Server implementation for Node.JS
471 stars 175 forks source link

Stop bits and parity setup #38

Closed biancode closed 8 years ago

biancode commented 8 years ago

Hi,

is it possible to set the Start bits and parity, please? May with stampit ?

stefanpoeter commented 8 years ago

I am on it but the only option I see in the serialport are stopbits.

dataBits Data Bits, defaults to 8. Must be one of: 8, 7, 6, or 5. stopBits Stop Bits, defaults to 1. Must be one of: 1 or 2. parity Parity, defaults to 'none'. Must be one of: 'none', 'even', 'mark', 'odd', 'space'

From the serialport module.

What do you mean with startbit?

biancode commented 8 years ago

sorry I mean Stop bits like that config dialog http://bit.ly/2bc3cpb

stefanpoeter commented 8 years ago

See Pull Request #47 .