Bleep icon indicating copy to clipboard operation
Bleep copied to clipboard

Thank You

Open ghost opened this issue 9 years ago • 2 comments

Hi Tamir,

Can you provide a bit of a documentation to use this API?

Thank you.

ghost avatar Oct 04 '15 21:10 ghost

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.

tamir7 avatar Oct 04 '15 22:10 tamir7

Thank You again. I will have a look.

Regards.

ghost avatar Oct 05 '15 07:10 ghost