Public Attributes | List of all members
_modbus_backend Struct Reference

#include <modbus-private.h>

Public Attributes

unsigned int backend_type
 
int(* build_request_basis )(modbus_t *ctx, int function, int addr, int nb, uint8_t *req)
 
int(* build_response_basis )(sft_t *sft, uint8_t *rsp)
 
int(* check_integrity )(modbus_t *ctx, uint8_t *msg, const int msg_length)
 
unsigned int checksum_length
 
void(* close )(modbus_t *ctx)
 
int(* connect )(modbus_t *ctx)
 
int(* filter_request )(modbus_t *ctx, int slave)
 
int(* flush )(modbus_t *ctx)
 
unsigned int header_length
 
unsigned int max_adu_length
 
int(* pre_check_confirmation )(modbus_t *ctx, const uint8_t *req, const uint8_t *rsp, int rsp_length)
 
int(* prepare_response_tid )(const uint8_t *req, int *req_length)
 
ssize_t(* recv )(modbus_t *ctx, uint8_t *rsp, int rsp_length)
 
int(* select )(modbus_t *ctx, fd_set *rfds, struct timeval *tv, int msg_length)
 
ssize_t(* send )(modbus_t *ctx, const uint8_t *req, int req_length)
 
int(* send_msg_pre )(uint8_t *req, int req_length)
 
int(* set_slave )(modbus_t *ctx, int slave)
 

Detailed Description

Definition at line 80 of file modbus-private.h.

Member Data Documentation

unsigned int _modbus_backend::backend_type

Definition at line 81 of file modbus-private.h.

int(* _modbus_backend::build_request_basis) (modbus_t *ctx, int function, int addr, int nb, uint8_t *req)

Definition at line 86 of file modbus-private.h.

int(* _modbus_backend::build_response_basis) (sft_t *sft, uint8_t *rsp)

Definition at line 88 of file modbus-private.h.

int(* _modbus_backend::check_integrity) (modbus_t *ctx, uint8_t *msg, const int msg_length)

Definition at line 93 of file modbus-private.h.

unsigned int _modbus_backend::checksum_length

Definition at line 83 of file modbus-private.h.

void(* _modbus_backend::close) (modbus_t *ctx)

Definition at line 98 of file modbus-private.h.

int(* _modbus_backend::connect) (modbus_t *ctx)

Definition at line 97 of file modbus-private.h.

int(* _modbus_backend::filter_request) (modbus_t *ctx, int slave)

Definition at line 101 of file modbus-private.h.

int(* _modbus_backend::flush) (modbus_t *ctx)

Definition at line 99 of file modbus-private.h.

unsigned int _modbus_backend::header_length

Definition at line 82 of file modbus-private.h.

unsigned int _modbus_backend::max_adu_length

Definition at line 84 of file modbus-private.h.

int(* _modbus_backend::pre_check_confirmation) (modbus_t *ctx, const uint8_t *req, const uint8_t *rsp, int rsp_length)

Definition at line 95 of file modbus-private.h.

int(* _modbus_backend::prepare_response_tid) (const uint8_t *req, int *req_length)

Definition at line 89 of file modbus-private.h.

ssize_t(* _modbus_backend::recv) (modbus_t *ctx, uint8_t *rsp, int rsp_length)

Definition at line 92 of file modbus-private.h.

int(* _modbus_backend::select) (modbus_t *ctx, fd_set *rfds, struct timeval *tv, int msg_length)

Definition at line 100 of file modbus-private.h.

ssize_t(* _modbus_backend::send) (modbus_t *ctx, const uint8_t *req, int req_length)

Definition at line 91 of file modbus-private.h.

int(* _modbus_backend::send_msg_pre) (uint8_t *req, int req_length)

Definition at line 90 of file modbus-private.h.

int(* _modbus_backend::set_slave) (modbus_t *ctx, int slave)

Definition at line 85 of file modbus-private.h.


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


libmodbus
Author(s):
autogenerated on Sat Nov 21 2020 03:17:32