Go to advanced search

by Douglas6
Mon Nov 25, 2019 7:38 pm
Forum: Advanced users
Topic: Is BLE 5 Angle of Address available with the Pi 4?
Replies: 3
Views: 161

Re: Is BLE 5 Angle of Address available with the Pi 4?

Very very very likely no. The older Bluetooth chip and rudimentary antenna are most certainly not capable of Angle of Arrival or Angle of Departure capabilities. My understanding is that the Pi's Bluetooth has no features of Bluetooth 5.0 (and certainly not 5.1 features such as AoA and AoD), except ...
by Douglas6
Thu Nov 07, 2019 2:48 pm
Forum: Beginners
Topic: Trying to get data of a sensor connected via Bluetooth
Replies: 9
Views: 199

Re: Trying to get data of a sensor connected via Bluetooth

That is a BLE device, so the first step is researching how BLE works. You should be able list services and read characteristics using gatttool or bluetoothctl. You can use the Bluepy library with Python for custom programming. If you can get specifics on the services offered by the device, that woul...
by Douglas6
Thu Nov 07, 2019 12:01 pm
Forum: Raspbian
Topic: Raspbian buster bluetooth failure after 2019.09.16 update
Replies: 34
Views: 2657

Re: Raspbian buster bluetooth failure after 2019.09.16 update

I just confirmed: uninstalling BlueZ also masks and deletes hciuart.service. You're going to need to (re)install pi-bluetooth.

Code: Select all

sudo apt install pi-bluetooth 
by Douglas6
Wed Nov 06, 2019 7:36 pm
Forum: General discussion
Topic: Bluetooth transmiision?
Replies: 7
Views: 291

Re: Bluetooth transmiision?

Yes.
I have an Anker SoundCore 2, which I can recommend. But any decent Bluetooth speaker will work. If you're looking for a dongle, any reputable model should work. Avoid cheap Asian knock-offs.
by Douglas6
Tue Nov 05, 2019 7:33 pm
Forum: General discussion
Topic: Maximum of Bluetooth Devices that can be tracked
Replies: 1
Views: 233

Re: Maximum of Bluetooth Devices that can be tracked

Shouldn't be a problem. A BLE scan will find as many devices as it can, if given enough time. Finding the distance, and more so, the location, that will be your problem.
by Douglas6
Sun Nov 03, 2019 1:52 pm
Forum: General discussion
Topic: How to unbind bluetooth device
Replies: 1
Views: 321

Re: How to unbind bluetooth device

You could try releasing it:

Code: Select all

sudo rfcomm release 0
by Douglas6
Thu Oct 24, 2019 8:34 pm
Forum: Automation, sensing and robotics
Topic: send serial monitor data from ESP32 board to Raspberry PI 3 B+ via Bluetooth?
Replies: 9
Views: 2054

Re: send serial monitor data from ESP32 board to Raspberry PI 3 B+ via Bluetooth?

Using a serial communications library (such a PySerial for Python) will give you some added benefits.
by Douglas6
Thu Oct 24, 2019 10:42 am
Forum: Troubleshooting
Topic: How to pair my bluetooth keyboard w/ Pi 4B?
Replies: 2
Views: 189

Re: How to pair my bluetooth keyboard w/ Pi 4B?

The first hurdle is to understand why your adapter is not recognized. What is the result of

Code: Select all

systemctl status hciuart
by Douglas6
Thu Oct 24, 2019 12:33 am
Forum: Automation, sensing and robotics
Topic: send serial monitor data from ESP32 board to Raspberry PI 3 B+ via Bluetooth?
Replies: 9
Views: 2054

Re: send serial monitor data from ESP32 board to Raspberry PI 3 B+ via Bluetooth?

Well then, I would use classic Bluetooth with the SPP. Lots of information on this forum.
by Douglas6
Wed Oct 23, 2019 1:32 am
Forum: General discussion
Topic: Raspberry Pi Cluster Computer?
Replies: 42
Views: 2969

Re: Raspberry Pi Cluster Computer?

Perhaps the reason this question pops up over and over and over again, is because the answer on this forum is never simply "no", as it should be.
by Douglas6
Mon Oct 21, 2019 9:46 pm
Forum: General discussion
Topic: BLE
Replies: 2
Views: 321

Re: BLE

BLE involves much more than simply advertising data.

I posted some sample code for running a GATT server on the Raspberry Pi here: https://github.com/Douglas6/cputemp
by Douglas6
Mon Oct 21, 2019 6:38 pm
Forum: Troubleshooting
Topic: Auto Serial Connection between Raspberry pi zero w's Bluetooth and HC05 bluetooth module
Replies: 2
Views: 177

Re: Auto Serial Connection between Raspberry pi zero w's Bluetooth and HC05 bluetooth module

Here's what I would do. 1. Start rfcomm using a systemd service unit. See here: https://www.raspberrypi.org/forums/viewtopic.php?f=63&t=254104&p=1550791#p1550791 2. Start your program using the same unit, a different unit, or one of the many methods you can find on this forum for starting a program ...
by Douglas6
Mon Oct 21, 2019 2:04 am
Forum: Troubleshooting
Topic: Bluetooth not working after update - need info [obsolete]
Replies: 178
Views: 179697

Re: STICKY: Bluetooth not working after update - need info

I'd recommend you start your own post, rather than attach your issue to a three year-old thread.
by Douglas6
Sun Oct 20, 2019 1:17 pm
Forum: Automation, sensing and robotics
Topic: send serial monitor data from ESP32 board to Raspberry PI 3 B+ via Bluetooth?
Replies: 9
Views: 2054

Re: send serial monitor data from ESP32 board to Raspberry PI 3 B+ via Bluetooth?

If you are still interested in Bluetooth, does the ESP32 do classic Bluetooth, BLE, or both?
by Douglas6
Sat Oct 19, 2019 1:43 pm
Forum: Off topic discussion
Topic: How can I make a Pi0W into a bluetooth server using python?
Replies: 9
Views: 2234

Re: How can I make a Pi0W into a bluetooth server using python?

For classic Bluetooth, yes the 'Bluetooth name' defaults to the machine name. For BLE, my Pi is identified by the local name I assigned to the advertising data, 'Thermometer'. At least, that is how nRF Connect identifies it.
by Douglas6
Sat Oct 19, 2019 1:39 am
Forum: General discussion
Topic: PS3 Bluetooth Headset With Pi4?
Replies: 7
Views: 440

Re: PS3 Bluetooth Headset With Pi4?

A wide range, I imagine, from the guys at BlueZ, to the kernal maintainers, to the Debian developers, to the Raspbian developers, to the BlueALSA guy or the PulseAudio guys, to the end users.

As an end user, you might want to start there.
by Douglas6
Fri Oct 18, 2019 3:22 pm
Forum: General discussion
Topic: PS3 Bluetooth Headset With Pi4?
Replies: 7
Views: 440

Re: PS3 Bluetooth Headset With Pi4?

It's possible the headset only supports the HSP/HFP profiles. The Pi only supports the A2DP profile, as far as I have ever seen.
by Douglas6
Fri Oct 18, 2019 2:05 pm
Forum: Advanced users
Topic: duplicate bluetooth comms
Replies: 4
Views: 701

Re: duplicate bluetooth comms

Bluetooth sniffing cannot be done with a typical Bluetooth adapter. Adafruit has a nifty BLE sniffer device that can probably be connected to the Pi, but is easier to use on a PC or laptop. It has a modified firmware that can catch over the air communications between two other BLE devices. Very hand...
by Douglas6
Fri Oct 18, 2019 12:58 am
Forum: Off topic discussion
Topic: How can I make a Pi0W into a bluetooth server using python?
Replies: 9
Views: 2234

Re: How can I make a Pi0W into a bluetooth server using python?

MarkDH102 wrote:
Thu Oct 17, 2019 6:23 am
Now I've got to work out why I can't see the services on my ESP32, but that's my problem now...
Note that some devices include their services in the advertising data. CPUtemp does not. So you will need to connect to get a list of services.
by Douglas6
Tue Oct 15, 2019 6:55 pm
Forum: Off topic discussion
Topic: How can I make a Pi0W into a bluetooth server using python?
Replies: 9
Views: 2234

Re: How can I make a Pi0W into a bluetooth server using python?

Here's some Python code I adapted from the BlueZ sample code that implements a GATT server: https://github.com/Douglas6/cputemp
by Douglas6
Mon Oct 14, 2019 12:07 am
Forum: General discussion
Topic: Bluetooth--more than one setting?
Replies: 3
Views: 293

Re: Bluetooth--more than one setting?

Yes, Simon is behind much of the Raspbian desktop. Blueman does have more capabilities (file transfer, for example), but I don't think it's integrated with Raspbian's use of BlueALSA, et. al. Blueman is not installed by default on Raspbian.
by Douglas6
Sun Oct 13, 2019 10:59 pm
Forum: General discussion
Topic: Bluetooth--more than one setting?
Replies: 3
Views: 293

Re: Bluetooth--more than one setting?

Have you installed 'blueman' at some point? That's a Bluetooth GUI widget similar in functionality to Simon Long's widget. They can conflict, I would recommend uninstalling blueman.
by Douglas6
Sat Oct 12, 2019 1:56 pm
Forum: General discussion
Topic: Hardware shows no service avail
Replies: 7
Views: 401

Re: Hardware shows no service avail

I would start by running rfcomm from a systemd service. sudo nano /etc/systemd/system/rfcomm.service Enter the following into that file: [Unit] Description=RFCOMM service After=bluetooth.service Requires=bluetooth.service [Service] ExecStart=/usr/bin/rfcomm bind 0 <bdaddr> [Install] WantedBy=multi-u...

Go to advanced search