Skip to content

Commit

Permalink
paho.js develop (pre 1.1)
Browse files Browse the repository at this point in the history
  • Loading branch information
Jan-Piet Mens committed Nov 4, 2014
1 parent 2adbab0 commit 24ca321
Show file tree
Hide file tree
Showing 3 changed files with 2,056 additions and 1,794 deletions.
4 changes: 2 additions & 2 deletions config.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// host = '172.16.153.122'; // hostname or IP address
// host = '127.0.0.1'; // hostname or IP address
host = '172.16.153.110'; // hostname or IP address
host = '127.0.0.1'; // hostname or IP address
// host = '172.16.153.110'; // hostname or IP address
port = 9001;
topic = '#'; // topic to subscribe to
useTLS = false;
Expand Down
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
var reconnectTimeout = 2000;

function MQTTconnect() {
mqtt = new Messaging.Client(
mqtt = new Paho.MQTT.Client(
host,
port,
"web_" + parseInt(Math.random() * 100,
Expand Down

0 comments on commit 24ca321

Please sign in to comment.