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

Ask, and ye shall receive.
kiranshashiny
Posts: 12
Joined: 09:35, 14 Feb 2016

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

Postby kiranshashiny » 11:29, 16 Feb 2016

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.

kiranshashiny
Posts: 12
Joined: 09:35, 14 Feb 2016

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

Postby kiranshashiny » 12:14, 19 Feb 2016

Any help would be appreciated ?
I want to know where you are getting or setting the device.uuid () .

Fredrik
Site Admin
Posts: 196
Joined: 15:00, 18 Nov 2013

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

Postby Fredrik » 12:20, 19 Feb 2016

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.


Return to “Questions and answers”

Who is online

Users browsing this forum: No registered users and 1 guest