Mike Black W9MDB
|
2cc68f4773
|
Fix compilation for mingw DLL
|
2024-01-21 16:38:19 -06:00 |
Mikael Nousiainen
|
eb7634abfb
|
Merge upstream changes and fix conflicts
|
2024-01-15 09:24:17 +02:00 |
Mike Black W9MDB
|
eab660500e
|
Suppress UDP packet error when errno==0
https://github.com/Hamlib/Hamlib/issues/1461
|
2024-01-06 16:12:48 -06:00 |
Mikael Nousiainen
|
051e671bfa
|
Merge upstream changes and fix conflicts. Use snprintf() in most sprintflst.c functions to avoid buffer overflows.
|
2024-01-04 10:43:15 +02:00 |
Mike Black W9MDB
|
08ba518b71
|
Change network.s to allow MacOS compilation for is_networked
https://github.com/Hamlib/Hamlib/issues/1463
|
2023-12-26 06:40:11 -06:00 |
Mike Black W9MDB
|
32f37d390f
|
Allow mulitcast receiver to continue after error==0
https://github.com/Hamlib/Hamlib/issues/1418
|
2023-12-25 16:13:43 -06:00 |
Mike Black W9MDB
|
3ba1bc2c19
|
Get the right variable name for checking the 169.x.x.x address
https://github.com/Hamlib/Hamlib/issues/1461
|
2023-12-24 22:26:04 -06:00 |
Mike Black W9MDB
|
b2850ff7a8
|
Fix warning message on duplicate IP addresses to only when trying to use
https://github.com/Hamlib/Hamlib/issues/1461
|
2023-12-24 16:25:43 -06:00 |
Mike Black W9MDB
|
675ed1c85a
|
Fix 169.x.x.x network detection
https://github.com/Hamlib/Hamlib/issues/1461
|
2023-12-24 16:18:48 -06:00 |
Mike Black W9MDB
|
a1b56bc315
|
Prevent multicast from trying to use 169.x.x.x network
https://github.com/Hamlib/Hamlib/issues/1461
|
2023-12-24 14:52:37 -06:00 |
Mike Black W9MDB
|
8c8c20c256
|
Make multicast bind the IPV4 address if available
https://github.com/Hamlib/Hamlib/issues/1461
|
2023-12-24 11:39:30 -06:00 |
Mike Black W9MDB
|
37c0f07ecb
|
Add some debug for https://github.com/Hamlib/Hamlib/issues/1461
|
2023-12-23 00:01:56 -06:00 |
Mikael Nousiainen
|
1cc08d2f00
|
Merge upstream and fix conflicts
|
2023-12-19 18:03:12 +02:00 |
Mike Black W9MDB
|
3a6073d401
|
astyle files
|
2023-12-18 08:25:15 -06:00 |
Mike Black W9MDB
|
bc6f874675
|
Fix wireless detection
|
2023-12-17 23:13:32 -06:00 |
Mike Black W9MDB
|
dbb8f4d5a7
|
Remove some debug statements
|
2023-12-17 22:29:21 -06:00 |
Mike Black W9MDB
|
1f38d59153
|
Fix Windows rigctl shutdown
https://github.com/Hamlib/Hamlib/issues/1448
|
2023-12-17 17:38:28 -06:00 |
Mike Black W9MDB
|
e267c62764
|
astyle files
|
2023-12-16 11:37:58 -06:00 |
Mike Black W9MDB
|
27d7e8bd2d
|
Revert "Speed up shutdown of multicast thread"
This broke Windows rigctl quit
This reverts commit b25b496051 .
|
2023-12-09 15:57:47 -06:00 |
Mike Black W9MDB
|
b25b496051
|
Speed up shutdown of multicast thread
|
2023-12-09 09:45:21 -06:00 |
Mike Black W9MDB
|
7973db52de
|
Remove debug from network.c
|
2023-11-29 14:53:39 -06:00 |
Mike Black W9MDB
|
001dd01a10
|
Fix more compile errors for mingw
|
2023-11-29 12:53:16 -06:00 |
Mike Black W9MDB
|
756fad1c72
|
Fix compile error on mingw with network.c
|
2023-11-29 12:47:38 -06:00 |
Mike Black W9MDB
|
07f57cfc18
|
Fix error on ctrl-c of rigctld
|
2023-11-29 12:45:11 -06:00 |
Mike Black W9MDB
|
46c16b22a0
|
Fix compile warning
|
2023-11-26 12:41:26 -06:00 |
Mikael Nousiainen
|
00cb0eccdc
|
Fix multicast publisher write commands to use a mutex lock to prevent corruption in (spectrum) data written with multiple write() calls. Remove unnecessary hl_usleep() calls in Icom backend, as the frame parser will correctly detect transceive messages.
|
2023-11-22 18:41:55 +02:00 |
Mikael Nousiainen
|
7b341a2ad6
|
Merge branch 'master' into streamline-vfo-targeting-and-split-functionality
|
2023-11-20 10:16:15 +02:00 |
Mike Black W9MDB
|
41a1da795c
|
Fix build for Apple
https://github.com/Hamlib/Hamlib/issues/1430
|
2023-11-16 15:42:52 -06:00 |
Mike Black W9MDB
|
c1780b19f4
|
Add wireless detection for multicast address -- possible fix for UDP error messages by using 127.0.0.1 instead of IN_ADDR_ANY
https://github.com/Hamlib/Hamlib/issues/1409
|
2023-11-16 09:05:29 -06:00 |
Mike Black W9MDB
|
8478367223
|
Improve rigctld printout when TCP session is aborted
|
2023-11-14 10:23:14 -06:00 |
Mikael Nousiainen
|
89abbfeb3a
|
Merge master and fix conflicts
|
2023-11-07 09:41:29 +02:00 |
Mike Black W9MDB
|
02ffc6d6dc
|
More set_conf/get_conf work
https://github.com/Hamlib/Hamlib/issues/971
|
2023-11-05 17:03:21 -06:00 |
Mikael Nousiainen
|
43d1fbb323
|
Add more detailed rig communication status to rig_state and multicast state data packets. Handle SIGINT and SIGTERM in a consistent way in both rigctl and rigctld.
|
2023-11-06 00:42:02 +02:00 |
Mikael Nousiainen
|
41c891251f
|
Fix multicast receiver shutdown by using non-blocking sockets and select(). Use the same port number 4532 for both state snapshots and commands -- it is enough to have different multicast groups for them. Publish multicast state snapshots more often (change detection interval now set to 50ms), but at least at interval defined by poll_interval.
|
2023-11-03 17:18:49 +02:00 |
Mikael Nousiainen
|
5b86d4efff
|
Bind multicast receiver to INADDR_ANY on Windows, because binding to multicast group IPs doesn't seem to work. Use a different port number for (4351) multicast receiver commands to avoid multicast publisher packets ending up in the receiver (loopback issue).
|
2023-11-02 18:00:16 +02:00 |
Mikael Nousiainen
|
88e86fb62a
|
Comment out SO_REUSEADDR for now
|
2023-11-02 00:35:47 +02:00 |
Mikael Nousiainen
|
53ff60d981
|
Fix socket option again
|
2023-11-02 00:32:05 +02:00 |
Mikael Nousiainen
|
5fb2e68e07
|
Fix warning
|
2023-11-02 00:20:15 +02:00 |
Mikael Nousiainen
|
f36822ac20
|
Fix socket option
|
2023-11-02 00:18:27 +02:00 |
Mikael Nousiainen
|
f618540f22
|
Join multicast group to enable UDP packet reception
|
2023-11-02 00:11:57 +02:00 |
Mikael Nousiainen
|
c8c8869a3c
|
Refactor multicast publisher and rig poll routine. Create skeleton for multicast command server.
|
2023-11-01 00:26:37 +02:00 |
Mike Black W9MDB
|
fb03d095df
|
Add recvfrom for client to send commands to multicast server
https://github.com/Hamlib/Hamlib/issues/695
|
2023-10-30 22:53:13 -05:00 |
Mike Black W9MDB
|
012534a628
|
Add nonblock mode to multicast for recv_from use
https://github.com/Hamlib/Hamlib/issues/695
|
2023-10-30 10:23:13 -05:00 |
Mike Black W9MDB
|
6b558c5d2a
|
Revert "Add nonblocking mode to multicast for recv_from use"
This reverts commit f9bd07bbf5 .
|
2023-10-30 10:21:58 -05:00 |
Mike Black W9MDB
|
f9bd07bbf5
|
Add nonblocking mode to multicast for recv_from use
https://github.com/Hamlib/Hamlib/issues/695
|
2023-10-30 10:20:52 -05:00 |
Mikael Nousiainen
|
8ab8aafe48
|
Streamline VFO targeting and split functionality. Rewrite Icom backend routines to always avoid VFO swapping is the rig supports the 'targetable' commands 0x25 and 0x26. Work in progress.
|
2023-10-29 10:28:36 +02:00 |
Mike Black W9MDB
|
192822417b
|
Fix segfault for Kenwood L MICGAIN
Fix potential segfault in iofunc.c when stopset is null
|
2023-10-23 09:33:32 -05:00 |
Mike Black W9MDB
|
a8f224e660
|
Reduce debug for multicast
https://github.com/Hamlib/Hamlib/issues/695
|
2023-10-22 22:48:36 -05:00 |
Mike Black W9MDB
|
541c1e1de2
|
Send out immediate multicast packet on freq,mode,split,ptt,width changes
https://github.com/Hamlib/Hamlib/issues/695
|
2023-10-22 16:58:44 -05:00 |
Mike Black W9MDB
|
84875071a9
|
Change modelist to modes array
Change id: to 3-elements
1 packet per second right now -- but will soon send out a packet upon any change of data
https://github.com/Hamlib/Hamlib/issues/695
|
2023-10-22 13:18:51 -05:00 |