Common API reference
- Get started 82 symbols
- SECS/GEM 5266 symbols
- Modbus 64 symbols
- MQTT 0 symbols
- OPC UA 303 symbols
- Tools 56 symbols
82 symbols
PDCOMM_ALLOCATION_FAILEDA memory allocation failed.PDCOMM_BUFFER_TOO_SMALLThe output capacity is smaller than the data.PDCOMM_INTERNAL_ERRORAn internal invariant failed or a panic was contained.PDCOMM_INVALID_ARGUMENTAn argument is invalid.PDCOMM_INVALID_DATAThe input bytes are not a valid SECS-II item.PDCOMM_IO_ERRORAn operating-system operation failed.PDCOMM_LICENSE_REQUIREDA PDComm license that grants the module is required.PDCOMM_LIMIT_EXCEEDEDThe request exceeds an application-supplied or protocol limit.PDCOMM_OKThe call succeeded.PDCOMM_OUT_OF_RANGEAn index or identifier does not refer to an existing element.PDCOMM_TRUNCATEDThe input ended before a complete SECS-II item was read.PdcommBufferOpaque, immutable, owned byte buffer.PdcommStatusResult code returned by fallible PDComm functions.pdcomm_abi_versionReturns the ABI version implemented by the loaded library.pdcomm_buffer_copyCopies the bytes of a buffer into caller storage.pdcomm_buffer_createCopies caller bytes into a new owned buffer.pdcomm_buffer_destroyReleases a buffer handle.pdcomm_license_host_idCopies the host id of this machine.pdcomm_license_installInstalls PDComm license text for this library.pdcomm_license_statusCopies the license status of this library as a JSON object.pdcomm_logging_configureConfigures library-local diagnostics logging.pdcomm_logging_flushWaits until queued log records are written to the sink.pdcomm_logging_statusCopies the current logging status as a JSON object.pdcommHeader-only C++ wrappers over the PDComm SECS/GEM C API.BufferOwned, immutable copy of a byte sequence.Buffer::BufferTakes ownership of the native handle owned by other.Buffer::BufferCopying is disabled; the wrapper exclusively owns its native handle.Buffer::BufferCopies length bytes from data into a new native buffer.Buffer::bytesCopies the buffer contents into a new vector.Buffer::operator=Releases the current handle, then takes ownership of the handle owned by other.Buffer::operator=Copy assignment is disabled; the wrapper exclusively owns its native handle.Buffer::~BufferReleases the native handle with pdcomm_buffer_destroy().DiagnosticLoggingControls the optional diagnostic log of the SECS/GEM native library.DiagnosticLogging::configureApplies a logging configuration given as a JSON object.DiagnosticLogging::flushWaits until queued log records are written.DiagnosticLogging::statusReturns the current logging status as a JSON object.ErrorException thrown when a native PDComm call returns a status other than PDCOMM_OK.Error::ErrorCreates an exception for a failed native call.Error::statusReturns the native status that caused this exception.LicenseInstalls and inspects the PDComm license of the SECS/GEM library.License::hostIdReturns this host id, PDH1-XXXX-XXXX-XXXX-XXXX.License::installInstalls license text, replacing text installed earlier.License::statusReturns the license status of the SECS/GEM library as a JSON object.PdcommStatus.AllocationFailedThe native library could not allocate memory; the operation can be retried.PdcommStatus.BackpressureA bounded queue is full; drain events or wait for pending work to finish, then retry.PdcommStatus.BufferTooSmallThe output buffer is smaller than the required size; nothing was copied.PdcommStatus.InternalErrorAn internal error occurred in the native library.PdcommStatus.InvalidArgumentAn argument, option structure or handle was invalid for the operation.PdcommStatus.InvalidDataThe input bytes are not valid for their declared format, for example a malformed SECS-II item.PdcommStatus.InvalidStateThe operation is not allowed in the endpoint's current state.PdcommStatus.IoErrorA socket, file or other I/O operation failed.PdcommStatus.LicenseRequiredNo PDComm license grants the module, so no new communication was started. Running endpoints are not affected.PdcommStatus.LimitExceededA size, count, nesting or other configured limit would be exceeded.PdcommStatus.OkThe operation succeeded.PdcommStatus.OutOfRangeAn index, identifier or requested entry does not exist.PdcommStatus.PoisonedAn earlier internal failure poisoned the native object; only disposal is meaningful afterwards.PdcommStatus.ProgramUnconfirmedA process program change was installed, but its durable persistence could not be confirmed.PdcommStatus.SpoolUnconfirmedA spooling change was installed, but its durable persistence could not be confirmed.PdcommStatus.StaleTokenA token or result belongs to another endpoint, to an earlier connection generation, or was already consumed.PdcommStatus.TruncatedThe input ended before a complete SECS-II item could be decoded.DiagnosticLogging.ConfigureReplaces the diagnostic log configuration.DiagnosticLogging.FlushWaits until the queued log records have been written.DiagnosticLogging.StatusGets the current logging state and counters.License.HostIdGets this machine's host id, PDH1-XXXX-XXXX-XXXX-XXXX, which SECS/GEM runtime licenses list.License.InstallInstalls license text, replacing text installed earlier through this method.License.StatusGets the license status of the SECS/GEM library.PdcommBuffer.CreateCopies bytes into a new native buffer.PdcommBuffer.DisposeReleases the native buffer.PdcommBuffer.ToArrayCopies the buffer's contents into a new array.PdcommBuffer.TryCopyCopies the buffer's contents into a caller-supplied span when it is large enough.PdcommException.PdcommExceptionInitializes a new exception for a native status.PdcommRuntime.InitializeLoads and validates the PDComm native library.PDCommPdcommException.ErrorOffsetGets the byte offset of the start of the field that failed to decode, or null when the failure has no input position.PdcommException.StatusGets the native status that caused the failure.PdcommRuntime.AbiVersionGets the ABI version of the loaded native library, as major.minor.DiagnosticLoggingControls the optional diagnostic log of the PDComm SECS/GEM native library.LicenseInstalls and inspects the PDComm license of the SECS/GEM native library.PdcommBufferAn immutable byte buffer owned by the PDComm native library.PdcommExceptionThe exception thrown when a PDComm native operation returns a status other than PdcommStatus.Ok.PdcommRuntimeLoads the PDComm native library and checks that its ABI is compatible with this binding.PdcommStatusStatus codes returned by the PDComm native library.
No API matches the filter.