Timeline for BlueZ Profile RequireAuthentication=False not working when trying to initiate connection without pairing
Current License: CC BY-SA 4.0
10 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jan 5, 2022 at 7:33 | answer | added | ukBaz | timeline score: 2 | |
Jan 5, 2022 at 1:42 | comment | added | nreh | @ukBaz I've updated my question - I think I found an odd solution but I don't understand why it works, I'd be very grateful if you could give insight on that. | |
Jan 5, 2022 at 1:41 | history | edited | nreh | CC BY-SA 4.0 |
Solution!?
|
Jan 4, 2022 at 23:19 | comment | added | nreh | @ukBaz I tried something similar using sockets in Python but I can't get those to run on Windows | |
Jan 4, 2022 at 23:19 | comment | added | nreh |
@ukBaz I don't think the UUID should matter but just incase I changed it and it seemed to work exactly the same. As for sudo btmon I did not know this existed and it really helped, I've posted the results in the update.
|
|
Jan 4, 2022 at 21:28 | history | edited | nreh | CC BY-SA 4.0 |
btmon output
|
Jan 4, 2022 at 12:40 | answer | added | petzval | timeline score: 1 | |
Jan 4, 2022 at 7:30 | comment | added | ukBaz | Did you try the Python client on Windows as I did in my testing? | |
Jan 4, 2022 at 7:11 | comment | added | ukBaz |
I noticed that you have changed the UUID from 00001101-0000-1000-8000-00805f9b34fb to a custom value. I'm not sure it is that simple to define a custom profile in Bluetooth Classic. I thought the UUID had special meaning allowing the systems to know it was a Serial Port Profile and would setup the communication accordingly. Bluetooth Classic is not an area I am overly familiar with so I could be wrong. Is there anything in the logs showing what type of connection it is trying to form? FYI: If you use sudo btmon on Linux you can write the output to a file which can be read by wireshark
|
|
Jan 4, 2022 at 6:18 | history | asked | nreh | CC BY-SA 4.0 |