mirror of
https://github.com/craigerl/aprsd.git
synced 2025-11-01 21:30:28 -04:00
This patch includes a completely reworked client structure. There is now only 1 client object, that loads the appropriate drivers. The drivers are fake, aprsis and tcpkiss. The TCPKISS client was written from scratch to avoid using asyncio. Asyncion is nothing but a pain in the ass.
11 lines
421 B
Python
11 lines
421 B
Python
# All client drivers must be registered here
|
|
from aprsd.client.drivers.aprsis import APRSISDriver
|
|
from aprsd.client.drivers.fake import APRSDFakeDriver
|
|
from aprsd.client.drivers.registry import DriverRegistry
|
|
from aprsd.client.drivers.tcpkiss import TCPKISSDriver
|
|
|
|
driver_registry = DriverRegistry()
|
|
driver_registry.register(APRSDFakeDriver)
|
|
driver_registry.register(APRSISDriver)
|
|
driver_registry.register(TCPKISSDriver)
|