mirror of
https://github.com/supleed2/ELEC60013-ES-CW1.git
synced 2024-12-22 21:45:48 +00:00
HCI Bugfix
This commit is contained in:
parent
d6e996bad8
commit
fe8f4b3283
2
hci.py
2
hci.py
|
@ -8,7 +8,7 @@ class HCIBroadcaster:
|
||||||
def __init__(self, b64key):
|
def __init__(self, b64key):
|
||||||
self.key = base64.b64decode(b64key)
|
self.key = base64.b64decode(b64key)
|
||||||
|
|
||||||
def _advertisement_template():
|
def _advertisement_template(self):
|
||||||
adv = ""
|
adv = ""
|
||||||
adv += "1e" # length (30)
|
adv += "1e" # length (30)
|
||||||
adv += "ff" # manufacturer specific data
|
adv += "ff" # manufacturer specific data
|
||||||
|
|
Loading…
Reference in a new issue