mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
fixed broken req/res
This commit is contained in:
parent
42bde2aa1e
commit
794b3451e4
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue