mirror of
https://github.com/svpcom/wfb-ng.git
synced 2025-02-20 15:33:48 -04:00
Update radio_mtu due to packet header change
This commit is contained in:
parent
4e3932964d
commit
d3d0bc7e00
@ -9,7 +9,7 @@ debug = False
|
||||
version = '0.0.1.trunk'
|
||||
commit = None
|
||||
|
||||
radio_mtu = 1446 # MAX_PAYLOAD_SIZE, don't change if doubt
|
||||
radio_mtu = 1445 # MAX_PAYLOAD_SIZE, don't change if doubt
|
||||
mavlink_agg_timeout = 0.1 # aggragate mavlink packets if less than radio_mtu but no longer than 100ms
|
||||
tx_sel_delta = 3 # hysteresis for antenna selection, [dB]
|
||||
wifi_channel = 165 # radio channel @5825 MHz, range: 5815-5835 MHz, width 20MHz
|
||||
|
@ -45,7 +45,7 @@ class SendPacket(DatagramProtocol):
|
||||
|
||||
class UDPProxyTestCase(unittest.TestCase):
|
||||
def setUp(self):
|
||||
self.p1 = UDPProxyProtocol(agg_max_size=1446, agg_timeout=1, inject_rssi=True)
|
||||
self.p1 = UDPProxyProtocol(agg_max_size=1445, agg_timeout=1, inject_rssi=True)
|
||||
self.p2 = UDPProxyProtocol(('127.0.0.1', 14553))
|
||||
self.p1.peer = self.p2
|
||||
self.p2.peer = self.p1
|
||||
|
Loading…
Reference in New Issue
Block a user