-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
250 additions
and
1,176 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
from okdmr.dmrlib.storage import ADDRESS_TYPE, ADDRESS_EMPTY | ||
from okdmr.dmrlib.storage.repeater import Repeater | ||
from okdmr.dmrlib.storage.repeater_storage import RepeaterStorage | ||
|
||
from okdmr.hhb.hytera_repeater import HyteraRepeater | ||
|
||
|
||
class HHBRepeaterStorage(RepeaterStorage): | ||
""" """ | ||
|
||
def create_repeater( | ||
self, | ||
dmr_id: int = None, | ||
address_in: ADDRESS_TYPE = ADDRESS_EMPTY, | ||
address_out: ADDRESS_TYPE = ADDRESS_EMPTY, | ||
address_nat: ADDRESS_TYPE = ADDRESS_EMPTY, | ||
) -> Repeater: | ||
return HyteraRepeater( | ||
address_in=address_in, | ||
address_out=address_out, | ||
dmr_id=dmr_id, | ||
address_nat=address_nat, | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.