Bleep
Bleep copied to clipboard
Thank You
Hi Tamir,
Can you provide a bit of a documentation to use this API?
Thank you.
It's a work in progress, but I didn't have time to work on it in a while. It's not yet ready for general use, and not been tested.
But the idea is as follows: In your app onCreate: Bleep.initialize(context);
Then wherever you want to scan: BleScanner.getScanner().scan();
The task will return with a list of BleScanResult from which you can do: BleDevice device = new BleDevice(results.get(0).getDevice());
with the device object you can do all operations like: connect, readChar and such. I was planning to implement both callbacks and bolts tasks API, but right now, only the bolts tasks API is implemented.
For more info on the API look at:
https://github.com/BoltsFramework/Bolts-Android
Cheers.
Thank You again. I will have a look.
Regards.