21 #ifndef SELKIELoggerN2K_Connection
22 #define SELKIELoggerN2K_Connection
#define N2K_BUFF
Default serial buffer allocation size.
bool n2k_act_readMessage(int handle, n2k_act_message *out)
Static wrapper around n2k_readMessage_buf.
void n2k_closeConnection(int handle)
Close N2K serial connection.
int n2k_openConnection(const char *device, const int baud)
Open connection to an N2K serial device.
bool n2k_act_readMessage_buf(int handle, n2k_act_message *out, uint8_t buf[N2K_BUFF], size_t *index, size_t *hw)
Read data from handle, and parse message if able.