Thank you all.. so much
I landed up with this
var data = new Uint8Array(s.match(/../g).map(function (s) {
return parseInt(s, 16);
}));
Search found 5 matches
- 18:47, 24 Jan 2016
- Forum: Questions and answers
- Topic: Write to a ble unit
- Replies: 6
- Views: 35656
- 08:13, 20 Jan 2016
- Forum: Questions and answers
- Topic: Write to a ble unit
- Replies: 6
- Views: 35656
Re: Write to a ble unit
WOW! That didnt hang the ble unit.... so progress. I must just work out how to take a string and convert it to that array... Will keep you posted.....
Thanks so far
Thanks so far
- 07:34, 20 Jan 2016
- Forum: Questions and answers
- Topic: Write to a ble unit
- Replies: 6
- Views: 35656
Re: Write to a ble unit
ok .. i see what you are saying, Going to try it and will revert
Thanks
Thanks
- 07:09, 20 Jan 2016
- Forum: Questions and answers
- Topic: Write to a ble unit
- Replies: 6
- Views: 35656
Re: Write to a ble unit
Hi Fredrik Thank you for the help ... I just took that value as an example. Here is an exact value 0b5ac7b1206a15531553038715530187. Yes you are right, I am trying to write as ASCII representation. The console.log reports "Error: writeCharacteristic failed" and then the evothing plugin kee...
- 13:12, 19 Jan 2016
- Forum: Questions and answers
- Topic: Write to a ble unit
- Replies: 6
- Views: 35656
Write to a ble unit
Hi Guys I am not sure how to write this but I will try. Please bear with me as I am a newbie at JavaScript. I have a 16byte (69C7E98730B2472CB8B5DE17A703C3F0) value that I need to write to BLE unit(clients unit). I connect to the BLE unit , read the service and get the 16byte value , which I need to...