blob: 31da5e6a71c27fa33d3a6ec7965bdef91a1f5c07 [file] [log] [blame]
/*
* Copyright (c) 2022 Rodrigo Peixoto <rodrigopex@gmail.com>
* SPDX-License-Identifier: Apache-2.0
*/
#ifndef _MESSAGES_H_
#define _MESSAGES_H_
#include <stdbool.h>
#include <stdint.h>
struct version_msg {
uint8_t major;
uint8_t minor;
uint16_t build;
};
struct sensor_data_msg {
int value;
};
struct action_msg {
bool status;
};
#endif /* _MESSAGES_H_ */