#include <inttypes.h>
Go to the source code of this file.
|
enum | message_type {
APPEND,
READ,
SET,
EXIT,
SENSOR_REG,
CAM,
CLOCK,
SUN,
TELEMETRY,
CONTROL_PITCH,
CONTROL_YAW,
CONTROL_ROLL
} |
|
#define NODE_COMM_MAX_BUFFER_SIZE 24 |
#define NODE_COMM_MAX_I2C_BUFFER_SIZE 32 |
#define NODE_COMM_MESSAGE_PREFIX 0xAB |
Enumerator |
---|
APPEND |
|
READ |
|
SET |
|
EXIT |
|
SENSOR_REG |
|
CAM |
|
CLOCK |
|
SUN |
|
TELEMETRY |
|
CONTROL_PITCH |
|
CONTROL_YAW |
|
CONTROL_ROLL |
|
struct __attribute__ |
( |
(packed) |
| ) |
|
|
read |
long fletcher_decode |
( |
uint8_t |
buffer[], |
|
|
long |
count |
|
) |
| |
|
inline |
uint16_t fletcher_encode |
( |
uint8_t |
buffer[], |
|
|
long |
count |
|
) |
| |
|
inline |