Go to advanced search

by Douglas6
Mon Feb 24, 2020 4:02 pm
Forum: Troubleshooting
Topic: RFCOMM can't connect bluetooth gps at boot
Replies: 5
Views: 96

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: 8
Views: 1641

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: 148

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: 519

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: 1255

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: 1255

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: 92

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: 308

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: 308

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: 111

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: 272

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: 2127

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.
by Douglas6
Sun Jan 19, 2020 1:56 am
Forum: Off topic discussion
Topic: algorithms and ethics at the Barbershop
Replies: 37
Views: 2127

Re: algorithms and ethics at the Barbershop

'Algorithm' is simply a modern term. They have been employed for thousands of years. They have become faster and more complex with the aid of computers. 'AI' is just a bastardization of 'pattern recognition'. Non-human intelligence is not even on the horizon. Wake me when a computer can tell me what...
by Douglas6
Wed Jan 15, 2020 5:28 am
Forum: Beginners
Topic: Building a small Raspberry Pi phone
Replies: 10
Views: 424

Re: Building a small Raspberry Pi phone

To build a phone like device, you'll need a GPS, a sim card reader, a speaker, a microphone, a touchscreen, a case, several buttons (volume, power on, reset, etc), a battery, a charge regulator, a camera, and quite a few other things. I remember when this was a ludicrous list. A camera in a phone? ...
by Douglas6
Tue Jan 14, 2020 8:04 pm
Forum: Beginners
Topic: Building a small Raspberry Pi phone
Replies: 10
Views: 424

Re: Building a small Raspberry Pi phone

You might consider using a Bluetooth headset, but I'm afraid I've never seen a tutorial on implementing HSP/HFP on the Pi.
by Douglas6
Mon Jan 13, 2020 1:32 am
Forum: Python
Topic: Auto-connecting to iPhone via Bluetooth?
Replies: 3
Views: 203

Re: Auto-connecting to iPhone via Bluetooth?

Yes, a classical Bluetooth device (phone) will advertise its presence only when placed in discoverable mode (when the Bluetooth screen is opened, for example). Serial Bluetooth sockets won't work with an iPhone. Another approach is to periodically attempt to connect to the phone from the Pi (you don...
by Douglas6
Sun Jan 12, 2020 8:30 pm
Forum: Troubleshooting
Topic: bluetooth is broken?
Replies: 4
Views: 233

Re: bluetooth is broken?

Since the Apple keyboards are only supported under Apple operating systems, and the Logitech K380 does not advertise Linux as a compatible platform, it would be best to start with hardware that you know is supported by Linux (such as the keyboard you have that works reliably.)
by Douglas6
Sat Jan 04, 2020 8:34 pm
Forum: Français
Topic: Le Bluetooth sur Rasbian lite
Replies: 18
Views: 670

Re: Le Bluetooth sur Rasbian lite

The .asoundrc file should override the default settings for ALSA. Double check the file name and location. Post the contents here.
by Douglas6
Sat Jan 04, 2020 7:21 pm
Forum: Français
Topic: Le Bluetooth sur Rasbian lite
Replies: 18
Views: 670

Re: Le Bluetooth sur Rasbian lite

That all looks good, although I don't believe it should show as connected; BlueALSA should take care of making the connection. PulseAudio may be causing a conflict. You might want to uninstall PulseAudio.
by Douglas6
Sat Jan 04, 2020 7:02 pm
Forum: Français
Topic: Le Bluetooth sur Rasbian lite
Replies: 18
Views: 670

Re: Le Bluetooth sur Rasbian lite

In bluetoothctl, make sure the device is both 'paired' and 'trusted'.
by Douglas6
Sat Jan 04, 2020 6:38 pm
Forum: Français
Topic: Le Bluetooth sur Rasbian lite
Replies: 18
Views: 670

Re: Le Bluetooth sur Rasbian lite

'Bdaddr' is short for Bluetooth device address. So in the .asoundrc file, replace 'XX:XX:XX:XX:XX:XX' with the address of your device, which you used for example when pairing the device.
by Douglas6
Sat Jan 04, 2020 6:13 pm
Forum: Français
Topic: Le Bluetooth sur Rasbian lite
Replies: 18
Views: 670

Re: Le Bluetooth sur Rasbian lite

Trust me, your English is very much better than my French. PulseAudio is no longer needed for Bluetooth streaming; BlueALSA now handles that. The easiest way to implement streaming is to use the GUI, but with Raspbian Lite, it's a little more work. See if this post helps you out: https://www.raspber...
by Douglas6
Sun Dec 29, 2019 5:03 pm
Forum: Troubleshooting
Topic: Bluetooth don't work
Replies: 16
Views: 543

Re: Bluetooth don't work

What are the results of 'systemctl status hciuart'?
by Douglas6
Sun Dec 29, 2019 3:47 pm
Forum: Troubleshooting
Topic: Bluetooth don't work
Replies: 16
Views: 543

Re: Bluetooth don't work

If you've tried uninstalling Bluetooth, you may need to reinstall pi-bluetooth.

Code: Select all

sudo apt install pi-bluetooth 

Go to advanced search