mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-08-18 19:17:55 -04:00
Auto-set sensible interface rate defaults
This commit is contained in:
parent
dd55899775
commit
124ec006b4
5 changed files with 44 additions and 0 deletions
|
@ -58,6 +58,7 @@ class AX25():
|
|||
|
||||
class AX25KISSInterface(Interface):
|
||||
MAX_CHUNK = 32768
|
||||
BITRATE_GUESS = 1200
|
||||
|
||||
owner = None
|
||||
port = None
|
||||
|
@ -94,6 +95,7 @@ class AX25KISSInterface(Interface):
|
|||
self.stopbits = stopbits
|
||||
self.timeout = 100
|
||||
self.online = False
|
||||
self.bitrate = KISSInterface.BITRATE_GUESS
|
||||
|
||||
self.packet_queue = []
|
||||
self.flow_control = flow_control
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue