Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [bluetooth]

For questions pertaining to Bluetooth setup, usage and troubleshooting on the Raspberry Pi, whether onboard or via a USB dongle.

0
votes
0answers
5 views

2 way Socket communication over bluetooth using python

Is there any way to make communication with 2 RBI over bluetooth using python Socket? Do you have some tips how can i do it? Should i use multithreading? Right now i'm using this lib -> https://...
0
votes
0answers
19 views

Creating device driver which feeds GPS Co-ordinates from phone to raspberry pi

I don't have GPS module, so I was thinking whether I can feed GPS coordinates from my android/ios phone to raspberry pi over wireless protocol like bluetooth/TCPIP. Can I create a virtual device ...
2
votes
0answers
33 views

Bluetooth Blues

I've discovered again that cursing and swearing at inanimate objects doesn't actually improve things, so I'll try posting a question. A couple of months ago I attempted a fairly ambitious project (...
0
votes
0answers
24 views

2 USB Sound Cards in Raspberry Pi

I have a pair of Alesis Active Monitors which have a USB input and it's a pain connecting devices to it so I felt using a Rasberry Pi with bluetooth and audio ins to allow for multiple connections ...
3
votes
1answer
687 views

Bluetooth UART on the Compute Module

We're trying (unsuccessfully) to attach a UART bluetooth SoC to the Raspberry Pi 3 Compute Module. The bluetooth SoC is a based off a Nordic nRF51. It's running project Zephyr RTOS hci_uart sample. ...
0
votes
0answers
10 views

hcitool does not find devices despite GUI showing multiple

I'm trying to better understand C (and bluetooth) using a Raspberry Pi 3 b+ as the testing grounds. I started by writing a C program that uses BlueZ to scan for bluetooth devices (script pretty common ...
0
votes
1answer
60 views

Pi won't connect to HC-06 Bluetooth module

I’m really desperate for some help with an issue that’s been kicking my backside for days. To give some background - I have a Raspberry Pi 3B+. On it I have the latest RetroPie image (4.4). I’ve ...
0
votes
1answer
22 views

Problem with auto pair a Bluetooth device

https://git.kernel.org/pub/scm/bluetooth/bluez.git/tree/test/simple-agent I tried the Above Python script but getting a dialogue box 'Pairing Requested'. How to remove that dialogue box?
0
votes
0answers
8 views

specifying baud rate when using PyBluez Bluetooth library

I'm trying to establish Bluetooth connection for a hc-05 Bluetooth module. When using the "serial library" to setup the connections, you can specify the baud rate using "serial.Serial("*******", baud ...
0
votes
2answers
31 views

Wireless communication for RC project

I'm planning to build a remote controlled car based on either a Raspberry Pi 3 or a Raspberry Pi Zero (the one with bluetooth and WiFi). Currently I'm struggeling with how to communicate with the Pi. ...
0
votes
0answers
13 views

Problem with aplay: “set_params:1363: Unable to install hw params”

I have been successfully using the command aplay -D bluealsa:HCI=hci0,DEV=EB:06:BF:19:C2:D3,PROFILE=a2dp Open.wav to play sound over a BlueTooth device. HOWEVER after a few hours of trouble free ...
0
votes
0answers
4 views

Passing audio from bluetooth to cloud

I want to use my RPI Zero W as a bluetooth headset (HFP) and take the audio (the voice of the caller) from a phone call and pass it to the cloud to do some TTS on it. The response from the cloud ...
-1
votes
0answers
18 views

Is it possible to boost the range for recieving BLE Beacon transmissions on a RPI3?

Doing tests with a RPI3 and a BLE Beacon I can get readings up to 100 meters, I was wondering if it is possible to extend this range with a USB bluetooth dongle or something similar and which one(s) ...
0
votes
0answers
31 views

Python Bluetooth connection automatically

Is there any way to connect Bluetooth device automatically without manually entering the passkey and automatically trusting the device?
0
votes
1answer
341 views

MPD with Bluetooth

Is it possible to run MPD with bluetooth in the Pi? Currently many guides which I have seen are mostly utilizing Upnp/Wifi setup to run. Now this is fine if there was only Apple devices. Since ...
0
votes
0answers
9 views

Not receiving any data via Bluetooth connection

I'm trying to send data from a ps3 controller to my Raspberry Pi, but the code I'm using does not pick up any data sent from the controller. The controller is connected yet nothing happens when I ...
1
vote
1answer
38 views

Bluetooth Audio to Raspberry Pi Zero W as USB Mass Storage

My car audio system has only a USB Memory input (it does not have Bluetooth). The audio system is able to read the content of the USB memory, find the folders (MP3 files) and show them on the screen. ...
0
votes
0answers
28 views

How to connect to multiple Bluetooth speakers?

Can I connect 3 speakers to the PI and listen to them at the same time? The distance will be less then 5 meters so that should not be a problem. I'm using a PI3 with Raspbian Stretch.
0
votes
0answers
52 views

Connecting a new Bluetooth device without monitor?

We are trying to connect a Bluetooth device without a passkey and trusting default yes in Python. I am running a headless Raspberry PI 3, and I want it to automatically accept pairings from any ...
0
votes
1answer
22 views

Completely Cycle Bluetooth with shell command

I have a problem with Bluetooth not working at startup, in Rasbian Stretch on RPi Zero W. On the desktop toolbar, Bluetooth says it's enabled. But when I try to use it through the blueST-SDK API in a ...
0
votes
1answer
34 views

What Bluetooth profiles does the Pi Zero W natively support?

I've started looking for tutorials for Pi's and Bluetooth, but I don't have any experience with Bluetooth and Linux, and it seems that the Bluetooth stack on Raspbian and/or Linux is not full featured ...
0
votes
0answers
9 views

Connect iHealth Bluetooth devices to Raspberry PI 3

I need to connect several iHealth Bluetooth sensors to a Raspberry PI. I read their provided SDK Documentation, but they only provide docs to build an Android/iOS application, which is not what I ...
1
vote
1answer
37 views

Is there a way to connect to a Raspberry server with only bluetooth?

Let's say I installed an API on my raspberry pi (with Php, python, it doesn't matter). Is there a way for my Android phone to make direct requests on my API through Bluetooth ? (If my raspberry and my ...
0
votes
0answers
10 views

How do i turn my raspberry pi to a BLE peripherial to connect with an iOS device and query it for data

I have installed the latest of bluez (bluez-5.50), tried different suggestions from folks and nothing works, I can't find my raspberry pi on my IOS device using different BLE scanner apps. Can someone ...
0
votes
1answer
48 views

What does it mean and what are the reasons for when a RPi3 cannot find a service?

I have a RPi3 which can successfully trust, pair, connect and even list the service UUIDs of a BLE device both via bluetoothctl and via Bluepy python library. But when it tries to 'get' that service ...
0
votes
2answers
261 views

Off grid communication

Over the last couple of weeks, I’ve become interested in off-grid communication, and I am currently looking into creating a simple communication protocol wherein multiple raspberry pi’s are able to ...
2
votes
2answers
3k views

Bluetooth connection attempt gives “Failed to connect: org.bluez.Error.Failed”

I'm a recent RPi user. Pi version - Pi 3, Model B Bluetooth speakers - Philiphs BT64R I've tested the speakers with other devices and the bluetooth pairing works fine. I've also tested my Pi with ...
1
vote
2answers
127 views

Are the Raspberry Pi actually capable of transferring files via bluetooth at 25Mb/s

I know that Raspberry Pi's use Bluetooth 4.1 which is low energy. But looking back at Bluetooth 3.0 classic, it can transfer files at an speed of 25Mbps. It also mention that it uses wifi-direct to do ...
0
votes
1answer
66 views

Why can't one of my Rpis talk to bluetooth device

I have a Tilt hydrometer for homebrewing. I've been using this python script to talk to it from one of my Rpi 3B+ devices (running Raspbian stretch). I have a second device and am trying to mimic the ...
0
votes
0answers
18 views

Using Pi to stream audio from android device to stereo using node js

couldn't find anything about that on the internet. I know it's possible to install some packages or even mount an SD with pimusicbox. But is it even possible to write your own code (node js for ...
1
vote
1answer
67 views

Raspberry Pi Bluetooth Transmitter

Is it possible to use the raspberry pi to transmit USB signal to another computer? I am wanting to plug a wired keyboard into a usb hub and transmit the signal to another computer to essentially make ...
0
votes
1answer
345 views

Connecnting to TE M5600 bluetooth 4.0 pressure sensor

I am trying to connect TE connectivity M5600 wireless pressure sensor (http://www.te.com/usa-en/product-CAT-PTT0063.html) to Raspberry pi with no luck. The sensor is using Bluetooth 4.0. The sensor is ...
1
vote
1answer
48 views

How to connect a bluetooth device from the command line

I have a headless raspberry pi (it's networked but not plugged into any keyboard or monitor). I've previously used it to play music through a wired speaker plugged into the headphone socket. I was ...
0
votes
1answer
29 views

Prevent guest user from using bluetooth and wifi

I'm running raspbian stertch and need to create a guest user to use the raspberry pi with limited permissions. To be specific, I'd like to prevent the guest user from using Bluetooth and wifi. I ...
0
votes
1answer
51 views

How can I get the set attribute of each “device” in an array

What I am wondering is how I can loop through paired_devices and get the "name" attribute for each device. This is only a short amount of the code, if more is needed, feel free to comment below. def ...
0
votes
0answers
23 views

Bluetooth audio device as (virtual) hardware device (for SIP-calls via Linphone)

I have an external USB-Bluetooth-Dongle plugged to my Pi and a Bluetooth Speaker (with microphone) that is connected via the dongle. I manually compiled blueZ to version 5.50 and bluealsa to version ...
3
votes
3answers
4k views

Pairing the Pi over BT 4.0 LE to a MS Universal Foldable Keyboard fails

Background I'm trying to pair my RasPi with the new Microsoft Universal Foldable Keyboard, which requires BT 4.0 LE HCI connectivity from the host. On my Pi it is provided by CSR based Bluetooth 4.0 ...
1
vote
0answers
37 views

l2ping bluetooth not timing out fast enough

I have been experimenting with pinging a list of known Bluetooth MAC addresses for a tracking project with a Pi 3, however, the ping does not seem to time out until after 5-7 seconds if there is no ...
0
votes
0answers
10 views

Changing volume with connected bluetooth phone

there. Since I recently just started on my first projekt with the Rpi, Iam a noob when it comes to figuring solutions out.. I successfully connected my iPhone with the Raspy (Model 3, B+) and it is ...
0
votes
0answers
47 views

Changing bluetooth class to act as a hands free device and car audio

Good morning folks, I have been using this tool to quickly configure my Pi2 as a bluetooth audio link to my camper van, it works brilliantly. My question is regarding changing the class of the ...
0
votes
1answer
213 views

No wifi or bluetooth on raspberry pi zero w

I have bought a raspberry pi zero w and performed the headless setup and used ssh to connect to my pc.But it does not detect the wifi interface and always gives 'No wireless interface found' when i ...
0
votes
0answers
16 views

Is it possible to pair with lge magic controller via bluetooth

I have a bluetooth smart tv controller, that is LG AN-MR500, I have been trying to connect it as a pointer for my raspbian system, I could connect it without pairing, But i couldn't make it work. ...
0
votes
1answer
102 views

Freeze caused by bluetooth and webcam

My web app has a webcam running using ng-camera(based on webcam.js), and a separate bluetooth sniffer running on node js on the background. After several minutes running, the app and raspberry pi will ...
1
vote
1answer
2k views

How to use Bluetooth, SPI and UART at the same time with an RPI3?

I just bought a Rpi3 and a Kuman 3.5" screen to make a minimal computer. I also have a PN532 to do NFC. My configuration: - Kuman 3.5 screen is connected to SPI0.0, touchscreen to SPI0.1; - I need ...
1
vote
1answer
125 views

Can I use an old bluetooth dongle with a model 2B?

$hciconfig -a ... ... ... HCI Version: 2.1 (0x4) Revision: 0x529b Does anyone know if this hardware is incompatible? I got some old bluetooth dongles from work and found my old rpi, it's a model 2 B....
0
votes
1answer
141 views

A bash script to check whether raspberry pi has completely received image via bluetooth

I am working on a project wherein an image is transferred from a smartphone via bluetooth and ocr is performed on the image.Now to automate the process I have used a bash script to check whether the ...
0
votes
2answers
46 views

sdp_connect always fails

I am running a sample code on RPI Zero W and it gets to the point where sdp_connect happens. Tried different samples, but they all fail on the same codeline: session = sdp_connect( BDADDR_ANY, ...
0
votes
1answer
114 views

How to power down bluetooth on startup, but leave it accessible

The majority of the time, I won't want to use the bluetooth on my pi, I've found how to do it with either the GUI or using bluetoothctrl at the command line, but I really don't see a way to do it ...
0
votes
1answer
263 views

Raspberry Pi 3B+ doesnt play audio via BT speaker

so I wanted to play audio via a bluetooth speaker. I tried it with my Phillips BTM3160 and my Creative iRoar Go. The Pi wouldn't even connect to the Phillips one and on the Creative it plays with the ...
1
vote
1answer
184 views

How to programmatically check bluetooth speaker is connected to rpi3?

I am trying to detect if my bluetooth speaker is connected to my rpi3 with my python code, executing this command status = subprocess.call('ls /dev/input/event0 2>/dev/null', shell=True) if the ...