![]() |
GaIA BIOS Library
|
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_t * | authorized_addrs |
| List of allowed ip addresses for incoming connections. | |
| uint8_t | authorized_addrs_count |
| Number of authorized ip addresses. | |
| mb_tcp_connection_t * | priority_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_t * | trans_queue |
| Transaction queue. | |
This structure represents the configuration of a Modbus/TCP slave.