Functions and data structures for sending M-Bus data via TCP. More...
#include <mbus/mbus.h>
Go to the source code of this file.
Data Structures | |
struct | _mbus_tcp_handle |
Typedefs | |
typedef struct _mbus_tcp_handle | mbus_tcp_handle |
Functions | |
mbus_tcp_handle * | mbus_tcp_connect (char *host, int port) |
Setup a TCP/IP handle. | |
int | mbus_tcp_disconnect (mbus_tcp_handle *handle) |
int | mbus_tcp_send_frame (mbus_tcp_handle *handle, mbus_frame *frame) |
int | mbus_tcp_recv_frame (mbus_tcp_handle *handle, mbus_frame *frame) |
Functions and data structures for sending M-Bus data via TCP.
typedef struct _mbus_tcp_handle mbus_tcp_handle |
mbus_tcp_handle* mbus_tcp_connect | ( | char * | host, | |
int | port | |||
) |
Setup a TCP/IP handle.
int mbus_tcp_disconnect | ( | mbus_tcp_handle * | handle | ) |
int mbus_tcp_recv_frame | ( | mbus_tcp_handle * | handle, | |
mbus_frame * | frame | |||
) |
int mbus_tcp_send_frame | ( | mbus_tcp_handle * | handle, | |
mbus_frame * | frame | |||
) |