|
SELKIELogger
1.0.0
|


Go to the source code of this file.
Macros | |
| #define | MP_SERIAL_BUFF 4096 |
| Default serial buffer allocation size. | |
Functions | |
| int | mp_openConnection (const char *port, const int baudRate) |
| Set up a connection to the specified port. More... | |
| void | mp_closeConnection (int handle) |
| Close existing connection. More... | |
| bool | mp_readMessage (int handle, msg_t *out) |
| Static wrapper around mp_readMessage_buf. More... | |
| bool | mp_readMessage_buf (int handle, msg_t *out, uint8_t buf[MP_SERIAL_BUFF], int *index, int *hw) |
| Read data from handle, and parse message if able. More... | |
| bool | mp_packMessage (msgpack_sbuffer *sbuf, const msg_t *out) |
| Pack a message into a buffer. More... | |
| bool | mp_writeMessage (int handle, const msg_t *out) |
| Send message to attached device. More... | |
| bool | mp_writeData (int handle, const msg_t *out) |
| Send message data (only!) to attached device. More... | |
| void | mp_pack_strarray (msgpack_packer *pack, const strarray *sa) |
| Pack string array. More... | |
| void | mp_pack_numarray (msgpack_packer *pack, const size_t entries, const float *fa) |
| Pack numeric/floating point array. More... | |
| bool | mp_unpack_strarray (strarray *sa, msgpack_object_array *obj) |
| Unpack msgpack array into string array. More... | |
| size_t | mp_unpack_numarray (float **sa, msgpack_object_array *obj) |
| Allocate array of floats and unpack a msgpack array into it. More... | |
Serial Input/Output functions for compatible MessagePack data sources
Definition in file MPSerial.h.