Skip to content

Commit

Permalink
Configured announce ingress limit defaults
Browse files Browse the repository at this point in the history
  • Loading branch information
markqvist committed Oct 1, 2023
1 parent 03340ed commit fb4e53f
Show file tree
Hide file tree
Showing 7 changed files with 23 additions and 0 deletions.
3 changes: 3 additions & 0 deletions RNS/Interfaces/AX25KISSInterface.py
Original file line number Diff line number Diff line change
Expand Up @@ -366,5 +366,8 @@ def reconnect_port(self):

RNS.log("Reconnected serial port for "+str(self))

def should_ingress_limit(self):
return False

def __str__(self):
return "AX25KISSInterface["+self.name+"]"
3 changes: 3 additions & 0 deletions RNS/Interfaces/Android/KISSInterface.py
Original file line number Diff line number Diff line change
Expand Up @@ -403,5 +403,8 @@ def reconnect_port(self):

RNS.log("Reconnected serial port for "+str(self))

def should_ingress_limit(self):
return False

def __str__(self):
return "KISSInterface["+self.name+"]"
3 changes: 3 additions & 0 deletions RNS/Interfaces/Android/RNodeInterface.py
Original file line number Diff line number Diff line change
Expand Up @@ -1234,6 +1234,9 @@ def detach(self):
self.setRadioState(KISS.RADIO_STATE_OFF)
self.leave()

def should_ingress_limit(self):
return False

def __str__(self):
return "RNodeInterface["+str(self.name)+"]"

3 changes: 3 additions & 0 deletions RNS/Interfaces/Android/SerialInterface.py
Original file line number Diff line number Diff line change
Expand Up @@ -254,5 +254,8 @@ def reconnect_port(self):

RNS.log("Reconnected serial port for "+str(self))

def should_ingress_limit(self):
return False

def __str__(self):
return "SerialInterface["+self.name+"]"
5 changes: 5 additions & 0 deletions RNS/Interfaces/AutoInterface.py
Original file line number Diff line number Diff line change
Expand Up @@ -431,6 +431,11 @@ def processOutgoing(self,data):
self.txb += len(data)


# Until per-device sub-interfacing is implemented,
# ingress limiting should be disabled on AutoInterface
def should_ingress_limit(self):
return False

def __str__(self):
return "AutoInterface["+self.name+"]"

Expand Down
3 changes: 3 additions & 0 deletions RNS/Interfaces/KISSInterface.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,5 +348,8 @@ def reconnect_port(self):

RNS.log("Reconnected serial port for "+str(self))

def should_ingress_limit(self):
return False

def __str__(self):
return "KISSInterface["+self.name+"]"
3 changes: 3 additions & 0 deletions RNS/Interfaces/SerialInterface.py
Original file line number Diff line number Diff line change
Expand Up @@ -200,5 +200,8 @@ def reconnect_port(self):

RNS.log("Reconnected serial port for "+str(self))

def should_ingress_limit(self):
return False

def __str__(self):
return "SerialInterface["+self.name+"]"

0 comments on commit fb4e53f

Please sign in to comment.