Files
filamentguard_esp32/include/FilamentGuardTagEvent.h
Bjarne Pedersen e2b9f0dc9e Kan læse og sende til API
Egentligt initial commit.
Kan læse tag og sende til API
2026-07-15 16:32:34 +02:00

24 lines
335 B
C

#pragma once
#include <Arduino.h>
enum class FilamentGuardTagEventType
{
TagPlaced,
TagRemoved
};
struct FilamentGuardTagEvent
{
String deviceId;
String hostname;
FilamentGuardTagEventType eventType;
String tagUid;
String instanceUuid;
String tagJson;
unsigned long uptimeMilliseconds = 0;
};