Search found 2 matches

by jjww
07:38, 11 Sep 2015
Forum: Questions and answers
Topic: writeCharacteristic success callback does not work
Replies: 2
Views: 18009

Re: writeCharacteristic success callback does not work

I was trying to put enablenotification(), in the success callback function

thanks in advance for any help
by jjww
07:34, 11 Sep 2015
Forum: Questions and answers
Topic: writeCharacteristic success callback does not work
Replies: 2
Views: 18009

writeCharacteristic success callback does not work

app.onSendCommand = function() { app.device.writeCharacteristic( '6e400002-b5a3-f393-e0a9-e50e24dcca9e', new Unit8Array([1,0]), function(){console.log('the write is done');}, function(error){console.log('write error' + error) }) } Hey all, is there any problem with this code, the function(){console...

Go to advanced search