Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implementing BLE peripheral with authorization on a given characteristic #451

Open
cryptax opened this issue Feb 11, 2020 · 0 comments
Open

Comments

@cryptax
Copy link

cryptax commented Feb 11, 2020

BLE supports authorization for given characteristics (process during which I am allowed or not to access the characteristic).
For example, below, I do not have the correct authorization to read the handle (output from gatttool):

[aa:a7:bb:76:33:22][LE]> char-read-hnd 0x001c
Error: Characteristic value/descriptor read failed: Attribute requires authorization before read/write

Note this is different from authentication. Authentication is done during pairing. Here I talk about authorization (see here for "authorization"). Just want to insist I am not talking about authentication ;-)

Is this supported by bleno, and how could we implement a peripheral that requires authorization?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant