diff options
author | Edi Feschiyan <edi.feschiyan@konsulko.com> | 2020-03-09 17:57:09 +0200 |
---|---|---|
committer | Edi Feschiyan <edi.feschiyan@konsulko.com> | 2020-03-09 17:57:09 +0200 |
commit | ba673345466a365adb107a32dc4143390d4032eb (patch) | |
tree | 783e6e32b4e1e946199445664d9ac50f04d57320 /gps.py | |
parent | 5ef7f0b592e609775352ad41c3fd656b10f86d24 (diff) |
Began work for bluetooth binding
Diffstat (limited to 'gps.py')
-rw-r--r-- | gps.py | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -50,12 +50,9 @@ class GPSService: async def main(): gpss = await GPSService() try: - await gpss.subscribe() - data = await gpss.receive() - data = await gpss.receive() - data = await gpss.receive() data = await gpss.receive() print(data) + await gpss.subscribe() except ConnectionClosedError as e: print(e) |