ble client services change test
This commit is contained in:
1 parent
b23b52ed2e
commit
5121589dad
2 files changed
+2
-2
No files matched your search
@@ -48,7 +48,7 @@ async def read_data(mac_address):
|
|||||||
while not success:
|
while not success:
|
||||||
try:
|
try:
|
||||||
print("Client connected, getting services")
|
print("Client connected, getting services")
|
||||||
services = await client.get_services()
|
services = client.services
|
||||||
print("Services acquired, loading uuid matches")
|
print("Services acquired, loading uuid matches")
|
||||||
mi_service = next((s for s in services if s.uuid.lower() == MI_SERVICE_UUID.lower()), None)
|
mi_service = next((s for s in services if s.uuid.lower() == MI_SERVICE_UUID.lower()), None)
|
||||||
success = True
|
success = True
|
||||||
|
|||||||
@@ -6,7 +6,7 @@ debug_output = False
|
|||||||
bind_ip = "0.0.0.0"
|
bind_ip = "0.0.0.0"
|
||||||
api_port = 5000
|
api_port = 5000
|
||||||
redis_port = 6379
|
redis_port = 6379
|
||||||
enable_redis = True
|
enable_redis = False
|
||||||
|
|
||||||
# --- This will store friendly names for MAC addresses -----------------
|
# --- This will store friendly names for MAC addresses -----------------
|
||||||
comment_lookup = [
|
comment_lookup = [
|
||||||
|
|||||||
Reference in new issue
Block a user