Functions and data structures for sending M-Bus data via RS232. More...
#include <termios.h>
#include <mbus/mbus.h>
Go to the source code of this file.
Data Structures | |
struct | _mbus_serial_handle |
Typedefs | |
typedef struct _mbus_serial_handle | mbus_serial_handle |
Functions | |
mbus_serial_handle * | mbus_serial_connect (char *device) |
Set up a serial connection handle. | |
int | mbus_serial_disconnect (mbus_serial_handle *handle) |
int | mbus_serial_send_frame (mbus_serial_handle *handle, mbus_frame *frame) |
int | mbus_serial_recv_frame (mbus_serial_handle *handle, mbus_frame *frame) |
Functions and data structures for sending M-Bus data via RS232.
typedef struct _mbus_serial_handle mbus_serial_handle |
mbus_serial_handle* mbus_serial_connect | ( | char * | device | ) |
Set up a serial connection handle.
int mbus_serial_disconnect | ( | mbus_serial_handle * | handle | ) |
int mbus_serial_recv_frame | ( | mbus_serial_handle * | handle, | |
mbus_frame * | frame | |||
) |
int mbus_serial_send_frame | ( | mbus_serial_handle * | handle, | |
mbus_frame * | frame | |||
) |