From 19b89072967ba7e7ee8986b1d5880a0bb40acc0d Mon Sep 17 00:00:00 2001 From: lasantha Date: Thu, 22 Jun 2017 12:06:42 +0530 Subject: [PATCH] Fixed data type mismatching errors --- .../resources/streams/org.wso2.iot.android.sense_1.0.0.json | 2 +- .../resources/streams/org.wso2.iot.android.sense_1.0.0.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/features/device-types-feature/androidsense-plugin-feature/org.wso2.carbon.device.mgt.iot.androidsense.analytics.feature/src/main/resources/streams/org.wso2.iot.android.sense_1.0.0.json b/features/device-types-feature/androidsense-plugin-feature/org.wso2.carbon.device.mgt.iot.androidsense.analytics.feature/src/main/resources/streams/org.wso2.iot.android.sense_1.0.0.json index e69eb2fc0d..27da6dfa6a 100644 --- a/features/device-types-feature/androidsense-plugin-feature/org.wso2.carbon.device.mgt.iot.androidsense.analytics.feature/src/main/resources/streams/org.wso2.iot.android.sense_1.0.0.json +++ b/features/device-types-feature/androidsense-plugin-feature/org.wso2.carbon.device.mgt.iot.androidsense.analytics.feature/src/main/resources/streams/org.wso2.iot.android.sense_1.0.0.json @@ -12,7 +12,7 @@ "payloadData": [ {"name": "battery", "type": "INT"}, {"name": "battery_state", "type": "STRING"}, - {"name": "battery_status", "type": "STRING"}, + {"name": "battery_status", "type": "INT"}, {"name": "battery_temperature", "type": "INT"}, {"name": "gps_lat", "type": "DOUBLE"}, {"name": "gps_long", "type": "DOUBLE"}, diff --git a/features/device-types-feature/androidsense-plugin-feature/org.wso2.carbon.device.mgt.iot.androidsense.backend.feature/src/main/resources/streams/org.wso2.iot.android.sense_1.0.0.json b/features/device-types-feature/androidsense-plugin-feature/org.wso2.carbon.device.mgt.iot.androidsense.backend.feature/src/main/resources/streams/org.wso2.iot.android.sense_1.0.0.json index e69eb2fc0d..27da6dfa6a 100644 --- a/features/device-types-feature/androidsense-plugin-feature/org.wso2.carbon.device.mgt.iot.androidsense.backend.feature/src/main/resources/streams/org.wso2.iot.android.sense_1.0.0.json +++ b/features/device-types-feature/androidsense-plugin-feature/org.wso2.carbon.device.mgt.iot.androidsense.backend.feature/src/main/resources/streams/org.wso2.iot.android.sense_1.0.0.json @@ -12,7 +12,7 @@ "payloadData": [ {"name": "battery", "type": "INT"}, {"name": "battery_state", "type": "STRING"}, - {"name": "battery_status", "type": "STRING"}, + {"name": "battery_status", "type": "INT"}, {"name": "battery_temperature", "type": "INT"}, {"name": "gps_lat", "type": "DOUBLE"}, {"name": "gps_long", "type": "DOUBLE"},