GaIA BIOS Library
Loading...
Searching...
No Matches
mb_tcp_config_t Struct Reference

This structure represents the configuration of a Modbus/TCP slave. More...

#include <modbus_tcp_slave.h>

Data Fields

uintptr_t task_id
 Task id to send signals to.
mb_info_t info
 Information for message processing.
uintptr_t * sockets
 Socket descriptors of the allocated sockets.
uint8_t socket_count
 Number of socket to use.
uint16_t tcp_port
 Port to listen on for incoming connections.
const ip_addr_tauthorized_addrs
 List of allowed ip addresses for incoming connections.
uint8_t authorized_addrs_count
 Number of authorized ip addresses.
mb_tcp_connection_tpriority_conns
 Priority connection pool.
uint8_t priority_conns_count
 Size of the priority connection pool.
mb_tcp_connection_t ** non_priority_conns
 Non-priority connection pool.
uint8_t non_priority_conns_count
 Size of the non-priority connection pool.
uint8_t non_priority_conns_max
 Max number of non-priority connections.
mb_tcp_transactions_queue_ttrans_queue
 Transaction queue.

Detailed Description

This structure represents the configuration of a Modbus/TCP slave.


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