konistehrad / micropython-improv

An implementation of the Improv Bluetooth commissioning standard for Micropython

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

micropython-improv

An implementation of the Bluetooth commissioning standard for Micropython. This encapsulates a whole network management solution, watching for WiFi disconnect, and automatically opening the Bluetooth commissioning path in the event that it is unable to reconnect.

TODO: Save WiFi credentials for reuse on restart.

Usage

from improv import ImprovService
network_manager = ImprovService(["http://duckduckgo.com"], name="Improv")
network_manager.start_network_monitoring()

Dependencies

Currently depends on the following MicroPython libraries:

  • aioble
  • logging

Authors

The original implementation was done by Mimoja for Linux DBus. This implementation was extended and modified to support MicroPython.

About

An implementation of the Improv Bluetooth commissioning standard for Micropython

License:GNU Lesser General Public License v2.1


Languages

Language:Python 100.0%