Skip to content

Default framer for async async_io.ModbusSocketServer is ambiguous #675

@maltekliemann

Description

@maltekliemann

Versions

  • Python: 3.8.0
  • OS: macOS 11.6
  • Pymodbus: 2.5.2
  • Modbus Hardware (if used): None

Description

server.async_io.ModbusSerialServer uses ModbusRtuFramer as default framer, but the factory server.async_io.StartSerialServer uses ModbusAsciiFramer. Neither default value is mentioned in the documentation, which makes this slightly confusing, especially since all other factories use the same default values as the __init__ methods. I think the interface should be same. Maybe you should just stop double-booking the default values between __init__ and factory?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions