meh
This commit is contained in:
parent
7440fe2aed
commit
4f8d4ac222
@ -49,7 +49,7 @@ def hello():
|
||||
hex = hex.replace("#", "")
|
||||
|
||||
str = "56" + hex + "00f0aa"
|
||||
# try:
|
||||
try:
|
||||
result = subprocess.run(
|
||||
[f"gatttool -i hci0 -b b2:3b:03:00:14:d6 --char-write-req -a 0x0009 -n {str}"],
|
||||
stdout=subprocess.PIPE,
|
||||
@ -60,3 +60,5 @@ def hello():
|
||||
raise Exception
|
||||
else:
|
||||
return request.query_string
|
||||
except:
|
||||
raise Exception
|
Loading…
x
Reference in New Issue
Block a user