charliebruce / cobble Goto Github PK
View Code? Open in Web Editor NEWCommon bindings for Bluetooth LE
License: MIT License
Common bindings for Bluetooth LE
License: MIT License
BlueZ is a work in progress.
org.bluez.Battery1
rather than exposing the raw data.#6 introduces ability to read MTU, but on Android we just use the minimum of 20 (guaranteed by Bluetooth spec) for compatibility. We should instead read from the OS and/or request a better value if it doesn't automatically select the maximum possible.
Quite often, service discovery will fail, and/or a rapid sequence of connection and disconnection events will be fired.
Some possibilities:
Approaches:
Need to add RECEIVER_NOT_EXPORTED
flag here? Possibly wrap in a ContextCompat
?
operationInProgress
might change during the call to processQueuedOperations
- this could cause issues?
Remove the operationInProgress
and make the processQueuedOperations
function synchronized?
Currently, the API doesn't allow you to choose between writing with vs without reply. This causes issues with Nordic DFU (which only seems to work if you allow a reply).
Currently, Windows will assume that a characteristic will use Notification. If the characteristic only supports Indication, it won't work correctly.
#6 introduces MTU but just uses the default 20 bytes. We should read from the OS and/or negotiate the maximum.
Currently, Android will assume that a characteristic will use Notification. If the characteristic only supports Indication, it won't work correctly.
On Android versions below 12, even if Bluetooth is enabled, if Location permission is disabled no scan results will be provided to the app.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.