Added Server-EP to deviceConfigs.cfg

application-manager-new
Shabir Mohamed 9 years ago
parent c63257785b
commit 7915836dd0

@ -1,6 +1,7 @@
[Device-Configurations] [Device-Configurations]
owner = ${DEVICE_OWNER} owner = ${DEVICE_OWNER}
deviceId = ${DEVICE_ID} deviceId = ${DEVICE_ID}
server-ep = ${SERVER_EP}
mqtt-ep = ${MQTT_EP} mqtt-ep = ${MQTT_EP}
xmpp-ep = ${XMPP_EP} xmpp-ep = ${XMPP_EP}
auth-method = token auth-method = token

@ -141,7 +141,7 @@ public class FireAlarmControllerService {
String callUrlPattern = BULB_CONTEXT + switchToState; String callUrlPattern = BULB_CONTEXT + switchToState;
log.info("Sending command: '" + callUrlPattern + "' to firealarm at: " + deviceIP + " " + log.info("Sending command: '" + callUrlPattern + "' to firealarm at: " + deviceIP + " " +
"via" + " " + protocol); "via" + " " + protocolString);
try { try {
switch (protocolString) { switch (protocolString) {

Loading…
Cancel
Save