mirror of
https://github.com/liberatedsystems/openCom-Companion.git
synced 2025-02-22 01:09:51 +01:00
Update for new build deps
This commit is contained in:
parent
55f6574297
commit
6b1ee775ed
@ -26,6 +26,8 @@ WORKDIR ".."
|
||||
|
||||
# Fetch files required for sideband local repository
|
||||
|
||||
RUN git clone https://github.com/liamcottle/rnode-flasher.git
|
||||
|
||||
RUN mkdir dist_archive
|
||||
|
||||
WORKDIR "dist_archive"
|
||||
|
@ -9,8 +9,7 @@
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
</head>
|
||||
<body>
|
||||
<<<<<<< HEAD
|
||||
<span class="logo">openCom Companion Repo</span>
|
||||
<span class="logo">OCC Repo</span>
|
||||
<p><center><span class="menu"><a href="index.html">Start</a> | <a href="pkgs.html">Software</a> | <a href="flasher.html">RNode Flasher</a> |<a href="guides.html">Guides</a></span></center></p><hr><h2>Hello!</h2>
|
||||
<table style="margin-bottom: 1.5em;">
|
||||
<tbody>
|
||||
|
@ -3762,43 +3762,36 @@ class SidebandCore():
|
||||
else:
|
||||
sec_atl_long = self.config["hw_rnode_sec_atl_long"]
|
||||
|
||||
subint_config = [[0]*11 for i in range(2)]
|
||||
|
||||
# Primary modem
|
||||
subint_config[0][0] = "Primary modem" # Name of interface
|
||||
subint_config[0][1] = 0 # Virtual port
|
||||
subint_config[0][2] = self.config["hw_rnode_frequency"]
|
||||
subint_config[0][3] = self.config["hw_rnode_bandwidth"]
|
||||
subint_config[0][4] = self.config["hw_rnode_tx_power"]
|
||||
subint_config[0][5] = self.config["hw_rnode_spreading_factor"]
|
||||
subint_config[0][6] = self.config["hw_rnode_coding_rate"]
|
||||
subint_config[0][7] = False # flow control hardcoded to false for now
|
||||
subint_config[0][8] = atl_short
|
||||
subint_config[0][9] = atl_long
|
||||
subint_config[0][10] = True # outgoing
|
||||
|
||||
# Secondary modem
|
||||
subint_config[1][0] = "Secondary modem" # Name of interface
|
||||
subint_config[1][1] = 1 # Virtual port
|
||||
subint_config[1][2] = self.config["hw_rnode_sec_frequency"]
|
||||
subint_config[1][3] = self.config["hw_rnode_sec_bandwidth"]
|
||||
subint_config[1][4] = self.config["hw_rnode_sec_tx_power"]
|
||||
subint_config[1][5] = self.config["hw_rnode_sec_spreading_factor"]
|
||||
subint_config[1][6] = self.config["hw_rnode_coding_rate"]
|
||||
subint_config[1][7] = False # flow control hardcoded to false for now
|
||||
subint_config[0][8] = sec_atl_short
|
||||
subint_config[0][9] = sec_atl_long
|
||||
subint_config[1][10] = True # outgoing
|
||||
|
||||
interface_config = {
|
||||
"name": "RNodeMultiInterface",
|
||||
"port": target_port,
|
||||
"subint_config": subint_config,
|
||||
"Primary modem": {
|
||||
"interface_enabled": True,
|
||||
"frequency": self.config["hw_rnode_frequency"],
|
||||
"vport": 0,
|
||||
"bandwidth": self.config["hw_rnode_bandwidth"],
|
||||
"txpower": self.config["hw_rnode_tx_power"],
|
||||
"spreadingfactor": self.config["hw_rnode_spreading_factor"],
|
||||
"codingrate": self.config["hw_rnode_coding_rate"],
|
||||
"flow_control": False,
|
||||
"airtime_limit_long": atl_long,
|
||||
"airtime_limit_short": atl_short
|
||||
},
|
||||
"Secondary modem": {
|
||||
"interface_enabled": True,
|
||||
"frequency": self.config["hw_rnode_sec_frequency"],
|
||||
"vport": 1,
|
||||
"bandwidth": self.config["hw_rnode_sec_bandwidth"],
|
||||
"txpower": self.config["hw_rnode_sec_tx_power"],
|
||||
"spreadingfactor": self.config["hw_rnode_sec_spreading_factor"],
|
||||
"codingrate": self.config["hw_rnode_sec_coding_rate"],
|
||||
"flow_control": False,
|
||||
"airtime_limit_long": sec_atl_long,
|
||||
"airtime_limit_short": sec_atl_short
|
||||
},
|
||||
"flow_control": False,
|
||||
"id_interval": self.config["hw_rnode_beaconinterval"],
|
||||
"id_callsign": self.config["hw_rnode_beacondata"],
|
||||
"st_alock": atl_short,
|
||||
"lt_alock": atl_long,
|
||||
"allow_bluetooth": False,
|
||||
"target_device_name": None,
|
||||
"force_ble": True,
|
||||
|
Loading…
x
Reference in New Issue
Block a user