add doc and fix types

This commit is contained in:
Gilles Boccon-Gibod
2023-09-06 16:48:08 -07:00
parent 1ea12b1bf7
commit 8be9f4cb0e
2 changed files with 8 additions and 3 deletions
+2 -1
View File
@@ -20,6 +20,7 @@ import sys
import os
import logging
from bumble.core import UUID
from bumble.device import Device
from bumble.transport import open_transport_or_link
from bumble.rfcomm import Server
@@ -32,7 +33,7 @@ def sdp_records(channel, uuid):
service_record_handle = 0x00010001
return {
service_record_handle: make_service_sdp_records(
service_record_handle, channel, uuid
service_record_handle, channel, UUID(uuid)
)
}