create BLE peripheral using BlueZ, Dbus and python3 on Linux
python3 app.py
(require MPU6050 sensor)
sudo apt-get install -y python3-dbus python3-smbus
python3 motionSensorApp.py
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
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