Guilherme Bossa

Greenhorn
+ Follow
since Oct 17, 2019
Cows and Likes
Cows
Total received
0
In last 30 days
0
Total given
0
Likes
Total received
1
Received in last 30 days
1
Total given
0
Given in last 30 days
0
Forums and Threads
Scavenger Hunt
expand Ranch Hand Scavenger Hunt
expand Greenhorn Scavenger Hunt

Recent posts by Guilherme Bossa

So, I have been struggling for some time now with this BLE. I am working on an Appcelerator module that can enable communication (read/write data) from some devices with an Android tablet. I am able to scan, discover devices, connect to it and discover it's services. What I am unable to do is to read data. As you can see on the below code, the contents on method readData() ALWAYS return false. (writeDescriptor, readCharacteristic, readDescriptor). No matter what, this always returns false. The callback is never called, and I am completely stuck. What on earth am I doing wrong? How can I set those stuff on readData() to be true, and what to do after that? Thank you all in advance!



Now, my callback methods:


And here is the log....



Please ranch people, help me, I am 3 weeks now banging my head over the wall for this.....
4 weeks ago