I am trying the https://evothings.com/evothings-does-mqtt-with-bluemix/ and running it on my laptop instead of uploading it to my Smartphone.
to make debugs faster I am using my laptop
https://deploy.evothings.com/connect/YOUR_CONNECT_CODE
and I can get the interface up.
but it fails when it tries to execute this command.
app.client = new Paho.MQTT.Client(hostname, port, clientId);
This is because clientId= 'a:'+ orgId + ':painter' + device.uuid;
and I found that I cannot simulate any device.uuid - it has to be something that the Broker will understand.
What would my device uuid be ? in such cases.
What is device uuid ? when I am trying to run bulimix painter on laptop.
-
- Posts: 12
- Joined: 09:35, 14 Feb 2016
-
- Posts: 12
- Joined: 09:35, 14 Feb 2016
Re: What is device uuid ? when I am trying to run bulimix painter on laptop.
Any help would be appreciated ?
I want to know where you are getting or setting the device.uuid () .
I want to know where you are getting or setting the device.uuid () .
Re: What is device uuid ? when I am trying to run bulimix painter on laptop.
device.uuid is just an alphanumeric string. The format is different from platform to platform. You should be able to enter any string of your choosing.
However, you will probably also need to enter the same string on the MQTT server, so that it will recognize your client.
However, you will probably also need to enter the same string on the MQTT server, so that it will recognize your client.
Return to “Questions and answers”
Who is online
Users browsing this forum: No registered users and 57 guests