mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
possible fix of broadcast
This commit is contained in:
parent
df3be3134d
commit
e4642fc49d
|
@ -78,7 +78,7 @@ alert("not yet implemented")
|
|||
role="rig-control-tablist"
|
||||
>
|
||||
<a
|
||||
class="py-1 list-group-item list-group-item-action"
|
||||
class="py-1 ps-1 pe-1 list-group-item list-group-item-action"
|
||||
id="list-rig-control-none-list"
|
||||
data-bs-toggle="list"
|
||||
href="#list-rig-control-none"
|
||||
|
@ -89,7 +89,7 @@ alert("not yet implemented")
|
|||
>None/Vox</a
|
||||
>
|
||||
<a
|
||||
class="py-1 list-group-item list-group-item-action"
|
||||
class="py-1 ps-1 pe-1 list-group-item list-group-item-action"
|
||||
id="list-rig-control-rigctld-list"
|
||||
data-bs-toggle="list"
|
||||
href="#list-rig-control-rigctld"
|
||||
|
@ -100,7 +100,7 @@ alert("not yet implemented")
|
|||
>Rigctld</a
|
||||
>
|
||||
<a
|
||||
class="py-1 list-group-item list-group-item-action"
|
||||
class="py-1 ps-1 pe-1 list-group-item list-group-item-action"
|
||||
id="list-rig-control-tci-list"
|
||||
data-bs-toggle="list"
|
||||
href="#list-rig-control-tci"
|
||||
|
|
|
@ -14,7 +14,7 @@ const chat = useChatStore(pinia);
|
|||
import { useStateStore } from "../store/stateStore.js";
|
||||
const state = useStateStore(pinia);
|
||||
|
||||
import { sendMessage } from "./sock.js";
|
||||
import { sendMessage, sendBroadcastChannel } from "./sock.js";
|
||||
import { displayToast } from "./popupHandler.js";
|
||||
|
||||
|
||||
|
@ -191,7 +191,8 @@ let newChatObj: messageDefaultObject = {
|
|||
};
|
||||
|
||||
|
||||
sendMessage(newChatObj)
|
||||
//sendMessage(newChatObj)
|
||||
sendBroadcastChannel(newChatObj)
|
||||
|
||||
addObjToDatabase(newChatObj);
|
||||
}
|
||||
|
|
|
@ -825,9 +825,15 @@ export function sendFecIsWriting(mycallsign) {
|
|||
}
|
||||
|
||||
// SEND FEC TO BROADCASTCHANNEL
|
||||
export function sendBroadcastChannel(channel, data_out, uuid) {
|
||||
let checksum = "";
|
||||
let command = "";
|
||||
//export function sendBroadcastChannel(channel, data_out, uuid) {
|
||||
export function sendBroadcastChannel(obj) {
|
||||
|
||||
let checksum = obj.checksum;
|
||||
let command = obj.command;
|
||||
let uuid = obj.uuid;
|
||||
let channel = obj.dxcallsign
|
||||
let data_out = obj.msg
|
||||
|
||||
let data = btoa_FD(
|
||||
"m" +
|
||||
split_char +
|
||||
|
|
Loading…
Reference in a new issue