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.
Search found 196 matches
- 12:20, 19 Feb 2016
- Forum: Questions and answers
- Topic: What is device uuid ? when I am trying to run bulimix painter on laptop.
- Replies: 2
- Views: 17389
- 11:15, 19 Feb 2016
- Forum: General discussion
- Topic: how to use easyble functions in custom cordava project
- Replies: 4
- Views: 36940
Re: how to use easyble functions in custom cordava project
You don't connect to services, only to devices. Once connected to a device, you may write to (or read from) characteristics and descriptors.
- 03:55, 06 Feb 2016
- Forum: Questions and answers
- Topic: ESP8266 receivedata
- Replies: 1
- Views: 13987
Re: ESP8266 receivedata
I assume you mean that your function app.receivedData() is never called.
You'll then need to add this line to the end of the app.js file:
You'll then need to add this line to the end of the app.js file:
Code: Select all
chrome.sockets.tcp.onReceive.addListener(function(info) { app.receivedData(info.data); });
- 05:56, 29 Jan 2016
- Forum: Questions and answers
- Topic: Bluno Hello World
- Replies: 2
- Views: 17168
Re: Bluno Hello World
Our BLE plugin is named "cordova-plugin-ble". That's the one you'll need.
- 07:17, 20 Jan 2016
- Forum: Questions and answers
- Topic: Write to a ble unit
- Replies: 6
- Views: 28868
Re: Write to a ble unit
OK, so if you have the javascript string "0b5ac7b1206a15531553038715530187", then that's too long for BLE writing, because there's a limit of 20 bytes per characteristic.
Perhaps you should treat it as hex bytes, like so:
data = new Uint8Array([0x0b, 0x5a, 0xc7, ...])
Perhaps you should treat it as hex bytes, like so:
data = new Uint8Array([0x0b, 0x5a, 0xc7, ...])
- 20:39, 19 Jan 2016
- Forum: Questions and answers
- Topic: Simple UART BLE App
- Replies: 1
- Views: 14269
Re: Simple UART BLE App
Our arduino-ble example uses a form of BLE UART. Check out its app.js file. The functions "on", "off", "write", "startReading" and "getServices" will be of interest.
- 20:34, 19 Jan 2016
- Forum: Questions and answers
- Topic: Graph Data from BLE in Real-Time
- Replies: 1
- Views: 14099
- 20:29, 19 Jan 2016
- Forum: Questions and answers
- Topic: Write to a ble unit
- Replies: 6
- Views: 28868
Re: Write to a ble unit
I'll try to help, but I'm a bit confused. The value you want to write seems to be identical to the characteristic's UUID. Is that correct? The function you've written takes the parameter "resultCode", assumes it is a string, then writes the ASCII representation of that string to the charac...
- 20:47, 22 Dec 2015
- Forum: Questions and answers
- Topic: How are frequent writeCharactristic() calls handled?
- Replies: 4
- Views: 25244
Re: How are frequent writeCharactristic() calls handled?
Does wC() return asynchronously, and register the callback to be called when the value actually gets written? Yes. It also depends a bit on the remote device. There are two types of characteristic write settings: with and without response. The remote decides which one must be used. In the first cas...
- 00:04, 22 Dec 2015
- Forum: Questions and answers
- Topic: How are frequent writeCharactristic() calls handled?
- Replies: 4
- Views: 25244
Re: How are frequent writeCharactristic() calls handled?
The cordova-ble plugin queues up all writes. The next pending write is executed when the remote device's response arrives. Queing more writes over time than the system can process will cause increasingly old data to be written to the remote, and eventually cause an out-of-memory crash. I suggest you...