$ pkg-config --modversion libmodbus
Package libmodbus was not found in the pkg-config search path.
Perhaps you should add the directory containing `libmodbus.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libmodbus', required by 'virtual:world', not found
libmodbus version
OS and/or distribution
Environment
Description
Since https://github.com/stephane/libmodbus/issues/621 / commit https://github.com/stephane/libmodbus/commit/ef3c4bc989a4774402b89880d1afd54b1b6a1b67,
modbus_new_tcp_pi
no longer statically allocates 1 KiB of memory, but only as much as is actually required. (This was previously done through the array of size_MODBUS_TCP_PI_NODE_LENGTH
instruct _modbus_tcp_pi
).However, the docs were not updated.
Actual behavior if applicable
https://github.com/stephane/libmodbus/blob/b25629bfb508bdce7d519884c0fa9810b7d98d44/docs/index.md#L109-L110
Expected behavior or suggestion
Steps to reproduce the behavior (commands or source code)
Compare the docs with what the implementation actually does.
libmodbus output with debug mode enabled
Uhm...
Command not found
, I guess.