All Projects → Adam-Langley → Pybleno

Adam-Langley / Pybleno

Licence: mit
A direct port of the Bleno bluetooth LE peripheral role library to Python2/3

Programming Languages

python
139335 projects - #7 most used programming language
python2
120 projects

Projects that are alternatives of or similar to Pybleno

ESP32 BLE OTA Arduino
OTA update on ESP32 via BLE
Stars: ✭ 41 (-26.79%)
Mutual labels:  bluetooth-le
Ios Pods Dfu Library
OTA DFU Library for Mac and iOS, compatible with nRF5x SoCs
Stars: ✭ 349 (+523.21%)
Mutual labels:  bluetooth-le
Esp32 Ble Keyboard
Bluetooth LE Keyboard library for the ESP32 (Arduino IDE compatible)
Stars: ✭ 533 (+851.79%)
Mutual labels:  bluetooth-le
BleLab
Bluetooth LE Lab - UWP application for interaction with BLE GATT devices
Stars: ✭ 68 (+21.43%)
Mutual labels:  bluetooth-le
IOS-DFU-Library
OTA DFU Library for Mac and iOS, compatible with nRF5x SoCs
Stars: ✭ 400 (+614.29%)
Mutual labels:  bluetooth-le
Super Simple Raspberry Pi Audio Receiver Install
Super Easy installation to make your Raspberry Pi an Audio Receiver
Stars: ✭ 448 (+700%)
Mutual labels:  bluetooth-le
blessed-bluez
BLE library using Java and Bluez
Stars: ✭ 32 (-42.86%)
Mutual labels:  bluetooth-le
Metawear Sampleapp Android
Sample Android app showcasing the sensors available on the MetaMotion / MetaWear boards
Stars: ✭ 42 (-25%)
Mutual labels:  bluetooth-le
Rxandroidble
An Android Bluetooth Low Energy (BLE) Library with RxJava2 interface
Stars: ✭ 3,025 (+5301.79%)
Mutual labels:  bluetooth-le
Android Dfu Library
A library with DFU feature for Android 4.3+.
Stars: ✭ 532 (+850%)
Mutual labels:  bluetooth-le
ruuvitag-demo
Demo of reading Bluetooth Low Energy sensor measurements of RuuviTag environmental sensors and feeding them to MQTT, a database and dashboards
Stars: ✭ 14 (-75%)
Mutual labels:  bluetooth-le
pirowflo
All-in-one data interface for your Waterrower S4 Monitor or Smartrow
Stars: ✭ 73 (+30.36%)
Mutual labels:  bluetooth-le
Android Scanner Compat Library
A compat library for Bluetooth Low Energy scanning on Android.
Stars: ✭ 462 (+725%)
Mutual labels:  bluetooth-le
harald
Rust API for Bluetooth Low Energy
Stars: ✭ 27 (-51.79%)
Mutual labels:  bluetooth-le
Bluetooth Low Energy Led Matrix
Turns a Raspberry Pi 3 into a Bluetooth LE peripheral that controls an LED matrix.
Stars: ✭ 22 (-60.71%)
Mutual labels:  bluetooth-le
soma-ctrl
Node util for controlling SOMA smart shade via MQTT or HTTP
Stars: ✭ 19 (-66.07%)
Mutual labels:  bluetooth-le
Bluetoothle
Easy to use, cross platform, REACTIVE BluetoothLE Plugin for Xamarin
Stars: ✭ 357 (+537.5%)
Mutual labels:  bluetooth-le
Ble Starter Android
Companion project for the Punch Through blog post "The Ultimate Guide to Android Bluetooth Low Energy"
Stars: ✭ 56 (+0%)
Mutual labels:  bluetooth-le
Magiclight Controller
This simple demo application is controlling MagicLight's smart bulbs by bluetooth-le
Stars: ✭ 28 (-50%)
Mutual labels:  bluetooth-le
Bleu
BLE (Bluetooth LE) for U🎁 Bleu is the best in the Bluetooth library.
Stars: ✭ 481 (+758.93%)
Mutual labels:  bluetooth-le

pybleno

Downloads

A direct port of the Bleno bluetooth LE peripheral role library to Python2/3

The logic of this library was originally written by Sandeep Mistry (https://github.com/sandeepmistry/bleno), and this repository is a direct port of that code-base. A huge thanks to Sandeep for his solid library.

Effort has been made to maintain the same code structure to aid in parallel maintenance with Bleno.

Note: Currently only tested on Linux Raspbian

Prerequisites

Please read the original nodejs Bleno prerequisites, failure to meet these may result in 'Operation not permitted' errors at runtime.

Install

pip install pybleno

Usage

from pybleno import *

bleno = Bleno()

See examples folder for code examples.

See the original nodejs Bleno documentation for usage.

Troubleshooting

  • Symptoms: Peripheral stops responding, notifications not going through - pi must be rebooted. Kernel log contains hci0: Frame reassembly failed
    • Cause: Bugs in bluetooth kernel module - manifests whe running Raspbian <= 2018-11-13.
    • Fix: apt-get upgrade

Licenses and Attribution

Sandeep Mistry's Bleno

https://github.com/sandeepmistry/bleno

Wayne Keenan's BluetoothHCI

https://github.com/TheBubbleworks/python-hcipy

Mike Ryan's BluetoothSocket taken from Python control for Leviton Decora Bluetooth switches

https://github.com/mjg59/python-decora

License

Copyright (C) 2017 Adam Langley

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].