Modbus C API
The public C API of Modbus.
22 symbols
PDCOMM_MODBUS_ASCIIModbus ASCII over a serial line (Modbus over Serial Line specification).PDCOMM_MODBUS_BUFFER_TOO_SMALLThe output capacity is smaller than the data. The required size is reported and the output is unchanged.PDCOMM_MODBUS_INTERNAL_ERRORAn internal failure, such as a contained panic or a poisoned endpoint lock. Release the endpoint and create a new one.PDCOMM_MODBUS_INVALID_HANDLEThe handle is zero, released, unknown or of the wrong kind.PDCOMM_MODBUS_INVALID_INPUTA pointer, size or JSON document is invalid; nothing was changed.PDCOMM_MODBUS_OKThe call succeeded.PDCOMM_MODBUS_RTUModbus RTU over a serial line (Modbus over Serial Line specification).PDCOMM_MODBUS_SECURITYModbus/TCP Security: TLS with X.509 certificates and role-based authorization.PDCOMM_MODBUS_SERVICE_ERRORThe command ran and failed, for example with a timeout, a refused connection or an invalid configuration. An owned error buffer is returned.PDCOMM_MODBUS_TCPModbus TCP (MBAP header over TCP), client, server and gateway listener.pdcomm_modbus_abi_versionReturns the ABI version of the loaded library.pdcomm_modbus_buffer_copyCopies a JSON reply buffer as UTF-8 without a terminator.pdcomm_modbus_callRuns one JSON command on an endpoint and returns the JSON reply.pdcomm_modbus_capabilitiesReturns the features compiled into the loaded library.pdcomm_modbus_capabilityFeature bits reported by pdcomm_modbus_capabilities().pdcomm_modbus_endpoint_createCreates a disconnected endpoint with the default configuration.pdcomm_modbus_handleOpaque, library-local handle of an endpoint or a JSON buffer.pdcomm_modbus_logging_configureConfigures the optional diagnostic log of this library.pdcomm_modbus_logging_flushWaits until queued log records are written to the sink.pdcomm_modbus_logging_statusCopies the diagnostic log status as UTF-8 JSON without a terminator.pdcomm_modbus_releaseReleases an endpoint or a JSON buffer.pdcomm_modbus_statusStatus code returned by every int32_t Modbus C ABI function.
No API matches the filter.