Skip to content

[FEATURE] New Modbus implementation for NuttX #3453

Description

@raiden00pl

Is your feature request related to a problem? Please describe.

After struggling with the FreeModBus implementation available in NuttX I decided to write my own implementation of Modbus stack.

The FreeModBus in my opinion is very poor quality and NuttX deserve something better.

Problems I want to solve:

  • [BUG] Modbus RTU slave response time is too high #3037
  • follow NuttX coding standard
  • clean API for callback registration
  • support for Modbus TCP
  • Modbus TLS someday
  • support for many Modbus instances on the same firmware
  • support for hardware-accelerated Modbus handling available in some USART peripherals
  • support for not standard interfaces (Modbus over BLE or other weird things)

Tools:

  • modbus slave example common for Modbus RTU and Modbus TCP in examples
  • modbus master client common for Modbus RTU and Modbus TCP in system

Demos:

  • Modbus RTU with simulator (master and slave talk over simulated UART)
  • Modbus TCP with qemu (master and slave talk over host network)

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions