Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm struggling to get my new laptop with a BT5.0 module (Intel) to talk to a Nordic custom device. I have set up custom services and characteristics on the Nordic. Using Qt and laptops with Bluetooth 4.0 and 4.2 modules work very nicely. However, a new laptop with the BT5.0 module will not communicate well at all.
I have written a Qt program to scan and connect to LE devices which isn't working properly, so I am trying to use bluetoothctl to see whether the issue might lay with Qt and not Bluez. However, although I can connect to my Noric device I can't work out how to have it list available services and from those services any characteristics.
I have seen one site say use list-attributes, but I am told in main menu this is an invalid command.
BTW, hcitool does not work any more. I have a laptop running Mageia 6 that will work with hcitool lescan, but with Mageia 7 and a more up to date Bluez it will not.
Is it the case that Bluetooth 5.0 simply doesn't work with Linux? If it does work, how do I use bluetoothctl to find the Nordic device, connect to it, then list its services and characteristics please? If I can do that I can maybe confirm it's either a Bluez issue or a Qt issue.
An Android phone with a BT5 module will talk to tmy Nordic device.
Sorry, I don't understand what you are saying. What official site? You had the same problem?
That post is probably a set-up for the spam post that quoted it...I've reported the latter.
Back to the topic. I don't know the answer, but you seem to be asking the right question...That is, are there issues with Bluetooth 5.0 on Mageia 7?
Quote:
BTW, hcitool does not work any more. I have a laptop running Mageia 6 that will work with hcitool lescan, but with Mageia 7 and a more up to date Bluez it will not.
"Does not work anymore" isn't a useful problem description. Please elaborate.
What happens when you try to run hcitool?
That post is probably a set-up for the spam post that quoted it...I've reported the latter.
Back to the topic. I don't know the answer, but you seem to be asking the right question...That is, are there issues with Bluetooth 5.0 on Mageia 7?
"Does not work anymore" isn't a useful problem description. Please elaborate.
What happens when you try to run hcitool?
I have, essentially, given up on this for the now. I had to mod the code to see the attributes, but even once I'd done that, the speed was way down compared to 4.2.
I then used a Windows machine with a USB BT5 dongle and it is a fast as the Linux machine with 4.2. As the end custom, bless them, will only use Windows there's not been the effort to find out the issue. I could try the BT5 dongle on my Linux desktop I suppose if we needed to track it down further.
As the moment it maght be Linux, Bluez, Mageia or BT5 or some combination of them all.
I can't remember what the issue was with hcitool any more I'm afraid. Thanks for the suggestions though.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.