Go to advanced search

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

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

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

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

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

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

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: 4
Views: 452

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

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

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

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

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

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

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

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

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 
by Douglas6
Sun Dec 29, 2019 12:02 am
Forum: Français
Topic: Le Bluetooth sur Rasbian lite
Replies: 18
Views: 808

Re: Le Bluetooth sur Rasbian lite

On Raspbian Lite, you'll need to install bluealsa:

Code: Select all

sudo apt install bluealsa
by Douglas6
Sat Dec 28, 2019 11:53 pm
Forum: Troubleshooting
Topic: Bluetooth don't work
Replies: 16
Views: 650

Re: Bluetooth don't work

Open a terminal. Enter 'hciconfig - a'. What is the result?
by Douglas6
Mon Dec 16, 2019 1:21 am
Forum: Beginners
Topic: Bluetooth Keyboard
Replies: 5
Views: 346

Re: Bluetooth Keyboard

More details. What kind of keyboard? What does 'will not pair' mean? Steps taken, system responses?
by Douglas6
Mon Dec 16, 2019 1:13 am
Forum: Beginners
Topic: First day with Raspberry Pi. How to use it?
Replies: 16
Views: 1212

Re: First day with Raspberry Pi. How to use it?

I and many others on this forum began programming without a GUI (on "a 'black window' command line").

It was a ton of fun.
by Douglas6
Tue Dec 10, 2019 1:41 am
Forum: General discussion
Topic: Problem with serial write
Replies: 2
Views: 342

Re: Problem with serial write

Probably a wiring issue.
by Douglas6
Tue Dec 10, 2019 1:27 am
Forum: Python
Topic: Raspberry pi Arduino communication via HC-05 Bluetooth module received wrong data
Replies: 1
Views: 177

Re: Raspberry pi Arduino communication via HC-05 Bluetooth module received wrong data

More information is required, such as the (simplified) Arduino code, and the results of your Pi code.
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: 493

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 ...

Go to advanced search