aboutsummaryrefslogtreecommitdiff
path: root/common/protocol.h
blob: 30f3e0c46af03968ef375f2c590aa6bfaa15dec0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef __PROTOCOL_H__
#define __PROTOCOL_H__

#include <stdint.h>

struct __attribute__((__packed__)) data_packet {
    uint8_t channels[16];
    uint8_t brightness[8];
    uint8_t flags;
    uint32_t crc;
};

#endif /* __PROTOCOL_H__ */