From 44672cc2a4f14acaba5960b63b16b904e6de642b Mon Sep 17 00:00:00 2001 From: Ramakrishnan Muthukrishnan Date: Tue, 4 Jan 2022 15:49:08 +0530 Subject: [PATCH] send a custom PING message once serial port is opened --- rigctl.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/rigctl.c b/rigctl.c index 3c08035..6c181db 100644 --- a/rigctl.c +++ b/rigctl.c @@ -4152,6 +4152,11 @@ int launch_serial() { g_print("g_thread_new failed on serial_server\n"); return 0; } + + // send a PING message + char *ping = "PING"; + send_resp(serial_client->fd, ping); + return 1; } -- 2.45.2