mirror of
https://github.com/Telecominfraproject/wlan-cloud-opensync-controller.git
synced 2025-11-01 19:17:52 +00:00
Merge branch 'master' of bitbucket.org:connectustechnologies/opensync-wifi-controller
This commit is contained in:
@@ -1,14 +1,14 @@
|
||||
{
|
||||
"_type" : "OpensyncAPConfig",
|
||||
"model_type" : "OpensyncAPConfig",
|
||||
"radioConfig" : {
|
||||
"_type" : "OpensyncAPRadioConfig",
|
||||
"model_type" : "OpensyncAPRadioConfig",
|
||||
"country" : "CA",
|
||||
"radioChannel24G" : 1,
|
||||
"radioChannel5LG" : 44,
|
||||
"radioChannel5HG" : 108
|
||||
},
|
||||
"ssidConfigs" : [ {
|
||||
"_type" : "OpensyncAPSsidConfig",
|
||||
"model_type" : "OpensyncAPSsidConfig",
|
||||
"radioType" : "is2dot4GHz",
|
||||
"ssid" : "Connectus-local",
|
||||
"encryption" : "WPA-PSK",
|
||||
@@ -16,7 +16,7 @@
|
||||
"mode" : "2",
|
||||
"broadcast" : true
|
||||
}, {
|
||||
"_type" : "OpensyncAPSsidConfig",
|
||||
"model_type" : "OpensyncAPSsidConfig",
|
||||
"radioType" : "is5GHz",
|
||||
"ssid" : "Connectus-local-5",
|
||||
"encryption" : "WPA-PSK",
|
||||
|
||||
@@ -98,7 +98,7 @@ public class OpensyncMqttClient implements ApplicationListener<ContextClosedEven
|
||||
MQTT mqtt = new MQTT();
|
||||
//mqtt.setHost("tcp://192.168.0.137:61616");
|
||||
mqtt.setHost("tls://"+mqttBrokerAddress+":"+mqttBrokerListenPort);
|
||||
LOG.info("Connecting to Artemis using MQTT at {}", mqtt.getHost());
|
||||
LOG.info("Connecting to MQTT broker at {}", mqtt.getHost());
|
||||
mqtt.setClientId("opensync_mqtt");
|
||||
mqtt.setUserName(username);
|
||||
mqtt.setPassword(password);
|
||||
@@ -109,7 +109,7 @@ public class OpensyncMqttClient implements ApplicationListener<ContextClosedEven
|
||||
//TODO: revisit this blocking connection, change it to futureConnection
|
||||
connection = mqtt.blockingConnection();
|
||||
connection.connect();
|
||||
LOG.info("Connected to Artemis cluster at {}", mqtt.getHost());
|
||||
LOG.info("Connected to MQTT broker at {}", mqtt.getHost());
|
||||
|
||||
// Subscribe to topics:
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user