Skip to content

Commit 02d226c

Browse files
authored
Merge pull request #6 from kawasaki/dev
Thank you!
2 parents 1fa9b27 + b2987e2 commit 02d226c

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

β€Žexamples/sdbus_async/gatt_props.pyβ€Ž

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ async def print_props(prop_dict: dict[str, Any], indent: str) -> None:
6262
print(f"{indent}{key}: {await prop_dict[key]}")
6363
except Exception:
6464
missing_properties.append(key)
65-
print("missing propeties:", missing_properties)
65+
print("missing properties:", missing_properties)
6666

6767

6868
async def print_char_props(dbus: SdBus, dev_path: str,
@@ -159,7 +159,7 @@ async def main(dev_path: str) -> None:
159159
await discover(dbus)
160160

161161
# connect to the device
162-
print(f"Conneting to {dev_path}...")
162+
print(f"Connecting to {dev_path}...")
163163
try:
164164
await device.connect()
165165
except NotImplementedError as e:
@@ -169,7 +169,7 @@ async def main(dev_path: str) -> None:
169169
print(e)
170170
print(f"failed to connect: {e}")
171171
return
172-
print("Conneted")
172+
print("Connected")
173173

174174
# Get services and characteristics and print their properties
175175
await sleep(2)
@@ -180,7 +180,7 @@ async def main(dev_path: str) -> None:
180180
for service in services:
181181
await print_service_props(dbus, dev_path, service)
182182
break
183-
await sleep(1)
183+
await sleep(1)
184184

185185
# Clean up
186186
await device.disconnect()

0 commit comments

Comments
 (0)