Questions tagged [pybluez]

PyBluez is a Python extension module allowing access to system Bluetooth resources on Windows, Linux, and OS X(unstable).

Filter by
Sorted by
Tagged with
13votes
2answers
7kviews

Which tool has replaced gatttool in bluez5?

It seems like since commit b1eb2c4cd057624312e0412f6c4be000f7fc3617 gatttool has been deprecated but I'm unable to find any information on what has replaced gattool. Every Python Bluetooth LE ...
user avatar
10votes
3answers
10kviews

Python code for Bluetooth throws error after I had to reset the adapter

I was trying out bluetooth programming in python. It was working fine till yesterday. This morning, there was a power outage and for some reason, the bluetooth module got disabled and it could not be ...
user avatar
9votes
1answer
33kviews

Pairing bluetooth devices with Passkey/Password in python - RFCOMM (Linux)

I am working on a Python script to search for bluetooth devices and connect them using RFCOMM. This devices has Passkey/Password. I am using PyBlueZ and, as far as I know, this library cannot handle ...
user avatar
8votes
1answer
1kviews

Is there any other way to get RSSI values than blueZ (Pybluez)

I am struggling very hard on this one, so any help / pointers would be greatly appreciated. I have been trying to get precise values from RSSI with pyblueZ I get some good results, but this below is ...
user avatar
  • 271
5votes
3answers
14kviews

Python Bluetooth how to send a file to a phone

in my current project it is a requirement to send a file from a windows computer to an android device over bluetooth without anything on the phone other than it's standard state and of course a paired ...
user avatar
  • 303
5votes
3answers
9kviews

python bluetooth - check connection status

I am using the bluetooth module for python import bluetooth which I believe is the PyBluez package. I am able to connect, send, and receive just fine from the bluetooth.BluetoothSocket class but my ...
user avatar
  • 93
4votes
2answers
6kviews

Emulate a keyboard with BlueZ 5

I'm working on a setup where I want to connect a RaspberryPi-3 to another machine. Most of the time it will be a Windows machine. On the Pi I want to forward all Keyboard strokes via Bluetooth to the ...
user avatar
  • 1,726
4votes
1answer
3kviews

For bluetooth connection using PyBluez, socket connection is not getting accepted even after pairing

I have a Raspberry pi model B booted with Rasbian OS and a bluetooth dongle plugged into it. I am able to discover my pi when searching from my PC and am able to pair using Blueman GUI. This is the ...
user avatar
4votes
2answers
2kviews

Connect to local bluetooth

I am using pybluez to develop a bluetooth application on linux in python. I want to know if it is possible to connect to a "localhost" for bluetooth so I can run the client and server on the same ...
user avatar
  • 367
4votes
2answers
1kviews

pybluez not detecting any devices

I have the following Python code: import bluetooth print(bluetooth.discover_devices()) This always waits a few seconds and prints out an empty list. My bluetooth adapter appears to be working, as I ...
user avatar
  • 271
4votes
1answer
549views

BlueZ AutoReconnect as device to PC

I'm working on a HID bluetooth device with the code on the device in Python; at the moment it can connect to a PC by running: os.system("hciconfig hcio class 0x002560") os.system("hciconfig hcio name ...
user avatar
  • 844
4votes
1answer
837views

Failure installing pybluez

I want to install pybluez with python 3.8 but get this error: C:\wndows\system32>pip install pybluez Collecting pybluez Using cached PyBluez-O.22.zip Complete output from command python ...
user avatar
  • 758
4votes
0answers
1kviews

Is there a way to list channel in-use of RFCOMM in Linux?

Environment: Ubuntu 14.04 running in vmplayer. in PyBluez Example, rfcomm-server.py, Problem with running RFCOMM server on PORT_ANY code chunk: from bluetooth import * erver_sock=BluetoothSocket( ...
user avatar
  • 367
3votes
2answers
10kviews

Where can I find the PyBluez API [closed]

I understood from Bluetooth for Programmers chapter 2, that the PyBluez API does provide functions like discover_devices and lookup_name. However I have not found any API documentation for PyBluez. ...
user avatar
  • 174
3votes
1answer
13kviews

Python bluetooth on Windows 10 [closed]

I found multiple similar questions but all of them seemed to be either outdated or to not have a working answer, so I'm asking here again. I want to connect to another device (in my case a ...
user avatar
  • 341

15 30 50 per page
1
2 3 4 5
10