Skip to content

Instantly share code, notes, and snippets.

View joshbaran's full-sized avatar

Joshua Baran joshbaran

View GitHub Profile
@joshbaran
joshbaran / test2.py
Created February 10, 2023 13:09
bluezero callback with options test
from bluezero import adapter
from bluezero import peripheral
from bluezero import device
import random
import struct
SERVICE = 'CBBA1804-1D4F-4499-93CD-EFFB94989E94'
OPT_CHAR = '53E648D7-45B6-423A-BED9-D1234C30023F'
NO_OPT_CHAR = '35045198-AB93-4073-95AA-9AFDF761B106'