From 3e0d3146a221b91e072406268652cc2f7215dda1 Mon Sep 17 00:00:00 2001 From: Cole Hafner Date: Tue, 28 Mar 2023 15:02:24 -0700 Subject: [PATCH] refactor: remove 'hello' messages and fix test suite --- README.md | 1 - schemas/deviceToCloud/flip/flip-hello-example.json | 4 ---- schemas/deviceToCloud/flip/flip.json | 1 - schemas/deviceToCloud/temp/temp-hello-example.json | 4 ---- schemas/deviceToCloud/temp/temp.json | 3 +-- 5 files changed, 1 insertion(+), 12 deletions(-) delete mode 100644 schemas/deviceToCloud/flip/flip-hello-example.json delete mode 100644 schemas/deviceToCloud/temp/temp-hello-example.json diff --git a/README.md b/README.md index ee6e228..273e27f 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,6 @@ Devices that send messages to nRFCloud can optionally have data displayed on car | MessageType | Description | deviceToCloud or cloudToDevice | | :-----------: | :----------- | :-----------: | -| HELLO | Tells applications that device is ready to send data | C2D | | START | Tells application to start sending data to cloud | C2D | | STOP | Tells device to stop sending data | C2D | | INIT | Tells the application to initialize or reset | C2D | diff --git a/schemas/deviceToCloud/flip/flip-hello-example.json b/schemas/deviceToCloud/flip/flip-hello-example.json deleted file mode 100644 index 442a915..0000000 --- a/schemas/deviceToCloud/flip/flip-hello-example.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "appId": "FLIP", - "messageType": "HELLO" -} diff --git a/schemas/deviceToCloud/flip/flip.json b/schemas/deviceToCloud/flip/flip.json index b33fe27..ed71dfe 100644 --- a/schemas/deviceToCloud/flip/flip.json +++ b/schemas/deviceToCloud/flip/flip.json @@ -10,7 +10,6 @@ "messageType":{ "type":"string", "enum":[ - "HELLO", "DATA" ] }, diff --git a/schemas/deviceToCloud/temp/temp-hello-example.json b/schemas/deviceToCloud/temp/temp-hello-example.json deleted file mode 100644 index 3a84ab7..0000000 --- a/schemas/deviceToCloud/temp/temp-hello-example.json +++ /dev/null @@ -1,4 +0,0 @@ -{ - "appId": "TEMP", - "messageType": "HELLO" -} diff --git a/schemas/deviceToCloud/temp/temp.json b/schemas/deviceToCloud/temp/temp.json index e1b1892..a682e46 100644 --- a/schemas/deviceToCloud/temp/temp.json +++ b/schemas/deviceToCloud/temp/temp.json @@ -10,8 +10,7 @@ "messageType":{ "type":"string", "enum":[ - "DATA", - "HELLO" + "DATA" ] }, "data":{