diff --git a/.gitignore b/.gitignore index eea6179..a2c7af8 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,3 @@ /target -/build +/embedded/build /.idea \ No newline at end of file diff --git a/embedded/main/apple.c b/embedded/main/apple.c index 76d1247..70ed3ac 100644 --- a/embedded/main/apple.c +++ b/embedded/main/apple.c @@ -26,11 +26,11 @@ uint8_t target[6] = {0xBC, 0xDD, 0xC2, 0x82, 0x82, 0x9E}; typedef struct { - char char_value[30]; - int int_value; - float float_value; - bool bool_value; -} example_message_t; + uint8_t mac[6]; + float temperature; + float battery_voltage; + unsigned long up_time; +} sensor_message_t; void app_main(void) {