Initial Ktor backend skeleton with ProtocolMessage DTO, REST and WebSocket
This commit is contained in:
12
protocol/examples/telemetry.json
Normal file
12
protocol/examples/telemetry.json
Normal file
@@ -0,0 +1,12 @@
|
||||
{
|
||||
"v": 1,
|
||||
"id": "tel-123",
|
||||
"type": "telemetry",
|
||||
"ts": 1710000002,
|
||||
"deviceId": "esp32-001",
|
||||
"payload": {
|
||||
"voltage": 220.5,
|
||||
"current": 1.2,
|
||||
"temperature": 36.6
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user