projects
/
pihpsdr.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8cdd340
)
send a custom PING message once serial port is opened
author
Ramakrishnan Muthukrishnan
<ram@rkrishnan.org>
Tue, 4 Jan 2022 10:19:08 +0000
(15:49 +0530)
committer
Ramakrishnan Muthukrishnan
<ram@rkrishnan.org>
Tue, 4 Jan 2022 10:19:08 +0000
(15:49 +0530)
rigctl.c
patch
|
blob
|
history
diff --git
a/rigctl.c
b/rigctl.c
index 3c0803505a9877934c5c3c8672a566bb224aabf7..6c181db5085b51d413a35c945c0576238442c43e 100644
(file)
--- 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;
}