diff --git a/freedata_gui/src/components/grid/grid_active_heard_stations.vue b/freedata_gui/src/components/grid/grid_active_heard_stations.vue index a812776e..d6673c99 100644 --- a/freedata_gui/src/components/grid/grid_active_heard_stations.vue +++ b/freedata_gui/src/components/grid/grid_active_heard_stations.vue @@ -16,6 +16,11 @@ const chat = useChatStore(pinia); import { getStationInfoByCallsign } from "./../../js/stationHandler"; +import { sendModemPing } from "../../js/api.js"; + + + + function getDateTime(timestampRaw) { var datetime = new Date(timestampRaw * 1000).toLocaleString( navigator.language, @@ -71,6 +76,13 @@ function startNewChat(callsign) { chat.newChatCallsign = callsign; chat.newChatMessage = "Hi there! Nice to meet you!"; } + +function transmitPing(callsign) { + sendModemPing(callsign.toUpperCase()); +} + + +