X-Git-Url: https://git.ayoreis.com/Adafruit_Blinka-hackapet.git/blobdiff_plain/e2a087d9b134122733fe0b551482cc5b70b65cc2..7fef76c707cdeac37c1ad5d9dcd495ef0ea81497:/src/_bleio.py diff --git a/src/_bleio.py b/src/_bleio.py new file mode 100755 index 0000000..6423c27 --- /dev/null +++ b/src/_bleio.py @@ -0,0 +1,23 @@ +"""This is a stub of _bleio for use in GitHub Actions CI. It is NOT meant to provide _bleio + functionality in CPython.""" + +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 Characteristic: + BROADCAST = 0 + READ = 0 + WRITE = 0 + NOTIFY = 0 + INDICATE = 0 + WRITE_NO_RESPONSE = 0