-
${obj.msg}
+
${message_html}
${timestamp} -
${status}
diff --git a/gui/src/chat-module.html b/gui/src/chat-module.html
index 1a075251..a0221322 100644
--- a/gui/src/chat-module.html
+++ b/gui/src/chat-module.html
@@ -1,165 +1,79 @@
-
-
-
-
-
-
-
-
-
-
-
FreeDATA - CHAT
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
+
+
FreeDATA - CHAT
+
-
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
+
+
+
+
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/gui/src/styles.css b/gui/src/styles.css
index b7d24a7f..17112d0c 100644
--- a/gui/src/styles.css
+++ b/gui/src/styles.css
@@ -2,6 +2,7 @@
body {
padding-right: 0px !important;
overflow-y: hidden !important;
+ overflow-x: hidden !important;
}
/*Progress bars with centered text*/
@@ -15,3 +16,10 @@ body {
width: 100%;
color: black;
}
+
+
+/* hide scrollbar in callsign list */
+#callsignlist::-webkit-scrollbar {
+ display: none;
+}
+
diff --git a/tnc/codec2.py b/tnc/codec2.py
index 47b4f2bb..c1e84c15 100644
--- a/tnc/codec2.py
+++ b/tnc/codec2.py
@@ -188,8 +188,8 @@ api.FREEDV_MODE_FSK_LDPC_0_ADV.interleave_frames = 0
api.FREEDV_MODE_FSK_LDPC_0_ADV.M = 4
api.FREEDV_MODE_FSK_LDPC_0_ADV.Rs = 100
api.FREEDV_MODE_FSK_LDPC_0_ADV.Fs = 8000
-api.FREEDV_MODE_FSK_LDPC_0_ADV.first_tone = 1150 # 1250 4fsk, 1500 2fsk
-api.FREEDV_MODE_FSK_LDPC_0_ADV.tone_spacing = 100 #200
+api.FREEDV_MODE_FSK_LDPC_0_ADV.first_tone = 1400 # 1150 4fsk, 1500 2fsk
+api.FREEDV_MODE_FSK_LDPC_0_ADV.tone_spacing = 120 #200
api.FREEDV_MODE_FSK_LDPC_0_ADV.codename = 'H_128_256_5'.encode('utf-8') # code word
# --------------- 4 H_256_512_4, 7 bytes
diff --git a/tnc/modem.py b/tnc/modem.py
index 88fba30b..107afd93 100644
--- a/tnc/modem.py
+++ b/tnc/modem.py
@@ -386,10 +386,12 @@ class RF():
txbuffer += bytes(mod_out)
-
+ # codec2 fsk preamble may be broken - at least it sounds like that so we are disabling it for testing
+ if not self.MODE == 'FSK_LDPC_0' or self.MODE == 200 or self.MODE == 'FSK_LDPC_1' or self.MODE == 201:
+ # write preamble to txbuffer
+ codec2.api.freedv_rawdatapostambletx(freedv, mod_out_postamble)
+ txbuffer += bytes(mod_out_postamble)
# append postamble to txbuffer
- codec2.api.freedv_rawdatapostambletx(freedv, mod_out_postamble)
- txbuffer += bytes(mod_out_postamble)
# add delay to end of frames
samples_delay = int(self.MODEM_SAMPLE_RATE*(repeat_delay/1000))
mod_out_silence = create_string_buffer(samples_delay*2)