From c7effff3ce9f2216f906adbc3a8729a1e8aaa913 Mon Sep 17 00:00:00 2001 From: ayyoob Date: Sat, 14 May 2016 11:11:30 +0530 Subject: [PATCH] resolved an error in arduino agent code --- .../src/main/resources/agent/Connect.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/features/iot-plugins-feature/arduino-plugin-feature/org.wso2.carbon.device.mgt.iot.arduino.feature/src/main/resources/agent/Connect.ino b/features/iot-plugins-feature/arduino-plugin-feature/org.wso2.carbon.device.mgt.iot.arduino.feature/src/main/resources/agent/Connect.ino index 1b37255c3..693929a74 100644 --- a/features/iot-plugins-feature/arduino-plugin-feature/org.wso2.carbon.device.mgt.iot.arduino.feature/src/main/resources/agent/Connect.ino +++ b/features/iot-plugins-feature/arduino-plugin-feature/org.wso2.carbon.device.mgt.iot.arduino.feature/src/main/resources/agent/Connect.ino @@ -102,7 +102,7 @@ void setupResource(){ jsonPayLoad += String(DEVICE_OWNER); jsonPayLoad += "\",\"deviceId\":\""; jsonPayLoad += String(DEVICE_ID); - jsonPayLoad += "}, \"payloadData\":{"; + jsonPayLoad += "\"}, \"payloadData\":{"; if(DEBUG) { Serial.print("JSON Payload: ");