Data Structures | Typedefs | Functions

mbus/mbus-tcp.h File Reference

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_handlembus_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)

Detailed Description

Functions and data structures for sending M-Bus data via TCP.


Typedef Documentation


Function Documentation

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 
)
 All Data Structures Files Functions Variables Typedefs Defines