Skip to content
This repository has been archived by the owner on Oct 14, 2022. It is now read-only.

Commit

Permalink
add isStarted
Browse files Browse the repository at this point in the history
  • Loading branch information
jordens committed Nov 12, 2018
1 parent d83566c commit 119f3a3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions highfinesse_net/protocol.py
Expand Up @@ -42,6 +42,10 @@ async def ask_check(self, cmd):
if int(ret) != 0:
raise HighFinesseError(ret)

async def is_started(self):
""""""
return int(await self.ask_check("isStarted")) == 0

async def start_device(self):
""""""
await self.ask_check("startDevice")
Expand Down

0 comments on commit 119f3a3

Please sign in to comment.