Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow UART devices to be listed as well when using otii_get_devices. #7

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion otii_tcp_client/otii.py
Expand Up @@ -77,7 +77,7 @@ def get_devices(self):
return []
device_objects = []
for device in response["data"]["devices"]:
if device["type"] == "Arc":
if device["type"] == "Arc" or device["type"] == "UART":
device_object = arc.Arc(device, self.connection)
device_objects.append(device_object)
return device_objects
Expand Down