#include "libmodbus/modbus.h"

Go to the source code of this file.
Macros | |
| #define | MODBUS_TCP_DEFAULT_PORT 502 |
| #define | MODBUS_TCP_MAX_ADU_LENGTH 260 |
| #define | MODBUS_TCP_SLAVE 0xFF |
Functions | |
| modbus_t * | modbus_new_tcp (const char *ip_address, int port) |
| modbus_t * | modbus_new_tcp_pi (const char *node, const char *service) |
| int | modbus_tcp_accept (modbus_t *ctx, int *socket) |
| int | modbus_tcp_listen (modbus_t *ctx, int nb_connection) |
| int | modbus_tcp_pi_accept (modbus_t *ctx, int *socket) |
| int | modbus_tcp_pi_listen (modbus_t *ctx, int nb_connection) |
| #define MODBUS_TCP_DEFAULT_PORT 502 |
Definition at line 35 of file modbus-tcp.h.
| #define MODBUS_TCP_MAX_ADU_LENGTH 260 |
Definition at line 41 of file modbus-tcp.h.
| #define MODBUS_TCP_SLAVE 0xFF |
Definition at line 36 of file modbus-tcp.h.
| modbus_t* modbus_new_tcp | ( | const char * | ip_address, |
| int | port | ||
| ) |
Definition at line 636 of file modbus-tcp.c.
| modbus_t* modbus_new_tcp_pi | ( | const char * | node, |
| const char * | service | ||
| ) |
Definition at line 689 of file modbus-tcp.c.
| int modbus_tcp_accept | ( | modbus_t * | ctx, |
| int * | socket | ||
| ) |
Definition at line 524 of file modbus-tcp.c.
| int modbus_tcp_listen | ( | modbus_t * | ctx, |
| int | nb_connection | ||
| ) |
Definition at line 387 of file modbus-tcp.c.
| int modbus_tcp_pi_accept | ( | modbus_t * | ctx, |
| int * | socket | ||
| ) |
Definition at line 545 of file modbus-tcp.c.
| int modbus_tcp_pi_listen | ( | modbus_t * | ctx, |
| int | nb_connection | ||
| ) |
Definition at line 430 of file modbus-tcp.c.