mirror of
https://amiok.net/gitea/W1CDN/aprs_tool.git
synced 2025-05-25 14:00:21 +00:00
11 lines
240 B
Python
11 lines
240 B
Python
import asyncio
|
|
import aprs
|
|
|
|
async def main():
|
|
transport, protocol = await aprs.create_tcp_connection("192.168.0.30", 8001)
|
|
|
|
async for frame in protocol.read():
|
|
print(frame)
|
|
|
|
if __name__ == "__main__":
|
|
asyncio.run(main()) |