LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 07-19-2019, 11:27 AM   #1
DiBosco
Member
 
Registered: Nov 2001
Location: Manchester, UK
Distribution: Mageia
Posts: 807

Rep: Reputation: 40
Bluetooth 5.0 problems (development)


Folks,

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.

Many thanks.

Last edited by DiBosco; 07-19-2019 at 11:48 AM.
 
Old 07-22-2019, 03:58 PM   #2
DiBosco
Member
 
Registered: Nov 2001
Location: Manchester, UK
Distribution: Mageia
Posts: 807

Original Poster
Rep: Reputation: 40
Quote:
Originally Posted by hukiwani View Post
First of all go dissucs this problem with the official site so they will try to fix this.. Same problem and solve this with in 24 hours.
Sorry, I don't understand what you are saying. What official site? You had the same problem?
 
Old 10-28-2019, 06:18 PM   #3
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,727

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
Quote:
Originally Posted by DiBosco View Post
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?
 
Old 10-28-2019, 07:11 PM   #4
jefro
Moderator
 
Registered: Mar 2008
Posts: 21,980

Rep: Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624Reputation: 3624
Posting links to junk will get you banned next time you guys. wariswala hukiwani

Last edited by jefro; 10-28-2019 at 09:28 PM.
 
Old 10-28-2019, 07:46 PM   #5
scasey
LQ Veteran
 
Registered: Feb 2013
Location: Tucson, AZ, USA
Distribution: CentOS 7.9.2009
Posts: 5,727

Rep: Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211Reputation: 2211
...

Last edited by scasey; 10-28-2019 at 09:46 PM.
 
Old 10-29-2019, 05:13 AM   #6
DiBosco
Member
 
Registered: Nov 2001
Location: Manchester, UK
Distribution: Mageia
Posts: 807

Original Poster
Rep: Reputation: 40
Quote:
Originally Posted by scasey View Post
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.
 
  


Reply

Tags
bluetooth low energy, bluetoothctl, bluetootth 5.0, qt



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] bluetooth dongle + bluetooth speaker but no sound on the bluetooth speaker vonbiber Slackware 4 05-11-2017 09:53 AM
KDE and Bluetooth "Bluetooth is not completely enabled" herby1620 Linux - Desktop 1 10-25-2016 03:07 AM
pithos - gstreamer trying to use bluetooth when no bluetooth device is installed shadowsnipes Slackware 0 10-30-2010 11:11 AM
Bluetooth Dongle and Bluetooth Mouse... Any ideas on this one? flipjarg Linux - Newbie 1 07-14-2010 07:04 AM
Bluetooth not working on FC6 with Targus USB bluetooth adapter mikevicious Linux - Software 1 12-11-2009 09:03 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:37 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration