Replies: 3 comments 1 reply
-
Could you set the Also note that some options like You can also set |
Beta Was this translation helpful? Give feedback.
-
That is because Classic HID UUID is registered by input plugin: https://github.com/bluez/bluez/blob/master/profiles/input/manager.c#L45 So you will need to disable input plugin if you want to claim that UUID. Anyway, Classic HID profile can be considered deprecated since the introduction of HID over GATT, so I strongly recommend registering that instead. |
Beta Was this translation helpful? Give feedback.
-
Thank you for your prompt response, @surban and @Vudentz! You're absolutely right, @surban—I forgot to include the recording of the custom services in the XML file. @Vudentz, I noticed that changing just a single byte in the UUID resolves the error. Could you advise on the proper way to deactivate the plugin as you mentioned? Would creating a new agent with empty services help avoid the collision? What would you recommend, @surban and @Vudentz? I would like to have a single service which would be the HID profile. Also, @Vudentz, I’m not sure if you’ve seen my earlier note: I’m working on rewriting a proof of concept (PoC) to exploit a vulnerability specific to Bluetooth BR/EDR technology. Final question for you @surban, is there a way to customize the class of my adapter/session thanks to our blueR crate ? |
Beta Was this translation helpful? Give feedback.
-
Hi everyone!
I hope you're all doing great.
I'm new here and want to start by thanking you for creating this fantastic crate! 😊
I'm currently working on rewriting the Bluetooth PoC "hi_my_name_is_keyboard" in Rust.
In this PoC, Marc Newlin registers an HID profile and records the available services.
When I'm attempting to do the same in Rust, i have an error which says :
Error { Kind: NotPermitted, message: "UUID already registered" }
. I don't see how is that possible because i haven't registered any UUID and by default i don't have it listed in my bluetooth services.Here is a snippet of my code :
Thank you in advance for your help.
Have a great day !
Beta Was this translation helpful? Give feedback.
All reactions