Tools written in Go for interfacing with Xiaomi Flora sensors for IoT use cases.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
404 B

# This script allows hard-resetting the Intel Wireless Bluetooth 8265 chip
# (ID 8087:0a2b) built into newer Thinkpads which tends to get stuck as other
# people noticed before:
# Setup: pip install pyusb
# Usage: sudo python
from usb.core import find as finddev
dev = finddev(idVendor=0x8087, idProduct=0x0a2b)