Rodbus-FFI  0.1.0
Idiomatic C API to the Rodbus crate via Rust FFI
Public Attributes | List of all members
Session Struct Reference

Struct that bundles together the types needed to make requests on a channel. More...

#include <rodbus.h>

Public Attributes

Runtimeruntime
 
Channelchannel
 
uint8_t unit_id
 
uint32_t timeout_ms
 

Detailed Description

Struct that bundles together the types needed to make requests on a channel.

Member Data Documentation

◆ channel

Channel* Session::channel

Channel to which requests will be sent for processing

◆ runtime

Runtime* Session::runtime

Runtime on which requests will be run

◆ timeout_ms

uint32_t Session::timeout_ms

Response timeout in milliseconds

◆ unit_id

uint8_t Session::unit_id

Modbus unit identifier to use in requests and expect in responses


The documentation for this struct was generated from the following file: