diff --git a/gui/main.js b/gui/main.js index 8f27b8d8..728b188d 100644 --- a/gui/main.js +++ b/gui/main.js @@ -121,4 +121,7 @@ ipcMain.on('request-update-daemon-connection', (event, arg) => { ipcMain.on('run-tnc-command', (event, arg) => { win.webContents.send('run-tnc-command', arg); }); - \ No newline at end of file + +ipcMain.on('request-update-rx-buffer', (event, arg) => { + win.webContents.send('action-update-rx-buffer', arg); +}); \ No newline at end of file diff --git a/gui/preload-main.js b/gui/preload-main.js index 1dc233b9..07fda88a 100644 --- a/gui/preload-main.js +++ b/gui/preload-main.js @@ -550,6 +550,11 @@ try { }); +ipcRenderer.on('action-update-rx-buffer', (event, arg) => { + +var daten = arg.["DATA"][0] +console.log(daten) +}); ipcRenderer.on('action-update-daemon-state', (event, arg) => {