Page 1 of 1

What is device uuid ? when I am trying to run bulimix painter on laptop.

Posted: 11:29, 16 Feb 2016
by kiranshashiny
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.

Re: What is device uuid ? when I am trying to run bulimix painter on laptop.

Posted: 12:14, 19 Feb 2016
by kiranshashiny
Any help would be appreciated ?
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.

Posted: 12:20, 19 Feb 2016
by Fredrik
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.