Comments (3)
Looks like authorize
is not recognized in my version of bluez.
Oct 13 15:39:56 bluetoothd[27934]: Bluetooth management interface 1.10 initialized
Oct 13 18:38:07 bluetoothd[27934]: Invalid characteristic flag: authorize
Oct 13 18:38:07 bluetoothd[27934]: Failed to parse characteristic properties
Oct 13 18:38:07 bluetoothd[27934]: No valid external GATT objects found
from bluez.
@dhoomakethu are you sure you are running with a version of bluetoothd that does support authorize flags?
You could try using bluetoothctl:
menu gatt
register-service..
register-characteristic <Flags=read,write,notify...> [handle]
Under flags set the flags you want. Btw, tipically authorize is only used for qualification purpose, since PTS want to test an specific error can be generated, usually apps can do the authorization implicitly during the operation.
from bluez.
Thanks @Vudentz , the version of bluez was not supporting authorize
so had to upgrade the bluez. I was trying to find the scenario in which this part of the code is hit, so was wild guessing using encrypt-auth-read
or read
should help me with it.
from bluez.
Related Issues (20)
- Bluez does not with Ubuntu 24.04 HOT 7
- 5.71 BLE Mice Stall after Idling for 2 seconds HOT 1
- Can't connect the honor earbuds lite 2.
- DBus connected property changed to false but bluetooth connection still valid HOT 4
- Manufacture data fails when exceeding 31 bytes (BLE 5.x EA)
- Advertising interval (min/max) ignored with experimental option HOT 4
- bluez 5.75 ds4 controller not recognized in steam
- Bluetooth keyboard reconnects after disconnecting, but key presses don't register HOT 3
- Unexpected result from build option '--enable-nfc' HOT 4
- bluetoothd crashes sometimes when reconnecting my Bluetooth keyboard HOT 3
- BAP Unicast issue HOT 2
- bluez-daemon crashed, segment error HOT 2
- Remove of remote LE OOB data HOT 2
- no input from gamepad HOT 1
- >=bluez-5.72 fail to build with musl-1.2.5: tools/hex2hcd.c:305:18: error: call to undeclared function 'basename' HOT 1
- No Bluetooth devices connecting HOT 1
- Cannot access org.bluez.obex.* DBus objects
- [5.72] BlueZ repeatedly rejects Connection Parameter Update HOT 25
- Phantom gamepad devices in /dev after disconnecting HOT 8
- Bluetooth not working HOT 20
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bluez.