"""This is a stub of _bleio for use in GitHub Actions CI. It is NOT meant to provide _bleio functionality in CPython.""" adapter = None class Attribute: NO_ACCESS = 0 OPEN = 0 ENCRYPT_NO_MITM = 0 ENCRYPT_WITH_MITM = 0 LESC_ENCRYPT_WITH_MITM = 0 SIGNED_NO_MITM = 0 SIGNED_WITH_MITM = 0 class UUID: def __init__(self, uuid): pass class Descriptor: @staticmethod def add_to_characteristic(characteristic, uuid, *, read_perm=Attribute.OPEN, write_perm=Attribute.OPEN, max_length=20, fixed_length=False, initial_value=b''): pass class CharacteristicBuffer: pass class PacketBuffer: pass class Characteristic: BROADCAST = 0 READ = 0 WRITE = 0 NOTIFY = 0 INDICATE = 0 WRITE_NO_RESPONSE = 0 @staticmethod def add_to_service(service, uuid, *, properties=0, read_perm=Attribute.OPEN, write_perm=Attribute.OPEN, max_length=20, fixed_length=False, initial_value=None): raise NotImplementedError()