Commit graph

1846 commits

Author SHA1 Message Date
Mike Black W9MDB
a469823028 Fix cppcheck unused warning 2023-10-01 13:28:29 -05:00
Mike Black W9MDB
f00661a8ae Fix unused cppcheck warnings
https://github.com/Hamlib/Hamlib/issues/1351
2023-10-01 12:01:38 -05:00
Mike Black W9MDB
e1e7112cb5 Fix redundant cppcheck warnings
https://github.com/Hamlib/Hamlib/issues/1351
2023-10-01 11:54:44 -05:00
Mike Black W9MDB
8bb6a57548 Reduce debug in fifo.c 2023-09-30 15:43:52 -05:00
Mike Black W9MDB
6644afbf8d Fix segfault with rigctld/rigctl -m 2 -u
https://github.com/Hamlib/Hamlib/issues/1386
2023-09-20 17:35:29 -05:00
Mike Black W9MDB
1fbb03fa92 Remove multicast.c from build
https://github.com/Hamlib/Hamlib/issues/695
2023-09-20 12:17:10 -05:00
Mike Black W9MDB
5f825aa0d4 Add modelist to multicast
Add time to multicast
Fix id to show rig+path
Remove sleep to speed up multicast packets to once per seconds
https://github.com/Hamlib/Hamlib/issues/695
2023-09-18 12:48:39 -05:00
Mike Black W9MDB
86df4001a1 Remove one more section from multicast to avoid compile warning fornow.
https://github.com/Hamlib/Hamlib/issues/695
2023-09-16 11:25:22 -05:00
Mike Black W9MDB
57c8819ce0 Remove multicast rx until we get it working
https://github.com/Hamlib/Hamlib/issues/695
2023-09-16 10:00:07 -05:00
Mike Black W9MDB
e9ef4c1a81 Add ModeList to multicast packet
https://github.com/Hamlib/Hamlib/issues/695
2023-09-16 09:47:30 -05:00
Mike Black W9MDB
0bee582095 Remove some more debug from multicast.c to get git build working again 2023-09-15 23:50:50 -05:00
Mike Black W9MDB
e972262e80 Remove some debug from multicast as github build was perhaps failing on it 2023-09-15 23:43:09 -05:00
Mike Black W9MDB
3e91601a0f Fix JSON for multicast 2023-09-15 23:22:10 -05:00
Mike Black W9MDB
3cf5fab21d Slow down multicast broadcast when no change has occurred
https://github.com/Hamlib/Hamlib/issues/1090
2023-09-14 09:44:50 -05:00
Mike Black W9MDB
ee807a7541 Prevent multicast from doing rig queries at all for now -- threading contention needs to be addressed
https://github.com/Hamlib/Hamlib/issues/695
2023-09-14 08:55:21 -05:00
Mike Black W9MDB
a00326161c Phase I of rig multicast
https://github.com/Hamlib/Hamlib/issues/1090
2023-09-13 17:25:26 -05:00
Mike Black W9MDB
2e3e0df4d6 Remove debug from serial.c 2023-08-29 07:45:42 -05:00
Mike Black W9MDB
b40da0f6b0 Increase send_morse size to use maximum for rigs or 20 chars (if morse_qsize unknown)
This will still allow for up to 1023 characater to queue up.
No guarantees on which rigs allow for this queuing though.
Kenwood rigs can at least find the buffer status to wait for room but not all rigs do.
https://github.com/Hamlib/Hamlib/issues/1368
2023-08-19 12:36:07 -05:00
Mike Black W9MDB
af86f44eac Fix CW morse infinite loop when error occurs RIG_EINVAL 2023-08-18 22:35:21 -05:00
Mike Black W9MDB
3814f2dadf Add set_voice_mem and stop_voice_mem for K3/K3S/K4
https://github.com/Hamlib/Hamlib/issues/1367
2023-08-18 16:49:35 -05:00
Mike Black W9MDB
8c63fdeafc Add KEYERTYPE for IC-7300, IC-705, IC-9700
https://github.com/Hamlib/Hamlib/issues/1363
2023-08-17 17:52:03 -05:00
Mike Black W9MDB
e887152407 Fix parm_gran
https://github.com/Hamlib/Hamlib/issues/1357
2023-08-17 16:04:45 -05:00
Mike Black W9MDB
5062d565a9 Add the ability to parse '1' in parse_vfo for gpredict 'S 1 1' and 'S 0 1' command
https://github.com/Hamlib/Hamlib/issues/1362
2023-08-14 16:15:03 -05:00
Mike Black W9MDB
ac5018a9a3 Update 60M band for BANDSELECT 2023-08-11 13:31:23 -05:00
Mike Black W9MDB
1f50b88320 Fill out BANDSELECT frequency table
https://github.com/Hamlib/Hamlib/issues/1353
2023-08-11 12:12:17 -05:00
Mike Black W9MDB
d7d450df49 Add parm BANDSELECT for Yaesu rigs
'p BANDSELECT' returns current band of VFOA
'P BANDSELECT BAND160M' example selects the 160M band
'P BANDSELECT ?' shows  bands available for the rig
Kenwood rigs will be next
Icom rigs TBD when Icom explains the return from 0x1a 0x01 -- no bandselect possible so manual setting of rig values
https://github.com/Hamlib/Hamlib/issues/1353
2023-08-11 10:40:42 -05:00
Mike Black W9MDB
55370c1e64 Fix non-targetable VFO Icom rigs (e.g. IC7100) error during open routine by call get_freq first to establish echo on or off
https://github.com/Hamlib/Hamlib/issues/1358
2023-08-07 17:21:39 -05:00
Mike Black W9MDB
89797e5a54 Fix rig_set_freq to only set vfo at end when needed
https://github.com/Hamlib/Hamlib/issues/1126
2023-07-31 22:40:42 -05:00
Mike Black W9MDB
d9b1cfb404 Fix fifo.c mutex handling 2023-07-31 09:08:34 -05:00
Mike Black W9MDB
006f724dae Make fifo.c thread safe 2023-07-30 07:53:17 -05:00
Mike Black W9MDB
b4ddf64b31 Assume rig is powered on if get_powerstat is not implemented 2023-07-30 07:25:57 -05:00
Mike Black W9MDB
21c5c3f419 Update comments in rig.c 2023-07-30 07:17:44 -05:00
George Baltz N3GB
192b5fe7a5 Fix segfault on rigctl exit
If rigctl does a recovery close/open cycle, a freed buffer gets reused.
This can cause segfault or worse.
2023-07-28 08:13:03 -04:00
Mike Black W9MDB
da96315dc5 Fix serial.c
https://github.com/Hamlib/Hamlib/issues/1123
2023-07-24 12:19:14 -05:00
Mike Black W9MDB
09143fcff9 Make find_port win32_serial_find_port so it can used elsewhere
Use WIN32 PurgeComm instead of polling chars
https://github.com/Hamlib/Hamlib/issues/1123
2023-07-24 12:15:37 -05:00
Mike Black W9MDB
557e9a71e5 Change fifo push to eliminate chars > x80
sending 0xff through rigctld was pushing -1 and causing peek to lock up
2023-07-24 09:44:40 -05:00
Mike Black W9MDB
d02b9f02b1 Force flush of rig when first opened
https://github.com/Hamlib/Hamlib/issues/1123
2023-07-23 16:04:31 -05:00
Mike Black W9MDB
9c246ed3fb Disable use_cached_freq/mode for Icom rigs -- we can't tell which VFO we're on
https://github.com/Hamlib/Hamlib/issues/1221
2023-07-23 09:19:25 -05:00
Mike Black W9MDB
9ad070c33f Add gpio command to rigctl(d) usable with pttport setting CM108
e.g. to set gpio2 on use 'gpio GPIO2 1" and off "gpio GPIO2 0"
Should work with GPIO1-4
New API funcions rig_cm108_get_bit rig_cm108_set_bit
https://github.com/Hamlib/Hamlib/issues/1121
2023-07-22 10:32:25 -05:00
Mike Black W9MDB
d28ce6b798 Bump up some 1024 buffers to 2048 to avoid overflow error 2023-07-21 11:46:58 -05:00
Mike Black W9MDB
f48f6152ff Disallow CR/LF in fifo push 2023-07-21 09:50:42 -05:00
Mike Black W9MDB
c5cc47dcd1 Make fifo routines print hex when needed 2023-07-21 09:44:24 -05:00
Mike Black W9MDB
9b89e3fe23 Fix dtr/rts serial port set for amp and rot 2023-07-20 17:46:39 -05:00
Mike Black W9MDB
8fe3080139 Reduce debug level misc.c 2023-07-20 17:38:05 -05:00
Mike Black W9MDB
7adc91d0ea Prevent segfault in fifo peek 2023-07-20 15:29:47 -05:00
Mike Black W9MDB
2da6c400f7 Add RTS/DTR capability to rotctl and ampctl 2023-07-20 11:58:26 -05:00
Mike Black W9MDB
2f838f2264 Fix make dist error 2023-07-20 11:23:06 -05:00
Mike Black W9MDB
c17b5da379 Move serial_cfg_params to common inlude fill as it is applicate to all serial devices 2023-07-20 11:12:24 -05:00
Mike Black W9MDB
d0eed2b412 Fix windows build dependency on version_dll.rc to hamlibdatetime.h 2023-07-20 09:06:21 -05:00
Mike Black W9MDB
64cb40f066 Fix segfault with testrig and fifo bad values 2023-07-19 12:30:21 -05:00