Go to file
alexis f1300e331c Silence an integer compare warning 2023-08-14 19:58:34 -07:00
inc Initial commit 2023-07-21 22:37:27 -06:00
src Silence an integer compare warning 2023-08-14 19:58:34 -07:00
subprojects Initial commit 2023-07-21 22:37:27 -06:00
test Finalize packets outside ISR 2023-07-23 11:11:36 -06:00
.gitignore Avoid adding a submodule 2023-07-22 09:23:28 -06:00
README.md Initial commit 2023-07-21 22:37:27 -06:00
meson.build Fix dep name and only build tests as root 2023-08-10 22:07:11 -07:00
meson_options.txt Initial commit 2023-07-21 22:37:27 -06:00

README.md

mb2

mb2 is a smallish modbus implementation for embedded use.

Features:

  • Multiple instances supported
  • Client and server
  • RTU and ASCII
  • Asynchronous client with local cache

The following function codes are supported:

  • 3, 4 (read holding/input registers)
  • 6, 16 (write multiple registers)
  • 22 (mask write register)

The following unusual limitations exist:

  • Coils are not supported
  • Read-only (input) and writable (holding) registers occupy the same address space.

documentation

See inc/mb2.h.

license

intellectual property is bullshit. be gay do crime

name

"midbus 2". midbus (mid-sized modbus) was a previous modbus library i made that ended up being too big.