fixed broken req/res

This commit is contained in:
DJ2LS 2023-02-26 18:11:20 +01:00
parent 42bde2aa1e
commit 794b3451e4
2 changed files with 6 additions and 1 deletions

View file

@ -2580,6 +2580,11 @@ ipcRenderer.on("run-tnc-command", (event, arg) => {
if (arg.command == "requestUserInfo") {
sock.sendRequestInfo(arg.dxcallsign);
}
if (arg.command == "responseUserInfo") {
sock.sendResponseInfo(arg.dxcallsign, arg.userinfo);
}
});
// IPC ACTION FOR AUTO UPDATER

View file

@ -713,7 +713,7 @@ exports.sendRequestInfo = function (dxcallsign) {
//Send station info response
exports.sendResponseInfo = function (dxcallsign, userinfo) {
//Command 0 = user/station information
sendRequest(dxcallsign, 255, 1, userinfo, "res");
sendResponse(dxcallsign, 255, 1, userinfo, "res");
};
//STOP TRANSMISSION