Commit Graph

11450 Commits

Author SHA1 Message Date
Mike Black W9MDB
7b9f1241d9 Fix null check compile warning 2024-07-05 08:19:35 -05:00
Mike Black W9MDB
388a18e5da IC-7100 is sending 0xe1 for broadcast frames so add 0xe1 as an async packet type
https://github.com/Hamlib/Hamlib/issues/1575
2024-07-05 08:16:30 -05:00
Mike Black W9MDB
660bfcb1d9 Allow 0xe1 async frames in icom frame.c 2024-07-04 17:24:11 -05:00
Mike Black W9MDB
6a2bbf130d Fix mode array in pmr171.c 2024-07-04 15:49:45 -05:00
Mike Black W9MDB
5daf92d224 rigctld flush and exit for -L option 2024-07-04 12:23:57 -05:00
Mike Black W9MDB
328731921e Discard Icom packets with E1 controller code
These are async packets which were getting flushed but have to be handled individually.
Have to hande these as generic flush before sending command breaks async packets when echo is on.
https://github.com/Hamlib/Hamlib/issues/1575
2024-07-04 11:52:05 -05:00
Mike Black W9MDB
150ac1608f Fix segfault when running rigctld --ptt-file=/dev/pts/4 --ptt-type=RTS
https://github.com/Hamlib/Hamlib/issues/1560
2024-07-03 22:24:17 -05:00
Michael Black
f98fc86f93
Merge pull request #1573 from GeoBaltz/rp12
More conversion to pointers
2024-07-02 17:25:29 -05:00
GeoBaltz
a2aecdcf02
Merge branch 'master' into rp12 2024-07-02 16:54:18 -04:00
George Baltz N3GB
37321a1df8 Play catch-up with recent code. 2024-07-02 13:17:26 -04:00
Mike Black W9MDB
b0dc954a92 Fix spelling error 2024-07-02 12:01:23 -05:00
Mike Black W9MDB
d4480045f3 Improve Flex error message
Add rig_debug_clear -- can make for shorter/better messages in WSJT-X and such
Add conf item "client" so WSJTX and GPREDICT can tell us who they are and we can do special things for them.  Other clients TBD.
2024-07-02 11:58:28 -05:00
George Baltz N3GB
02102f60e4 Convert all rig->state. references in src/rig.c to pointers.
Remove obsolete comment
Fix possible cppcheck squawks/errors after conversion from substructures
   to real pointers.
2024-07-01 16:27:53 -04:00
George Baltz N3GB
00bc700ec1 More pointerizations in src/* 2024-07-01 05:52:46 -04:00
George Baltz N3GB
5b8cc94b01 More pointer conversions for rig->state. 2024-07-01 05:52:45 -04:00
Mike Black W9MDB
fee7007fb9 Add Android.mk file for commradio 2024-06-30 16:25:58 -05:00
Mike Black W9MDB
98f6c1aea6 Add Commradio CTX-10 2024-06-30 14:58:08 -05:00
Mike Black W9MDB
85ab6944bd Add 100ms delay to qdx_set_ptt to flush whatever response the Hilbering PT8000A is sending 2024-06-29 15:40:30 -05:00
Mike Black W9MDB
3f909be270 Fix Hilberling TQ command by ignoring ID check 2024-06-29 15:36:49 -05:00
Mike Black W9MDB
dbd169a83f Merge branch 'master' of https://github.com/Hamlib/Hamlib 2024-06-26 22:13:06 -05:00
Mike Black W9MDB
6aec79b78a Avoid segfault on 32-bit RigPi -- time_t size may be 32-bit 2024-06-26 22:12:36 -05:00
Michael Black
8b0e35ff0a
Merge pull request #1570 from GeoBaltz/fix15
Balance ENTERFUNC/RETURNFUNC calls
2024-06-26 16:07:21 -05:00
George Baltz N3GB
0790f4d72e Fix ENTERFUNC/RETURNFUNC imbalances found by repaired func_chk 2024-06-26 16:44:04 -04:00
George Baltz N3GB
6996a1222c Fix func_chk to do useful things
Allow multiple input files
Do analysis on function-by-function basis
Add 'return' to processing
Fix some false positives in comments
2024-06-26 10:16:12 -04:00
George Baltz N3GB
23e350ad23 Get rid of some false positives for func_chk
Comments only.
2024-06-26 10:16:12 -04:00
George Baltz N3GB
8cdef7f4b1 Finish balancing 2024-06-26 10:16:12 -04:00
George Baltz N3GB
c502556fdb More balancing
In rigs/kenwood/*
2024-06-26 10:16:12 -04:00
George Baltz N3GB
096af1f592 More of the balancing act.
Mostly ENTERFUNC/RETURNFUNC.
2024-06-26 10:16:12 -04:00
George Baltz N3GB
06301679d3 Balance ENTERFUNC/RETURNFUNC usage
Still some unbalanced RETURNFUNC2 usage, but doesn't affect any rig data.
2024-06-26 10:16:12 -04:00
George Baltz N3GB
cd135de590 Balance ENTERFUNC/RETURNFUNC, ENTERFUNC2/RETURNFUNC2, ELAPSED1/ELAPSED2 usage
See that each call to the above is matched by a call to its counterpart.  Most
are cosmetic (now) but EF/RF mismatches make the depth wrong.

Plus the rig->state pointerizations I started this with.
2024-06-26 10:16:12 -04:00
Mike Black W9MDB
1d8d41128a Merge branch 'master' of https://github.com/Hamlib/Hamlib 2024-06-25 22:39:07 -05:00
Mike Black W9MDB
0fe15fa858 Add Guohe PMR-171
https://github.com/Hamlib/Hamlib/issues/1483
2024-06-25 22:38:44 -05:00
Mike Black W9MDB
da4f9fbc3e Add Guohe PMR-171 2024-06-25 22:30:35 -05:00
Mike Black W9MDB
08c82ddbb5 Fix possible segfault in 2038 testing 2024-06-25 12:10:35 -05:00
Mike Black W9MDB
25da0396c9 Remove get_agc_labels from flrig...not working 2024-06-23 06:53:09 -05:00
Mike Black W9MDB
097f2bbead Remove debug from orion.c and slow it down a touch 2024-06-21 16:58:19 -05:00
Mike Black W9MDB
81db5ffa58 Add Orion simulator 2024-06-21 16:55:36 -05:00
Mike Black W9MDB
a0be1bfb32 Change Orion to use a thread for reading and use cache for freq, mode, and split_vfo calls 2024-06-18 22:23:50 -05:00
Mike Black W9MDB
0b9ff1518c Add mutex.h to src/Makefile.am 2024-06-18 12:20:34 -05:00
Mike Black W9MDB
5f0fe34dad Move MUTEX macros to mutex.h to allow inclusion in other code 2024-06-18 11:38:56 -05:00
Mike Black W9MDB
e09d1611b2 Add simic275 2024-06-18 11:27:45 -05:00
Mike Black W9MDB
142f22846c Merge branch 'master' of https://github.com/Hamlib/Hamlib 2024-06-15 22:19:19 -05:00
Mike Black W9MDB
108f52806e Fix segfault when run as rigctl --ptt-file=/dev/ttyUSB2 --ptt-type=RTS
https://github.com/Hamlib/Hamlib/issues/1560
2024-06-15 22:18:59 -05:00
Mike Black W9MDB
0212db94eb Fix segfault when run as rigctl --ptt-file=/dev/ttyUSB2 --ptt-type=RTS 2024-06-15 22:17:06 -05:00
Michael Black
a462bc19ae
Merge pull request #1568 from GeoBaltz/fix14
Fix rotators that want to do I/O before port is open
2024-06-15 12:20:10 -05:00
George Baltz N3GB
697904c882 Finish all port initialization before allowing I/O. 2024-06-15 11:03:58 -04:00
George Baltz N3GB
d1520aa166 Fix other rotators that try to do I/O before open.
Get rid of possible infinite recursion.
2024-06-14 16:33:39 -04:00
George Baltz N3GB
81a8745fca Implement the first user of the deferred set_conf entries.
Testing with simrotorez shows the correct sequence of actions and
  correct commands being received.
2024-06-14 16:23:36 -04:00
George Baltz N3GB
86a7a0636c Definitions, storage and infrastructure for queuing config commands 2024-06-14 16:23:36 -04:00
George Baltz N3GB
341a205bd7 Revert "Fix rotorez set_conf in both rotctl and rotctld -- since it needs to be done after rot_open"
This reverts commit 1557ad70f7.
2024-06-14 16:23:36 -04:00