CharlieE
Posts: 14
Joined: Sun Apr 05, 2015 12:23 am

Bluetooth states No usable services

Mon Jun 20, 2016 7:24 pm

Last spring (18 months ago) I had bluetooth working with my bluetooth dongle from Python. That was a B+. Since then I bought a pi2 with 7 inch touchscreen. I have bluetoth problems.

Here is how I built my system:

Downloaded under windows the 4.4.11-v7+ #888 from the donwload page. Copied to SD and booted sytem.

Then did the normal apt-get update and ugrade and autoremove and reboot
Set up my wifi and installed xrdp.
Added pi to lp group.

I have the blue icon on the taskbar.

At this point I can pair with the bluetooth device, but it states that:
no usable services are available for the raspberry pi.

I did a apt-get install of raspberrypi-sys-mods
system said already had newest version.

As a reference, 18 months ago I had installed bluetooth, bluez-utils and blueman. I have not installed those packages on this version yet thinking it might mess up the standard bluetooth software in this version.

The problem is not with the raspberry pi 7 in monitor. I replicated the problem on my other pi without the screen.

right now, it pairs but states no usable services available.

Thoughts, suggestions an direction I might take from here?

User avatar
Douglas6
Posts: 4710
Joined: Sat Mar 16, 2013 5:34 am
Location: Chicago, IL

Re: Bluetooth states No usable services

Mon Jun 20, 2016 7:31 pm

What are you trying to pair with, and what for?

CharlieE
Posts: 14
Joined: Sun Apr 05, 2015 12:23 am

Re: Bluetooth states No usable services

Mon Jun 20, 2016 7:36 pm

I'm pairing with an OBDC ELM327 dongle to get automobile diagnostics into a Python program (obd-pi) It provides serial communication via bluetooth. 18 months ago my trace code showed that the port name was /dev/rfcomm0 and it opened successfully. I never saw the current error message after pairing.

CharlieE
Posts: 14
Joined: Sun Apr 05, 2015 12:23 am

Re: Bluetooth states No usable services

Mon Jun 20, 2016 7:51 pm

A little more detail if this helps:

pi@raspberrypi:~ $ lsusb
Bus 001 Device 004: ID 0bda:8176 Realtek Semiconductor Corp. RTL8188CUS 802.11n WLAN Adapter
Bus 001 Device 005: ID 0a5c:21e8 Broadcom Corp. BCM20702A0 Bluetooth 4.0
Bus 001 Device 003: ID 0424:ec00 Standard Microsystems Corp. SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Standard Microsystems Corp.
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub


pi@raspberrypi:~ $ hciconfig
hci0: Type: BR/EDR Bus: USB
BD Address: 00:02:72:D9:F2:7A ACL MTU: 1021:8 SCO MTU: 64:1
UP RUNNING
RX bytes:918 acl:0 sco:0 events:43 errors:0
TX bytes:1383 acl:0 sco:0 commands:43 errors:0

pi@raspberrypi:~ $ uname -a
Linux raspberrypi 4.4.11-v7+ #888 SMP Mon May 23 20:10:33 BST 2016 armv7l GNU/Linux

pi@raspberrypi:~ $ bluetoothctl
[NEW] Controller 00:02:72:D9:F2:7A raspberrypi [default]
[NEW] Device BC:23:E0:82:5C:6A KONNWEI OBDII

User avatar
Douglas6
Posts: 4710
Joined: Sat Mar 16, 2013 5:34 am
Location: Chicago, IL

Re: Bluetooth states No usable services

Mon Jun 20, 2016 8:54 pm

You'll probably need to add the Serial Port Profile; see this post: viewtopic.php?p=947185#p947185

Then you'll need to connect to the device (unless it makes the connection), with 'rfcomm connect', I guess. That should give you a /dev/rfcomm0 device you can talk to.

CharlieE
Posts: 14
Joined: Sun Apr 05, 2015 12:23 am

Re: Bluetooth states No usable services

Wed Jun 22, 2016 1:28 am

I'm still having the problem. I tried adding the SP profile to the pi. I never could get the rfcomm0 in /dev/

So, I fell back and did another clean install from a full download and set everything up being careful not to install any additional bluetooth software. This is the question I have for now. With a clean install, a get a blue bluetooth icon in the task bar. I assume that is the icon for the bluetooth manager. When I click on that icon I only get three options in the drop down list:
1. Make discoverable
2. Add Device
3. Remove Device
When I select the add device option I get a searching window and it finds my KONNWEI ODBII device.
When I select the device it asks for a pair and prompts for the key. I enter the key and it states that the device is paired successfully but this device has no services which can be used by the raspberry pi.
At no point to I see any way to "trust" this device.

This is not the bluetooth manager that I remember from last year. It had a full dialog to add a device with connect and trust options.

Any more suggestions. Is it possible to remove all the bluetooth software from the May release and go back to installing what I did 15 months ago.(that was bluetooth, bluez-utils, and blueman).

Where do I go from here?

Tha-Z
Posts: 3
Joined: Mon Mar 07, 2016 7:42 pm

Re: Bluetooth states No usable services

Thu Jul 07, 2016 10:09 pm

I have the same problem with RP3.
I have 2 bluetooth icons in the systray :roll:

I can pair succesfull, but no services available.

Due to the fact that the BT is internally in de RP3, should I install extra BT software added to the lastest Rasbian Jessie or NOT ?

User avatar
Douglas6
Posts: 4710
Joined: Sat Mar 16, 2013 5:34 am
Location: Chicago, IL

Re: Bluetooth states No usable services

Thu Jul 07, 2016 10:20 pm

Tha-Z wrote:should I install extra BT software added to the lastest Rasbian Jessie or NOT ?
Nope, you have everything you need. You can uninstall blueman to remove one of the icons. What did you want to do with Bluetooth?

Tha-Z
Posts: 3
Joined: Mon Mar 07, 2016 7:42 pm

Re: Bluetooth states No usable services

Fri Jul 08, 2016 6:06 pm

Hi,

Thanks, I want a connection with my BT adaptor in the OBD port (diagnostics) of my car.

On the net I found this to do so:
Pair + Trust your ELM327 Bluetooth Adapter and Connect To: SPP Dev.
You should see the Notification "Serial port connected to /dev/rfcomm0"

I never see a line: SPP Dev
to connect to

Second problem is the composite video output is going to my Pioneer F40BT nav. radio
with 1440x235pixels LCD screen. But the image is not really clear.
p.e. the clock is a bit fuzzy and hard to read. Is there any solution to use the composite output in the right way ?

hitron123
Posts: 1
Joined: Sun Jul 17, 2016 12:09 pm

Re: Bluetooth states No usable services

Sun Jul 17, 2016 12:21 pm

i am also trying to connect rpi bluetooth with the bluetooth interfaced with arduino for IOT application but got stuck at this point no usable service availble.
Any suggestion or advice would be appreciable
Thanks

PixelDragons
Posts: 1
Joined: Sun Jul 24, 2016 1:11 am

Re: Bluetooth states No usable services

Sun Jul 24, 2016 1:48 am

I have the same problem. I am trying to connect my phone through bluetooth to control the gpio pins.

User avatar
Douglas6
Posts: 4710
Joined: Sat Mar 16, 2013 5:34 am
Location: Chicago, IL

Re: Bluetooth states No usable services

Sun Jul 24, 2016 3:52 am

As I mentioned earlier in this thread, see instructions here: viewtopic.php?p=947185#p947185

Chris VMLabs
Posts: 1
Joined: Sat Sep 16, 2017 7:21 am

Re: Bluetooth states No usable services

Sat Sep 16, 2017 7:26 am

I still have this problem on a R-Pi3 running Raspbian installed from the 2017-07-05-raspbian-jessie image. I was trying to pair my Logitech Triathlon M720 using Bluetooth. It paired successfully but said no service. As a result, the mouse could not be used. Anyone has a solution?

gugary
Posts: 1
Joined: Mon Dec 04, 2017 8:23 pm

Re: Bluetooth states No usable services

Mon Dec 04, 2017 8:46 pm

Hello!

I'm facing the same problem as reported above. I have everything brand-new: pi 3 and NOOBS and I have not installed anything else.

What I'm trying to do is to connect my MacBook Pro to the pi 3 via the built-in Bluetooth in order to start a terminal. At the moment, I can connect to the pi 3 using wifi, but there are situations where I do not have wifi and I wish to still have access to the pi 3 through my macBook Pro.

Image

Image

Image

Please help! let me know if more info is needed. Thank you!

Nick.Vazquez
Posts: 1
Joined: Sat Jan 20, 2018 7:37 pm

Re: Bluetooth states No usable services

Sat Jan 20, 2018 7:40 pm

I am having the same issue. My OBD adapter will pair and connect for a second and then disconnect. I followed the instructions posted, but they did not work for me. Any fixes?

User avatar
Douglas6
Posts: 4710
Joined: Sat Mar 16, 2013 5:34 am
Location: Chicago, IL

Re: Bluetooth states No usable services

Sat Jan 20, 2018 10:23 pm

Without knowing what you have done, it's impossible to say. The above posts reference connecting a mouse, connecting a PC, and now you are trying to connect an OBDII device. Not 'the same issue'.

Basically, these are steps to connecting the Pi to a Bluetooth serial device:
1. Enable the Serial Port Profile on the Pi.
2. Pair and trust the Pi with the remote serial device.
3. Run an rfcomm session to create a virtual serial port.
4. Open and use the port to communicate with the remote device, using picocom, minicom, or the programming language of your choice.

There are more specific instructions scattered throughout this forum. I have done it myself dozens of times, so I know it works, no 'fixes' required.

ZetaChow
Posts: 1
Joined: Fri Jul 19, 2019 9:10 am

Re: Bluetooth states No usable services

Fri Jul 19, 2019 9:18 am

1. If you try to connect to your mobilephone with raspberry pi, it will always show this error, because the phone is always be central and does not provide service.

2. if you try to connect other raspberry pi , must run `sudo rfcomm watch hci0` on the other raspberry pi。

User avatar
Douglas6
Posts: 4710
Joined: Sat Mar 16, 2013 5:34 am
Location: Chicago, IL

Re: Bluetooth states No usable services

Fri Jul 19, 2019 12:53 pm

1. Not true. Classic Bluetooth has no central/peripheral concept. And of course you can connect a Pi to a phone for audio streaming, serial communications, file transfer etc.

2. Generally true for serial communications. Other rfcomm commands may be used.

Return to “General discussion”