Kotlin-BLE-Library icon indicating copy to clipboard operation
Kotlin-BLE-Library copied to clipboard

Missing and outdated documentation

Open piefel opened this issue 10 months ago • 3 comments

I was pointed to this library over from the classic Android-BLE-Library and was at a loss how to start. Is there no documentation, or am I just unable to find it? The README is quite short, and it is outdated.

To be a bit more concrete:

  • Scanner: What’s the aggregrator for, how to actually use the found devices when we need a bit more than MAC addresses.
  • Client: You cannot connect() directly on the device (anymore?), and how do you handle connection changes etc.

piefel avatar Apr 25 '24 07:04 piefel

I am rewriting the library at the moment, with the native client coming in few weeks. It won't be compatible with the current version. Until then, I recommend using the old Java-based library, despite what it says.

In the new one I hope to have more self-readable API and better doc as well. I'll be pushing my code when only it gets usable so you can track it.

philips77 avatar Apr 25 '24 12:04 philips77

How is the new library coming?

abrown-sram avatar May 21 '24 16:05 abrown-sram

I aim to have the client ready in June, but at the moment I'm busy with another project so can't promise anything.

philips77 avatar May 22 '24 15:05 philips77

See #152.

philips77 avatar Jul 22 '24 09:07 philips77