Added support for compass bearings.

This commit is contained in:
Jef Driesen 2008-10-31 14:05:46 +00:00
parent a5cabb5550
commit 8899fd1270

View File

@ -53,6 +53,7 @@ typedef enum parser_sample_type_t {
SAMPLE_TYPE_EVENT, SAMPLE_TYPE_EVENT,
SAMPLE_TYPE_RBT, SAMPLE_TYPE_RBT,
SAMPLE_TYPE_HEARTBEAT, SAMPLE_TYPE_HEARTBEAT,
SAMPLE_TYPE_BEARING,
SAMPLE_TYPE_VENDOR SAMPLE_TYPE_VENDOR
} parser_sample_type_t; } parser_sample_type_t;
@ -111,6 +112,7 @@ typedef union parser_sample_value_t {
} event; } event;
unsigned int rbt; unsigned int rbt;
unsigned int heartbeat; unsigned int heartbeat;
unsigned int bearing;
struct { struct {
unsigned int type; unsigned int type;
unsigned int size; unsigned int size;