LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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: 773

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-20-2019, 04:36 PM   #2
hukiwani
LQ Newbie
 
Registered: Jul 2019
Posts: 2

Rep: Reputation: Disabled
Quote:
Originally Posted by DiBosco View Post
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 of all results 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.
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.
 
Old 07-22-2019, 03:58 PM   #3
DiBosco
Member
 
Registered: Nov 2001
Location: Manchester, UK
Distribution: Mageia
Posts: 773

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?
 
  


Reply

Tags
bluetooth low energy, bluetoothctl, bluetootth 5.0, qt


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 10:04 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration