Skip to content

create BLE peripheral using BlueZ, Dbus and python3 on Linux

Notifications You must be signed in to change notification settings

xuminready/BLE_Peripheral

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BLE_Peripheral

create BLE peripheral using BlueZ, Dbus and python3 on Linux

usage:

Demo1

python3 app.py

Demo2

(require MPU6050 sensor)

sudo apt-get install -y python3-dbus python3-smbus

python3 motionSensorApp.py

stop bluetooth pairing request on iPhone

solution, stop Bluez Battery plugin from loading at boot.

modify Bluez service at /lib/systemd/system/bluetooth.service, then reboot system.

ExecStart=/usr/lib/bluetooth/bluetoothd -P battery

source

credit

BLE code is modified from GitHub: PunchThrough / espresso-ble

a very good article about BLE with BlueZ, python3 Creating a BLE Peripheral with BlueZ

more BLE example BlueZ examples

MPU6050 (Accelerometer+Gyroscope) Interfacing with Raspberry Pi

About

create BLE peripheral using BlueZ, Dbus and python3 on Linux

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages