BlackZork / mqmgateway

MQTT gateway for modbus networks
GNU Affero General Public License v3.0
42 stars 18 forks source link

- Fix for char passed as bit count #18

Closed lmartorella closed 1 year ago

lmartorella commented 1 year ago

This fixes the data_bit and stop_bit argument processing from the YAML file. Parsing it as uint8_t (char) will then pass it to the libmodbus as ASCII value instead (so '8' bits becomes 0x38 = 56). Thx!

BlackZork commented 1 year ago

Merged, thanks.