Stack Exchange Network

Stack Exchange network consists of 174 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
340 views

Raspberrypi bluetooth error - Failed to connect: org.bluez.Error.NotAvailable

I am getting error "Failed to connect: org.bluez.Error.NotAvailable" with HC_05 and HC_06 bluetooth modules. I have connected the bluetooth device to Arudino Uno and it detects fine when I connect ...
0
votes
0answers
48 views

Is there some sort of known bluetooth audio issue when using with older android devices?

I wanted to do some sort of bluetooth audio related project with the raspberry pi 3B, so I loaded up Android Things along with the Bluetooth audio demo on the website. The app itself ran fine and I ...
1
vote
1answer
2k views

Scan and Retrieve List of Bluetooth Devices Using Python 3

When using the terminal inside the Raspberry pi, i have to use only 3 commands to retrieve a list of Bluetooth capable devices in the area. These are the commands that are executed in order: "sudo ...
0
votes
0answers
70 views

How sensitive is the bluetooth proant AB antenna on the Pi 0w?

Is there a datasheet that describes the sensitivity of the bluetooth onboard the pi0w when measuring the strength of an incoming bluetooth signal and what factors would affect that sensitivity?
0
votes
0answers
269 views

RPi3 with BlueZ sometimes cannot disconnect from connected BLE peripheral

Using a 2015 Raspberry Pi 3 Model B, though I believe this also occurs on the 2018 Model B+ (I have done minimal testing on the new pi but will update this post as I test it more). BlueZ 5.49 (latest ...
0
votes
1answer
174 views

Two UART Devices (One for USB and one for Bluetooth)

I need to make the Raspberry Pi communicate with the Arduino via USB Cable. From this, I will use the port on the USB which supports Serial Communication. However I also need to make the Raspberry Pi ...
0
votes
0answers
34 views

How does this script select, how to activate Bluetooth?

Here is the script - https://github.com/RPi-Distro/pi-bluetooth/blob/master/usr/bin/btuart, that enables Bluetooth on Raspberry Pi. There are three commands, and script selects, how to enable ...
0
votes
0answers
26 views

Bluetooth keyboard at boot up with BCM2045A

I'm trying to figure out how to login to a new FreeBSD install without a wired keyboard, using the FreeBSD 12.0 CURRENT build on a 512 MB version 1. Wired keyboards are rare in this part of the world,...
1
vote
1answer
4k views

Failed to connect: org.bluez.Error.NotAvailable - Error

I am trying to connect a HC-05 Bluetooth Module (connected to Arduino Uno) to my Raspberry Pi 3 in the hopes of achieving bluetooth communication between the two to send data from the Uno to the Pi. ...
0
votes
1answer
125 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 ...
5
votes
1answer
337 views

Raspberry Pi zero bluetooth max transfer speed

What is the maximum theoretical limit for bluetooth transfer rate from a raspberry pi zero W to Raspberry pi 3 using RFCOMM? They both have bluetooth 4.1, which, on wikipedia saids can reach speeds ...
3
votes
0answers
278 views

Rasberry Pi zero and 3 bluetooth transfer speed is slow RFCOMM

I am trying to send a series of bytes from the Raspberry Pi zero W to the Raspberry pi 3 via bluetooth. Im using the PyBluez python package. I believe that Raspberry Pi Zero has Bluetooth 4.1 and ...
0
votes
0answers
42 views

How do I make bluetooth work on the Raspberry Pi3 after disable for serial gpio?

I use serial gpio before but now want to use back the bluetooth function.How do I make bluetooth work on the Raspberry Pi3 after disable for serial gpio?
1
vote
0answers
203 views

Bluetooth Network access point problems

Hi we have two Pis (A Pi3 acting as a server/gateway and a Pi0W acting as the client) and we are trying to get them to communicate. They are connected via Bluetooth, and the Pi3 has a NAP server ...
1
vote
0answers
219 views

Play piano keys through Bluetooth LE and Midi

On the desktop Using my desktop Macbook I can successfully "remote-play" notes on my piano through the USB-Midi to Bluetooth adapter (Yamaha UD-BT01). First I pair the device through the Audio Midi ...
1
vote
1answer
399 views

/tmp has been reported to be read-only filesystem

Environment: Up to dated rasbian. pi@raspberrypi:/etc $ cat os-release PRETTY_NAME="Raspbian GNU/Linux 9 (stretch)" NAME="Raspbian GNU/Linux" VERSION_ID="9" VERSION="9 (stretch)" ID=raspbian ID_LIKE=...
-1
votes
2answers
2k views

insert sensor data in mysql to python [duplicate]

Hello I want to insert sensor data in mysql to python. My sensor is connected to arduino and it sends sensor data to raspberry pi via bluetooth. Raspberry pi receives sensor data to python code. This ...
0
votes
0answers
60 views

L2CAP connection getting slow

I have two raspberry pi3. I am trying to send file from one to another using Bluetooth. I have used PyBluez, LightBlue and PyObex but if the file size is larger, I am not getting more than 14KBs. So I ...
0
votes
1answer
172 views

Problem installing Bluetooth Dongle on Raspberry Pi 3 running Windows 10 IOT Core

I recently bought the plugable Bluetooth USB adapter usb-bt4le and I want to use it with my RPi3. I have windows 10 core IoT installed on the RPi. I have disabled the on-board bluetooth and I wish to ...
0
votes
1answer
1k views

Run python script from php

Hello I want to run python script from php. Python script is for reading sensor data. This is python code and it's file name is sensor.py import bluetooth bd_addr="(mac address)" port=1 sock=...
0
votes
0answers
105 views

Bluetooth audio to jack output

I'm trying to transform my Pi 2B into a bluetooth speaker (connect with phone to Pi and Pi sends audio through audio jack), but I can't get it to output the Bluetooth audio through the jack. Every ...
1
vote
0answers
84 views

Paired bluetooth joystick but it won't show at /dev/input or /dev/js

I just paired my bluetooth gamepad using https://www.cnet.com/how-to/how-to-setup-bluetooth-on-a-raspberry-pi-3/ Since it's a gamepad (it has a keyboard button but I'm usng in gamepad ode), it should ...
1
vote
1answer
1k views

How can I display sensor data on webserver by php? [closed]

I want to display sensor data on web server. I measure sensor data by arduino and it sends sensor data to raspberry pi via bluetooth(wireless). There are codes for logging data. code of arduino #...
0
votes
0answers
94 views

Reconnect Pi to iPhone via bluetooth on boot

I have a pi3 that I am trying to use as a bluetooth keyboard to send keys to an iPhone. I have the configuration set up as given in this guide. http://yetanotherpointlesstechblog.blogspot.com.au/2016/...
0
votes
2answers
98 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
0answers
64 views

Cannot get a RPI Zero W to act as a bluetooth audio target

I'm using a RPI Zero W running the latest Raspbian Stretch image from November and I'm unable to get the pi to pair as an audio device. Here is the output of the hciconfig -a hci0: Type: Primary ...
0
votes
0answers
773 views

How to send data from arduino to raspberry pi zero wirelessly?

Arduino connected with HC-05 Bluetooth module is the transmission section. Analog pin A0 of arduino has the input signal to be sent. The receiving section is the raspberry pi zero with inbuilt ...
0
votes
0answers
68 views

Pi to Pi communication over bluetooth [duplicate]

I want to communicate between two pi's over bluetooth. The data is text encoded in JSON. I have found tons of articles explaining communication between pi and android or some other client but cannot ...
0
votes
0answers
205 views

Having trouble connecting Android app using Ionic cordova to connect to Raspberry Pi 2 via bluetooth dongle

I've created an app using Ionic Cordova and testing it on an android device. I'm trying to connect the phone to a Raspberry Pi 2 which I've attached a Bluetooth receiver and the Bluetooth works fine ...
1
vote
0answers
359 views

Accessing GATT services on BLE device

Here is one I have been struggling with. I am trying to set up a connection between an rPi 3 and a BLE device. No matter what I have tried so far I cannot get information on GATT services from the ...
0
votes
0answers
436 views

Raspberry Pi 3 Bluetooth speaker does not appear in audio menu for Blueman

I am trying to get a Raspberry Pi project off the ground and it involves getting a Bluetooth speaker configured on the RPi. I have already taken several steps, such as installing/updating Blueman, ...
0
votes
0answers
1k views

Raspberry Pi as Bluetooth audio receiver

im having problems using the rasbpi as a bluetooth audio receiver. I want to connect with my phone and have the pi play the audio on the connected speakers. Ive done all the setup and it works fine ...
0
votes
0answers
217 views

Bluetooth Issue

pi@raspberrypi:~ $ systemctl status bluetooth.service bluetooth.service Loaded: error (Reason: Bad message) Active: inactive (dead) How can I fix this error?
0
votes
0answers
156 views

Rpi-3 Jessie, omxplayer plays .wav files but aplay does not. Also I cannot record audio via bluetooth audio

I am using Rpi 3 model B with Jessie, kernel 4.4.34. I can play the .wav audio file using omxplayer, but it does not work with aplay or cvlc. I am trying to send Bluetooth audio from a Master Rpi to ...
0
votes
0answers
554 views

OBD II Bluetooth Connection

I'm trying to connect an OBD II(ELM327) bluetooth adapter to my Raspberry Pi 3 for one of my projects but it keeps failing everytime I try it. I have the Raspbian updated software. I made a C ...
1
vote
0answers
74 views

Raspberry Pi bluetooth connects but gives me this error when I try to run a script

My question is about the raspberry pi original and raspberry pi 3 connect to the android's Bluetooth beautifully according to both the phone and pi. However, when I try to run a file I get the ...
1
vote
0answers
70 views

Connecting to Bluetooth speaker only works in X, not in terminal

I am running pulseaudio -D to start pulseaudio as a daemon, then running sudo bluetoothctl, connect to connect to the bluetooth speaker (it has already been paired). When I do this in X11 with a ...
1
vote
2answers
1k views

Recording time series data from Bluetooth by Pybluez

I am currently work in a project that I am using Raspberry-pi to record data from Bluetooth signal. I chosen the PyBluez to program bluetooth. My object is to write the data into csv file, each data ...
0
votes
0answers
137 views

'hcitool lescan' stops showing data after 10 minutes or so on a Pi 3

I run: sudo hcitool lescan --duplicates And after about 10 minutes it stops showing data. The process still runs. Any idea about this behavior? I'm using latest bluez (5.43-2+rpt2+deb9u2) in an up-...
2
votes
1answer
3k views

Using /dev/rfcomm0 in raspberry pi

I have paired two android phones to the Raspberry Pi 3. However when I attempt to execute a file it gives me the error: [Errno 2] could not open port /dev/rfcomm0: [Errno 2] No such file or directory:...
1
vote
1answer
306 views

Bluetoothctl connect TIMEOUT exception

This is the error I am getting when I connect to my mobile phone using the connect method in this documentation: https://gist.github.com/egorf/66d88056a9d703928f93, raise TIMEOUT(msg) pexpect....
0
votes
0answers
172 views

/dev/rfcommo not giving any data when reading OBD data in raspberry pi via bluetooth

I am trying to connect my raspberry pi to a Bluetooth OBD adapter. I have verified that the OBD device is working by connecting to it from the android phone using Torque lite app. I am following this ...
1
vote
0answers
330 views

Program to get and display Bluetooth metadata

So I set up my Raspberry Pi 3 as a Bluetooth receiver and it is able to get sound from my phone. Is there any program (preferably graphical) that can display the track info and artist info from AVRCP ...
0
votes
1answer
364 views

Is there an easy way to switch from hdmi to bluetooth audio seemlessly in raspberry pi?

I'm on raspbian stretch, I had an android tv box that broke down so I used a raspberry pi 3 I had around for uni to replace it. In the android tv box, if I connected a bluetooth headset, it would ...
0
votes
1answer
296 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 ...
0
votes
0answers
262 views

How should I transfer photo/video wireless to RaspberryPi?

I am trying 2 things. 1- Transferring photo via Bluetooth to a RaspberryPi 2- Transferring video via WiFi to raspberryPi But I don't know how to connect a Bluetooth or WiFi module to raspberry? I ...
0
votes
1answer
3k views

No audio output Raspberry Pi3 (Raspbian-stretch)

Update The below is for Raspbian Jessie and does not work for Stretch Any help on how to go about getting bluetooth to work with Stretch would be appreciated... Original question I am new to Pi ...
2
votes
1answer
2k views

Playing audio via bluetooth speaker for Pi3 (Stretch)

This is the oft repeated question on playing audio via bluetooth on RPi. There are too many posts out there, but most of them are dated or do not apply to the stretch version of raspbian and hence ...
4
votes
1answer
3k views

How to Decode TPMS Sensor data through RPi3 Bluetooth

I'm working with a Bluetooth TPMS Sensor (TP630). Here I have some important information about the sensor: Description: ➤ Bluetooth Transmit Power: 0dbm MAX ➤ Processor: 8-bit MCU / S08 core, ARM ...
0
votes
1answer
735 views

How to turn Bluetooth on and off with Python 3?

First timer here. I'm new to RPi and Python in general. I am making an RC car with my Pi, an Adafruit PCA9685, and an old OUYA bluetooth controller. Everything works on my desk. But, I want it to ...