Go to advanced search

by Douglas6
Tue Aug 13, 2019 8:34 pm
Forum: Advanced users
Topic: Bluetooth pairing using fixed PIN on bluez 5.
Replies: 37
Views: 9273

Re: Bluetooth pairing using fixed PIN on bluez 5.

I posted an issue on the github about 10 days ago: https://github.com/raspberrypi/linux/issues/3119.

No response as of this writing.
by Douglas6
Sun Aug 11, 2019 7:14 pm
Forum: Other
Topic: Can't turn on the Bluetooth on Kali Linux
Replies: 5
Views: 2440

Re: Can't turn on the Bluetooth on Kali Linux

Actually, I believe SAP is used to access a remote SIM card, but same result; just not needed on the Pi.

And yes, a Kali forum might be more appropriate. Just because the Bluetooth service is up, doesn't mean it can talk to the adapter. Raspbian solutions might not work on Kali.
by Douglas6
Sun Aug 11, 2019 5:57 pm
Forum: Other
Topic: Can't turn on the Bluetooth on Kali Linux
Replies: 5
Views: 2440

Re: Can't turn on the Bluetooth on Kali Linux

That screenshot is telling you that bluetoothd is up and running. What's the problem? (You can safely ignore the warnings about SAP.)
by Douglas6
Mon Aug 05, 2019 1:40 pm
Forum: Troubleshooting
Topic: RPi 4 Bluetooth Not Connecting to Android Phone
Replies: 3
Views: 236

Re: RPi 4 Bluetooth Not Connecting to Android Phone

I've written up a quick guide on how to set up the Pi as an audio sink. I think this will work best as your 'trusted device'. https://www.raspberrypi.org/forums/view ... 8&t=247892
by Douglas6
Mon Aug 05, 2019 1:24 pm
Forum: Graphics, sound and multimedia
Topic: [Guide] Stream audio to the Raspberry Pi over Bluetooth
Replies: 10
Views: 782

[Guide] Stream audio to the Raspberry Pi over Bluetooth

Here's a quick guide to streaming audio to a Raspberry Pi over Bluetooth. PulseAudio is not required or desired. If you want your Pi to act as an audio sink, that is, to act as a Bluetooth speaker, follow the steps. 1. Unpair your Pi. Use bluetoothctl to remove any pairings it may have. On your phon...
by Douglas6
Sun Aug 04, 2019 9:40 pm
Forum: Troubleshooting
Topic: RPI4 - bluetooth not available at all
Replies: 8
Views: 421

Re: RPI4 - bluetooth not available at all

I'm running a recent Buster, recently upgraded, on a Pi4. No problems with Bluetooth or WiFi. So possibly not a hardware or OS issue.
by Douglas6
Sun Aug 04, 2019 6:59 pm
Forum: General discussion
Topic: Using the raspberry pi in a game
Replies: 13
Views: 484

Re: Using the raspberry pi in a game

I would doubt that also. Easier and cheaper to simply ban you from the forums.
by Douglas6
Sun Aug 04, 2019 6:09 pm
Forum: Troubleshooting
Topic: RPi 4 Bluetooth Not Connecting to Android Phone
Replies: 3
Views: 236

Re: RPi 4 Bluetooth Not Connecting to Android Phone

No, it has nothing to do with Bluetooth 5. I was able to use my Pi as a 'trusted device' over the SPP profile, but there's a problem. The two devices need to be connected for the smart unlock function to work. But since the Pi can't connect to the phone over SSP, you would need to unlock the phone t...
by Douglas6
Sun Aug 04, 2019 1:36 pm
Forum: Networking and servers
Topic: How to connect 2 raspberry pi's via bluetooth
Replies: 9
Views: 399

Re: How to connect 2 raspberry pi's via bluetooth

Doesn't matter. Serial is serial. Use PySerial and the /dev/rfcomm0 device. You'll probably want to replace the 'rfcomm connect' command with 'rfcomm bind' and make the connection in your code.
by Douglas6
Sun Aug 04, 2019 4:18 am
Forum: Networking and servers
Topic: How to connect 2 raspberry pi's via bluetooth
Replies: 9
Views: 399

Re: How to connect 2 raspberry pi's via bluetooth

Research serial communications. Basically, you'll want to open a connection, and then write and read between the Pis. Pretty simple, really. You haven't mentioned your preferred coding language, so details are hard to specify.
by Douglas6
Fri Aug 02, 2019 6:39 pm
Forum: Advanced users
Topic: Bluetooth pairing using fixed PIN on bluez 5.
Replies: 37
Views: 9273

Re: Bluetooth pairing using fixed PIN on bluez 5.

mbezerril wrote:
Fri Aug 02, 2019 6:20 pm
Maybe some problem with BLE? Maybe some problem with new blueooth protocols on android 9? :?
It has nothing to do with BLE. Could easily be Android 9.
by Douglas6
Fri Aug 02, 2019 3:21 pm
Forum: Troubleshooting
Topic: Post a bug report on Bluetooth pairing with SSP disabled
Replies: 2
Views: 133

Re: Post a bug report on Bluetooth pairing with SSP disabled

Thank you, sir. I suspect the firmware, but what do I know. I'll start there, thanks again.

[EDIT: Ha, guess not. Phil Elwell was very quick to snarkily point out I was in the wrong place. Posted to Raspbian Linux instead.]
by Douglas6
Fri Aug 02, 2019 3:19 pm
Forum: Networking and servers
Topic: How to connect 2 raspberry pi's via bluetooth
Replies: 9
Views: 399

Re: How to connect 2 raspberry pi's via bluetooth

In a terminal, open bluetoothctl. It should immediately list all paired devices by address. You can get more information by entering 'info <bdaddr>'. You can exit bluetoothctl with 'exit'.
by Douglas6
Fri Aug 02, 2019 2:54 pm
Forum: Networking and servers
Topic: How to connect 2 raspberry pi's via bluetooth
Replies: 9
Views: 399

Re: How to connect 2 raspberry pi's via bluetooth

On the slave Pi do 'sudo rfcomm watch hci0'. On the master Pi do 'sudo rfcomm connect hci0 <bdaddr>', where <bdaddr> is the Bluetooth device address of the slave Pi. You should get a response saying that a connection has been made. Leave those two terminal windows open. In another window you should ...
by Douglas6
Fri Aug 02, 2019 12:26 am
Forum: General discussion
Topic: How to setup Raspberry Pi 3 Bluetooth Serial Port
Replies: 12
Views: 10083

Re: How to setup Raspberry Pi 3 Bluetooth Serial Port

Unknown what OS the previous poster is running, but under recent versions of Raspbian, there is no need to be a member of the 'bluetooth' group, if using the default 'pi' user.
by Douglas6
Wed Jul 31, 2019 11:29 pm
Forum: Troubleshooting
Topic: Post a bug report on Bluetooth pairing with SSP disabled
Replies: 2
Views: 133

Post a bug report on Bluetooth pairing with SSP disabled

What's the proper way to post a bug report to the Raspbian maintainers? There seems to be a problem with Bluetooth pairing when Secure Simple Pairing is disabled. Several posts on this forum alerted me to the problem (which I can verify): https://www.raspberrypi.org/forums/viewtopic.php?f=29&t=19509...
by Douglas6
Wed Jul 31, 2019 6:03 pm
Forum: Networking and servers
Topic: How to connect 2 raspberry pi's via bluetooth
Replies: 9
Views: 399

Re: How to connect 2 raspberry pi's via bluetooth

What didn't work, and how? Could you repeat the steps you took?
by Douglas6
Tue Jul 30, 2019 10:58 pm
Forum: Troubleshooting
Topic: [solved] Connecting Pi bluetooth to Arduino and HC-05
Replies: 10
Views: 290

Re: [solved] Connecting Pi bluetooth to Arduino and HC-05

Thanks for the tip scruss. A situation I haven't come across.
by Douglas6
Tue Jul 30, 2019 6:48 pm
Forum: Troubleshooting
Topic: [solved] Connecting Pi bluetooth to Arduino and HC-05
Replies: 10
Views: 290

Re: Connecting Bluetooth to Arduino and HC-05

My experience, may not be helpful: 1. I always use SoftwareSerial for the HC-05 on the Arduino. It works great and frees up the hardware serial for programming and debugging. 2. I like to put the the rfcomm command in a systemd service unit on the Pi. That way it's always available. Is the Serial Po...
by Douglas6
Mon Jul 29, 2019 11:59 pm
Forum: Advanced users
Topic: Bluetooth pairing using fixed PIN on bluez 5.
Replies: 37
Views: 9273

Re: Bluetooth pairing using fixed PIN on bluez 5.

Bluetoothctl is failing too, although it fails early, without even asking for the PIN on the Pi-side. I believe this needs to be escalated.
by Douglas6
Mon Jul 29, 2019 11:32 pm
Forum: Advanced users
Topic: Bluetooth pairing using fixed PIN on bluez 5.
Replies: 37
Views: 9273

Re: Bluetooth pairing using fixed PIN on bluez 5.

Ok, thank you for that. I was just trying to do exactly that, but I'm having major problems with my home network. So, I'm quite embarrassed to admit this, but I recently discovered that I had a Bluetooth dongle plugged into my Pi, and all my testing was done over the dongle rather than the on-board ...
by Douglas6
Mon Jul 29, 2019 10:34 pm
Forum: Advanced users
Topic: Bluetooth pairing using fixed PIN on bluez 5.
Replies: 37
Views: 9273

Re: Bluetooth pairing using fixed PIN on bluez 5.

I just noticed something odd. I've never changed the sspmode, as you did. In fact, when I tried, i couldn't: [s]pi@raspberrypi:~ $ sudo hciconfig hci0 sspmode 0 Can't set Simple Pairing mode on hci0: Input/output error (5)[/s] So, there's another odd difference. Could you try setting sspmode back t...
by Douglas6
Mon Jul 29, 2019 9:46 pm
Forum: Advanced users
Topic: Bluetooth pairing using fixed PIN on bluez 5.
Replies: 37
Views: 9273

Re: Bluetooth pairing using fixed PIN on bluez 5.

I can't see how the processor would make a difference. I frankly expect the Zero to give me the same results as the 3B, but there's only one way to know.
by Douglas6
Mon Jul 29, 2019 9:24 pm
Forum: Advanced users
Topic: Bluetooth pairing using fixed PIN on bluez 5.
Replies: 37
Views: 9273

Re: Bluetooth pairing using fixed PIN on bluez 5.

Um, I guess I don't own a Pi0W (just a Pi0). I've put one on order, and I'll give it a run-thru when it arrives, by the weekend.

Go to advanced search