typedef
This commit is contained in:
parent
07f37b7426
commit
f3c8d8d9a3
2
.gitignore
vendored
2
.gitignore
vendored
|
@ -1,3 +1,3 @@
|
||||||
/target
|
/target
|
||||||
/build
|
/embedded/build
|
||||||
/.idea
|
/.idea
|
|
@ -26,11 +26,11 @@ uint8_t target[6] = {0xBC, 0xDD, 0xC2, 0x82, 0x82, 0x9E};
|
||||||
|
|
||||||
typedef struct
|
typedef struct
|
||||||
{
|
{
|
||||||
char char_value[30];
|
uint8_t mac[6];
|
||||||
int int_value;
|
float temperature;
|
||||||
float float_value;
|
float battery_voltage;
|
||||||
bool bool_value;
|
unsigned long up_time;
|
||||||
} example_message_t;
|
} sensor_message_t;
|
||||||
|
|
||||||
void app_main(void)
|
void app_main(void)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue