Device event generated

Edge telemetry


Reduce data usage and transmission costs with compact encoding, secure device communication, and direct delivery to your existing backend.
Define a packed schema, authenticate each frame, store the event, and inspect webhook delivery separately.
Add fields and preview the encoder. Nothing is saved until you create an account.
Fields
Packed payload 6 bytes
#ifndef STRUCT_PACKET_V1_H
#define STRUCT_PACKET_V1_H
#include <string.h>
#include "struct_sdk.h"
#define STRUCT_SCHEMA_VERSION 1
#define STRUCT_PACKET_SIZE 6u
// Native member layout is irrelevant: always call struct_pack_packet.
typedef struct {
float f_temp;
uint8_t f_humidity;
uint8_t f_battery;
} StructPacket;
static inline size_t struct_pack_packet(uint8_t *out, size_t capacity, const StructPacket *p) {
if (!out || !p || capacity < STRUCT_PACKET_SIZE) return 0;
struct_put_f32(out + 0, p->f_temp);
out[4] = p->f_humidity;
out[5] = p->f_battery;
return STRUCT_PACKET_SIZE;
}
#endif
Inspect decoded telemetry, verify device data, and track delivery from one dashboard.
Event visibility
Struct helps you move beyond raw device data. Inspect decoded fields, verify authenticated ingestion, monitor webhook delivery, and troubleshoot failures across the full path from device to backend.
View stored events, inspect individual fields, and explore telemetry in real time.
Understand whether a device event was accepted and identify authentication or payload issues early.
See whether delivery is pending, sending, delivered, skipped, or failed.
Trace individual events across ingestion, decoding, storage, and delivery from one place.
Device event generated

Edge telemetry
telemetry.js
sendTelemetry({
temp: 22.8,
battery: 78,
reaction_time: 225
})Event inspection
Telemetry
Live

Create a device, generate its encoder, and watch the stored telemetry in the dashboard.