diff --git a/backend/src/main/resources/application.yaml b/backend/src/main/resources/application.yaml deleted file mode 100644 index b2106fd..0000000 --- a/backend/src/main/resources/application.yaml +++ /dev/null @@ -1,12 +0,0 @@ -ktor: - host: 0.0.0.0 - port: 8080 - -app: - name: iot-backend - -api: - prefix: /api/v1 - -ws: - path: /ws \ No newline at end of file diff --git a/backend/src/main/resources/application.yaml.example b/backend/src/main/resources/application.yaml.example deleted file mode 100644 index b2106fd..0000000 --- a/backend/src/main/resources/application.yaml.example +++ /dev/null @@ -1,12 +0,0 @@ -ktor: - host: 0.0.0.0 - port: 8080 - -app: - name: iot-backend - -api: - prefix: /api/v1 - -ws: - path: /ws \ No newline at end of file diff --git a/protocol/examples/command.json b/protocol/examples/command.json deleted file mode 100644 index 8d8ad0f..0000000 --- a/protocol/examples/command.json +++ /dev/null @@ -1,13 +0,0 @@ -{ - "v": 1, - "id": "cmd-123", - "type": "command", - "ts": 1710000000, - "deviceId": "esp32-001", - "payload": { - "command": "setRelay", - "params": { - "state": true - } - } -} \ No newline at end of file diff --git a/protocol/examples/event.json b/protocol/examples/event.json deleted file mode 100644 index 94d4836..0000000 --- a/protocol/examples/event.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "v": 1, - "id": "evt-123", - "type": "event", - "ts": 1710000003, - "deviceId": "esp32-001", - "payload": { - "event": "overheat", - "level": "warning", - "message": "Temperature too high" - } -} \ No newline at end of file diff --git a/protocol/examples/response.json b/protocol/examples/response.json deleted file mode 100644 index 9734d65..0000000 --- a/protocol/examples/response.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "v": 1, - "id": "resp-123", - "type": "response", - "ts": 1710000001, - "deviceId": "esp32-001", - "payload": { - "requestId": "cmd-123", - "status": "ok", - "data": {} - } -} \ No newline at end of file diff --git a/protocol/examples/telemetry.json b/protocol/examples/telemetry.json deleted file mode 100644 index 6dc45ae..0000000 --- a/protocol/examples/telemetry.json +++ /dev/null @@ -1,12 +0,0 @@ -{ - "v": 1, - "id": "tel-123", - "type": "telemetry", - "ts": 1710000002, - "deviceId": "esp32-001", - "payload": { - "voltage": 220.5, - "current": 1.2, - "temperature": 36.6 - } -} \ No newline at end of file diff --git a/protocol/schema.json b/protocol/schema.json deleted file mode 100644 index 9ba528a..0000000 --- a/protocol/schema.json +++ /dev/null @@ -1,31 +0,0 @@ -{ - "type": "object", - "required": ["v", "type", "ts", "deviceId", "payload"], - "properties": { - "v": { - "type": "integer", - "description": "Protocol version" - }, - - "type": { - "type": "string", - "description": "Message type" - }, - - "ts": { - "type": "integer", - "description": "Unix time in milliseconds" - }, - - "deviceId": { - "type": "string", - "minLength": 1, - "description": "Unique device identifier" - }, - - "payload": { - "type": "object", - "description": "Message-specific data" - } - } -} \ No newline at end of file