mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
Remove manual mode.
This commit is contained in:
parent
55e229c62a
commit
efc9950090
2 changed files with 0 additions and 18 deletions
|
@ -347,13 +347,6 @@ class DATA:
|
||||||
self.log.debug("[TNC] ARQ arq_received_channel_is_open")
|
self.log.debug("[TNC] ARQ arq_received_channel_is_open")
|
||||||
self.arq_received_channel_is_open(bytes_out[:-2])
|
self.arq_received_channel_is_open(bytes_out[:-2])
|
||||||
|
|
||||||
# ARQ MANUAL MODE TRANSMISSION
|
|
||||||
elif (
|
|
||||||
FR_TYPE.ARQ_MANUAL_01.value <= frametype <= FR_TYPE.ARQ_MANUAL_11.value
|
|
||||||
):
|
|
||||||
self.log.debug("[TNC] ARQ manual mode")
|
|
||||||
self.arq_received_data_channel_opener(bytes_out[:-2])
|
|
||||||
|
|
||||||
# ARQ STOP TRANSMISSION
|
# ARQ STOP TRANSMISSION
|
||||||
elif frametype == FR_TYPE.ARQ_STOP.value:
|
elif frametype == FR_TYPE.ARQ_STOP.value:
|
||||||
self.log.debug("[TNC] ARQ received stop transmission")
|
self.log.debug("[TNC] ARQ received stop transmission")
|
||||||
|
@ -1596,9 +1589,6 @@ class DATA:
|
||||||
frametype = bytes([FR_TYPE.ARQ_DC_OPEN_W.value])
|
frametype = bytes([FR_TYPE.ARQ_DC_OPEN_W.value])
|
||||||
self.log.debug("[TNC] Requesting high bandwidth mode")
|
self.log.debug("[TNC] Requesting high bandwidth mode")
|
||||||
|
|
||||||
if FR_TYPE.ARQ_MANUAL_01.value <= mode <= FR_TYPE.ARQ_MANUAL_11.value:
|
|
||||||
self.log.debug("[TNC] Requesting manual mode --> not yet implemented ")
|
|
||||||
frametype = bytes([mode])
|
|
||||||
connection_frame = bytearray(14)
|
connection_frame = bytearray(14)
|
||||||
connection_frame[:1] = frametype
|
connection_frame[:1] = frametype
|
||||||
connection_frame[1:4] = static.DXCALLSIGN_CRC
|
connection_frame[1:4] = static.DXCALLSIGN_CRC
|
||||||
|
@ -1699,11 +1689,6 @@ class DATA:
|
||||||
self.time_list = self.time_list_low_bw
|
self.time_list = self.time_list_low_bw
|
||||||
self.speed_level = len(self.mode_list) - 1
|
self.speed_level = len(self.mode_list) - 1
|
||||||
|
|
||||||
if FR_TYPE.ARQ_MANUAL_01.value <= frametype <= FR_TYPE.ARQ_MANUAL_11.value:
|
|
||||||
self.log.debug(
|
|
||||||
"[TNC] arq_received_data_channel_opener: manual mode request"
|
|
||||||
)
|
|
||||||
|
|
||||||
# Update modes we are listening to
|
# Update modes we are listening to
|
||||||
self.set_listening_modes(self.mode_list[self.speed_level])
|
self.set_listening_modes(self.mode_list[self.speed_level])
|
||||||
|
|
||||||
|
|
|
@ -148,9 +148,6 @@ class FRAME_TYPE(Enum):
|
||||||
ARQ_DC_OPEN_ACK_W = 226
|
ARQ_DC_OPEN_ACK_W = 226
|
||||||
ARQ_DC_OPEN_N = 227
|
ARQ_DC_OPEN_N = 227
|
||||||
ARQ_DC_OPEN_ACK_N = 228
|
ARQ_DC_OPEN_ACK_N = 228
|
||||||
ARQ_MANUAL_01 = 230
|
|
||||||
# ...
|
|
||||||
ARQ_MANUAL_11 = 240
|
|
||||||
ARQ_STOP = 249
|
ARQ_STOP = 249
|
||||||
BEACON = 250
|
BEACON = 250
|
||||||
TEST_FRAME = 255
|
TEST_FRAME = 255
|
||||||
|
|
Loading…
Reference in a new issue