Go to advanced search

by Douglas6
Sat Mar 21, 2020 11:08 pm
Forum: Troubleshooting
Topic: RPI4 - bluetooth not available at all
Replies: 11
Views: 2692

Re: RPI4 - bluetooth not available at all

Have you re-installed BlueZ? If so, you're going to want to re-install pi-bluetooth. If not, and you're running stock Raspbian, you may have a hardware problem. Hciuart should run without error out-of-the-box.
by Douglas6
Sun Mar 08, 2020 5:42 pm
Forum: Raspberry Pi OS
Topic: Raspbian buster bluetooth failure after 2019.09.16 update
Replies: 66
Views: 9561

Re: Raspbian buster bluetooth failure after 2019.09.16 update

See if this post helps you to enable SPP on the Pi: https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=143442&hilit=etc%2Fsystemd%2Fsystem%2Fdbus+org.bluez.service#p947185. After adding SPP, you should be able to connect from a Bluetooth serial app on the phone. You can use Minicom as a serial ...
by Douglas6
Sat Mar 07, 2020 4:14 pm
Forum: Raspberry Pi OS
Topic: Raspbian buster bluetooth failure after 2019.09.16 update
Replies: 66
Views: 9561

Re: Raspbian buster bluetooth failure after 2019.09.16 update

With an Android phone, you could use Bluetooth's Serial Port Profile to exchange serial data, however, you'll need to add it manually to your Pi (instructions exist on this forum.) IOS doesn't support SPP, so you're out of luck on iPhones. It's a good situation to use BLE, but might be a steeper lea...
by Douglas6
Sat Mar 07, 2020 1:25 pm
Forum: Troubleshooting
Topic: Bluetooth device names
Replies: 5
Views: 373

Re: Bluetooth device names

I was referring to bluetoothctl. Remember, an hcitool scan will only find classic Bluetooth devices, while bluetoothctl will find BLE devices as well.
by Douglas6
Sat Mar 07, 2020 12:50 pm
Forum: Troubleshooting
Topic: Bluetooth device names
Replies: 5
Views: 373

Re: Bluetooth device names

In bluetoothctl, the friendly name may take a few seconds to register. It's easy to lose it among the RSSI information.
by Douglas6
Sat Mar 07, 2020 3:26 am
Forum: Beginners
Topic: BlueDot with Raspberry Pi4 [SOLVED]
Replies: 10
Views: 593

Re: BlueDot with Raspberry Pi4

And what is output by the Python script?

Mr.Ohanlon used to check in here, he may yet pop up.
by Douglas6
Fri Mar 06, 2020 4:42 pm
Forum: Beginners
Topic: BlueDot with Raspberry Pi4 [SOLVED]
Replies: 10
Views: 593

Re: BlueDot with Raspberry Pi4

Do you have a Blue Dot application (such as the sample app) running when you try to connect from the phone?
by Douglas6
Thu Mar 05, 2020 10:39 pm
Forum: General discussion
Topic: Bluetooth remote photo
Replies: 3
Views: 165

Re: Bluetooth remote photo

I'm afraid I can't be more helpful without knowing more about your setup. I still don't know the make/model of the device, whether it's using BLE or classic Bluetooth, what protocols/services you hope to use, etc. In addition, a bluetoothctl transcript could be useful. I suspect a Python solution mi...
by Douglas6
Thu Mar 05, 2020 5:26 pm
Forum: General discussion
Topic: Bluetooth remote photo
Replies: 3
Views: 165

Re: Bluetooth remote photo

I think you'll need to do some programming. How are the devices connected? What are you seeing in bluetoothctl?
by Douglas6
Tue Mar 03, 2020 1:56 pm
Forum: Troubleshooting
Topic: I can't pair to my bluetooth headphones
Replies: 1
Views: 73

Re: I can't pair to my bluetooth headphones

Are the headphones in 'discoverable mode' when you try to pair them? What make/model of headphones?
by Douglas6
Sat Feb 29, 2020 7:53 pm
Forum: Networking and servers
Topic: RPi Bluetooth UUID
Replies: 6
Views: 450

Re: RPi Bluetooth UUID

The beacon examples will demonstrate advertising, but will not set up services.
by Douglas6
Sat Feb 29, 2020 6:29 pm
Forum: Networking and servers
Topic: RPi Bluetooth UUID
Replies: 6
Views: 450

Re: RPi Bluetooth UUID

I wrote a sample "GATT server" in Python, based on BlueZ sample code: https://github.com/Douglas6/cputemp.

There should also be some examples in the Bluepy documentation (a BLE library for Python.)
by Douglas6
Sat Feb 29, 2020 4:19 pm
Forum: Networking and servers
Topic: RPi Bluetooth UUID
Replies: 6
Views: 450

Re: RPi Bluetooth UUID

The UUID doesn't belong to BLE, it belongs to a service or characteristic running on the device. The Pi is not by default running any BLE services, nor is it advertising, so there is nothing to be seen by a remote device. You will need to start a BLE service on the Pi, then advertise it, before anot...
by Douglas6
Mon Feb 24, 2020 4:02 pm
Forum: Troubleshooting
Topic: RFCOMM can't connect bluetooth gps at boot
Replies: 6
Views: 289

Re: RFCOMM can't connect bluetooth gps at boot

Is the GPS device up and running when the Pi boots? If you can't guarantee that, better to use 'bind' instead of 'connect' in the service unit.

Double check your work. I run rfcomm as a service all the time, no special considerations.
by Douglas6
Wed Feb 19, 2020 4:59 pm
Forum: Python
Topic: Bluetooth RSSI
Replies: 10
Views: 2865

Re: Bluetooth RSSI

Did you install Bluepy for the version of Python you are using?
by Douglas6
Wed Feb 19, 2020 4:36 pm
Forum: Advanced users
Topic: Sending data between two Pis using built-in BLE
Replies: 3
Views: 224

Re: Sending data between two Pis using built-in BLE

However, I uderstand that I need to include a new GATT service to the peripheral and add characteristics that will be read by the central, correct?
That's what you'll do in your code. Noble and Bleno are a good choice for this, and should have some examples.
by Douglas6
Sat Feb 01, 2020 3:40 am
Forum: Beginners
Topic: Bluetooth Keyboard
Replies: 2
Views: 595

Re: Bluetooth Keyboard

If you check the requirements of your keyboard, I think you'll find Apple OSs listed.
by Douglas6
Thu Jan 30, 2020 2:23 pm
Forum: General discussion
Topic: Not sure where to start to make my prototype real
Replies: 24
Views: 1562

Re: Not sure where to start to make my prototype real

No need to limit power, just test the RSSI.
by Douglas6
Wed Jan 29, 2020 9:34 pm
Forum: General discussion
Topic: Not sure where to start to make my prototype real
Replies: 24
Views: 1562

Re: Not sure where to start to make my prototype real

BLE 'finder' tags might be an option for items that don't need their own phone, like an umbrella. BTW, many phones can't act as BLE peripherals, and so might not be useful.

If you can get a local weather report on the Pi, it might be useful to remind you to take that umbrella.
by Douglas6
Tue Jan 28, 2020 1:47 am
Forum: Troubleshooting
Topic: Trouble getting bluetooth speaker to speak...
Replies: 1
Views: 148

Re: Trouble getting bluetooth speaker to speak...

First of all, Bluetooth streaming on the newer versions of Raspbian doesn't use PulseAudio, so uninstall that. Look for a modern guide to streaming that references BlueALSA.

(I wonder how many more years this advice will be required. Job security, I guess.)
by Douglas6
Sat Jan 25, 2020 2:47 pm
Forum: General discussion
Topic: Bluetooth Audio
Replies: 4
Views: 407

Re: Bluetooth Audio

You have logged out/in since adding the groups (a reboot never hurts)? Sorry, nothing else comes to mind.
by Douglas6
Fri Jan 24, 2020 6:14 pm
Forum: General discussion
Topic: Bluetooth Audio
Replies: 4
Views: 407

Re: Bluetooth Audio

Sounds like the new user is missing the 'audio' group. Double check
by Douglas6
Thu Jan 23, 2020 3:12 am
Forum: General discussion
Topic: Non responsive BlueDot when nested functions - python 3.7
Replies: 1
Views: 152

Re: Non responsive BlueDot when nested functions - python 3.7

The problem is almost assuredly not with Blue Dot or the OS. It is up to you as the programmer what to do in these cases. For example, if 'down' is pressed, and then 'up', should the 'down' function be terminated? If 'down' is pressed and then 'right', should 'down' be continued and 'right' added to...
by Douglas6
Thu Jan 23, 2020 2:22 am
Forum: C/C++
Topic: Bluez to read beacon raw data
Replies: 2
Views: 466

Re: Bluez to read beacon raw data

I've used the Python library bluepy, I couldn't tell you if it exposes 'the whole' of the advertising data. What are you looking for? The best source of information on using BlueZ with C is the BlueZ source code at https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/tools. Actually, I'm not a 'r...
by Douglas6
Mon Jan 20, 2020 2:59 am
Forum: Off topic discussion
Topic: algorithms and ethics at the Barbershop
Replies: 37
Views: 2706

Re: algorithms and ethics at the Barbershop

Gavinmc42 wrote:
Mon Jan 20, 2020 2:41 am
The movie just released "Mercy", I don't need to watch it to guess what that is about.
I'm saying AI's could help make it better not worse.
This is what scares me, to the core.

Go to advanced search