Closed ukBaz closed 3 years ago
That looks good to me. Both...
You had/have the concept of API layers a while back/still?( 1, 10, 100 ?)
This just seems to be the lowest detail one (I'd sure use) that the higher level ones, that new to BLE users use, are built on.
Thanks for the feedback @WayneKeenan . For now I've split this idea into a separate library that is available at: https://github.com/ukBaz/BLE_GATT to keep things clean.
Talking of API levels... I'm continuing to prototype ideas using the BlueZ Bluetooth Management API over at: https://gist.github.com/ukBaz/3336ad4f662399c1246cdf2e4d75df10#file-btmgmt_socket-py
Not sure where that is going to end up...
I'll close this ticket as this idea can be tracked over at BLE_GATT
The most common thing people want to do with BLE is connect to a peripheral so they can read and write some characteristics. There is a lot of code inside of Bluezero to achieve the Central role. But could it be achieve with less?
Well actually, yes. Below is an experiment to see what that might look like.
This means that a user would be able to connect to a device and read and write with the following:
I don't think this is what Bluezero should become. Or should it? The goal of the library was to provide an easy on-ramp to using Bluetooth.