Go to advanced search

by Douglas6
Mon Dec 10, 2018 7:15 pm
Forum: Advanced users
Topic: [Guide] Pulseaudio 5 on Wheezy
Replies: 143
Views: 89341

Re: [Guide] Pulseaudio 5 on Wheezy

Unfortunately, Blueplayer was not exactly written to be importable. You would need to remove the mainline code, import what's left (just the classes) and then repeat what was the mainline code (instantiation and initialization) in your own code. Also, Blueplayer runs in a gobject loop, so you might ...
by Douglas6
Fri Nov 30, 2018 4:37 am
Forum: Troubleshooting
Topic: Bluetooth Speaker Music Sound Works But Not Live Voice Call
Replies: 1
Views: 61

Re: Bluetooth Speaker Music Sound Works But Not Live Voice Call

I'm not familiar with Twinkle, but it sounds like it's bypassing the ALSA audio system. Audio routed to ALSA should play on the default device, in your case the Bluetooth speaker. You might want to contact the Twinkle author(s).
by Douglas6
Sat Nov 24, 2018 12:20 pm
Forum: General discussion
Topic: Ideas for what to do with a Pi smartwatch?
Replies: 15
Views: 607

Re: Ideas for what to do with a Pi smartwatch?

If you use public transportation, and there is a suitable API in your area, a nice feature might tell you when the next train/bus is arriving.
by Douglas6
Fri Nov 23, 2018 10:13 pm
Forum: Python
Topic: Detecting a Tile
Replies: 8
Views: 282

Re: Detecting a Tile

Might be two lines instead of one:
1. devices = Scanner.scan(timeout)
2. if bdaddr in devices:
(do something)
by Douglas6
Fri Nov 23, 2018 9:19 pm
Forum: Python
Topic: Detecting a Tile
Replies: 8
Views: 282

Re: Detecting a Tile

No, Blue Dot uses strictly classic SSP communications. A fine program in its own right. You gotta love an app whose only interface is a big blue dot.
by Douglas6
Fri Nov 23, 2018 6:42 pm
Forum: Python
Topic: Detecting a Tile
Replies: 8
Views: 282

Re: Detecting a Tile

That looks like code from the PyBluez Python module, which, as you've discovered, does not support BLE. You're going to want to look into Ian Harvey's bluepy module, which does support scanning for BLE devices, if memory serves, by way of a Scanner object.
by Douglas6
Fri Nov 23, 2018 4:33 pm
Forum: Troubleshooting
Topic: How to connect Bluetooth on my Pi3
Replies: 3
Views: 204

Re: How to connect Bluetooth on my Pi3

It depends on how you would like to connect. For a Serial Port Profile connection, you'll need to enable SPP, and then run rfcomm to create a virtual serial port. If the Hi Fi remote is BLE, that's very different. You can search this forum for instructions on SPP and rfcomm.
by Douglas6
Fri Nov 23, 2018 2:50 am
Forum: General discussion
Topic: Bluetooth LE Connection to Node Red
Replies: 3
Views: 236

Re: Bluetooth LE Connection to Node Red

I'm afraid I have no experience with node red. Perhaps, with some more details of what you've done and how it isn't working, someone else could provide more help. I've played around with an HM-10, but that was in Python.
by Douglas6
Thu Nov 22, 2018 3:43 pm
Forum: Beginners
Topic: [Guide] Receive files over Bluetooth on the command line
Replies: 5
Views: 13309

Re: [Guide] Receive files over Bluetooth on the command line

I just re-tested this on a newly upgraded Raspian Stretch. All steps worked as advertised, and I was able to transfer files from my Android phone. I recommend you unpair and perform the steps again carefully.
by Douglas6
Thu Nov 22, 2018 2:58 pm
Forum: General discussion
Topic: Bluetooth is not receiving data from my smart phone (Android)
Replies: 1
Views: 90

Re: Bluetooth is not receiving data from my smart phone (Android)

1. Tested without problems. See my response to your other post. 2. You can use the Serial Port Profile to transfer data in real time between a Pi and an *Android* phone. Search this forum for instructions. 3. Using SPP you have the option of several standard baud rates, comparable to regular (wired)...
by Douglas6
Wed Nov 21, 2018 6:51 pm
Forum: Off topic discussion
Topic: BLE devices with no names
Replies: 5
Views: 766

Re: BLE devices with no names

Sure, as long as you know the sensors you are using supply their name. You could also query the devices and filter by the services they offer, maybe.
by Douglas6
Wed Nov 21, 2018 4:32 pm
Forum: Off topic discussion
Topic: BLE devices with no names
Replies: 5
Views: 766

Re: BLE devices with no names

It is mandatory to have a GATT service to expose the name of a BLE device, but it is NOT mandatory for a device to include that name in its advertising packets. I would not ignore devices that are not advertising names without knowing more about them. On the other hand it's not clear what you are tr...
by Douglas6
Tue Nov 20, 2018 8:39 pm
Forum: Troubleshooting
Topic: Bluetooth adapter NOT found Raspberry Pi 3
Replies: 8
Views: 11944

Re: Bluetooth adapter NOT found Raspberry Pi 3

Ok, no idea why that service would be masked. You could try unmasking it

Code: Select all

sudo systemctl unmask hciuart
and then rebooting.
by Douglas6
Tue Nov 20, 2018 4:30 pm
Forum: General discussion
Topic: How to read Bluetooth spp profile data in raspberry pi
Replies: 4
Views: 179

Re: How to read Bluetooth spp profile data in raspberry pi

Sorry, I missed your post last week. Basically, you'll need to do three things on the Pi: 1. Enable the SPP profile. See this post for instructions: https://www.raspberrypi.org/forums/viewtopic.php?p=947185#p947185 2. Bind the remote device address to rfcomm (as you are doing). 3. Open the /dev/rfco...
by Douglas6
Tue Nov 20, 2018 4:14 pm
Forum: Beginners
Topic: How could I conntrol my hardware via bluetooth
Replies: 1
Views: 259

Re: How could I conntrol my hardware via bluetooth

You'll need hardware and software that can convert your sensor data to Bluetooth data, and broadcast it to the Pi. A simple, common, cheap solution is to use a microprocessor, such as an Arduino, along with a serial Bluetooth module, such as an HC-05. You can also find dev boards with a microprocess...
by Douglas6
Mon Nov 19, 2018 4:50 pm
Forum: General discussion
Topic: Bluetooth LE Connection to Node Red
Replies: 3
Views: 236

Re: Bluetooth LE Connection to Node Red

A twenty second Google search found this: https://flows.nodered.org/node/node-red ... eneric-ble
by Douglas6
Sun Nov 18, 2018 11:53 pm
Forum: Troubleshooting
Topic: Bluetooth adapter NOT found Raspberry Pi 3
Replies: 8
Views: 11944

Re: Bluetooth adapter NOT found Raspberry Pi 3

That response indicates that no HCI (Bluetooth) device can be found by the operating system. Could be a hardware error, and the Bluetooth chip is toast. Not likely, especially if WiFi is working. More likely is that the hciuart.service didn't run. Either it's missing, or encountered errors. First th...
by Douglas6
Sun Nov 18, 2018 4:03 pm
Forum: General discussion
Topic: Ban from Raspberry Pi forums. [Self-imposed.]
Replies: 33
Views: 1256

Re: Ban from Raspberry Pi forums. [Self-imposed.]

How sad to wake up on a Sunday morning to this kind of news. Dougie and B.Goode are two of the kinder and most helpful members of this forum. They will be missed until sich time as clearer heads prevail.
by Douglas6
Fri Nov 16, 2018 8:59 pm
Forum: Troubleshooting
Topic: Bluetooth LE: issues connecting w/ Python, need other flags
Replies: 1
Views: 152

Re: Bluetooth LE: issues connecting w/ Python, need other flags

For connecting to devices using a 'random' address type, bluepy has an equivalent parameter to gatttool's '-t random' flag. I believe the syntax is thus: peripheral = btle.Peripheral(deviceAddress, btle.ADDR_TYPE_RANDOM) I believe bluetoothctl will attempt to connect to both public and random addres...
by Douglas6
Fri Nov 09, 2018 4:56 pm
Forum: Other projects
Topic: Bluetooth Marketing Box
Replies: 18
Views: 4226

Re: Bluetooth Marketing Box

Eddystone beacons are a possibility. There are instructions here: viewtopic.php?p=938150.

Nothing you couldn't do with an Arduino, though.
by Douglas6
Tue Oct 30, 2018 7:43 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Bluetooth Keyboard Emulator Dongle
Replies: 3
Views: 268

Re: Bluetooth Keyboard Emulator Dongle

http://www.raspberry-projects.com/pi/pi-operating-systems/raspbian/bluetooth/serial-over-bluetooth use cli command 'hcitool scan' to search for devices within range to identify them That link is not relevant as it is outdated and refers to connecting to a Windows machine. Bluetoothctl is a much mor...
by Douglas6
Tue Oct 30, 2018 7:15 pm
Forum: Troubleshooting
Topic: Logitech G603 / G613 Bluetooth Keyboard Issues
Replies: 2
Views: 180

Re: Logitech G603 / G613 Bluetooth Keyboard Issues

I have not heard of any success stories regarding BLE keyboards on a Pi. Or on Linux for that matter, but that's certainly worth searching for.
by Douglas6
Tue Oct 30, 2018 7:11 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: Bluetooth Keyboard Emulator Dongle
Replies: 3
Views: 268

Re: Bluetooth Keyboard Emulator Dongle

You'll communicate with that dongle via a Serial Port Profile link. You'll need to add SPP to the Pi, and run rfcomm to create a virtual serial port, with which you can communicate in the programming language of your choice, or by using a terminal program such as minicom. 1. Add the Serial Port Prof...

Go to advanced search