Skip to content

Instantly share code, notes, and snippets.

@cdove99
cdove99 / bluetoothctl.py
Last active April 17, 2021 18:01 — forked from castis/bluetoothctl.py
Bluetoothctl wrapper in Python
# Based on ReachView code from Egor Fedorov (egor.fedorov@emlid.com)
# Updated for Python 3.6.8 on a Raspberry Pi
import time
import pexpect
import subprocess
import sys
import logging
import os
from flask import Flask
def create_app():
app = Flask(__name__)
app.config.from_object('config.config')
# for route in routes: