diff --git a/modules/distribution/src/sketches/firealarm_wifi/FireAlarmWifiAgent.h b/modules/distribution/src/sketches/firealarm_wifi/FireAlarmWifiAgent.h
index 340b70f4..59b4a9fa 100644
--- a/modules/distribution/src/sketches/firealarm_wifi/FireAlarmWifiAgent.h
+++ b/modules/distribution/src/sketches/firealarm_wifi/FireAlarmWifiAgent.h
@@ -44,6 +44,7 @@
#define DEVICE_OWNER "${DEVICE_OWNER}"
#define DEVICE_ID "${DEVICE_ID}"
#define DEVICE_TOKEN "${DEVICE_TOKEN}"
+#define DEVICE_TOKEN "${DEVICE_REFRESH_TOKEN}"
#define SERVICE_PORT 9763
#define SERVICE_EPOINT "/firealarm/controller/"
diff --git a/pom.xml b/pom.xml
index c7fcf655..f0729c8a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -250,10 +250,10 @@
org.apache.ant.wso2
ant
-
- commons-httpclient.wso2
- commons-httpclient
-
+
+
+
+
org.eclipse.equinox
javax.servlet
@@ -362,6 +362,8 @@
${carbon.iot.device.mgt.version}
+
+
org.wso2.carbon.iot
org.wso2.carbon.device.mgt.iot.firealarm.impl
@@ -504,10 +506,10 @@
org.wso2.carbon
org.wso2.carbon.rest.api.stub
-
- org.json.wso2
- json
-
+
+
+
+
com.h2database.wso2
h2-database-engine
@@ -739,11 +741,20 @@
+
+
+
+
+
+
+
+
- commons-httpclient.wso2
- commons-httpclient
- ${orbit.version.commons-httpclient}
+ org.json.wso2
+ json
+ ${commons-json.version}
+
commons-io
commons-io
@@ -819,6 +830,8 @@
1.0.0-SNAPSHOT
1.0.0-SNAPSHOT
+ 3.0.0.wso2v1
+
1.4.0
@@ -833,7 +846,8 @@
3.0.21
1.1.0-wso2v13
- 3.1.0.wso2v2
+
+
1.6.17
2.0.0
1.2.14