DOKK / manpages / debian 12 / libmodbus-dev / modbus_get_header_length.3.en
MODBUS_GET_HEADER_LE(3) libmodbus Manual MODBUS_GET_HEADER_LE(3)

modbus_get_header_length - retrieve the current header length

int modbus_get_header_length(modbus_t *ctx);

The modbus_get_header_length() function shall retrieve the current header length from the backend. This function is convenient to manipulate a message and so its limited to low-level operations.

The header length as integer value.

libmodbus(7)

The libmodbus documentation was written by Stéphane Raimbault <stephane.raimbault@gmail.com>

10/15/2022 libmodbus v3.1.6