Commit Graph

2086 Commits

Author SHA1 Message Date
Mike Black W9MDB
3b1283496c Abort multicast routine when UDP errors occur
Some setups don't work correctly and this is not critical now
2024-08-07 17:26:03 -05:00
Mike Black W9MDB
dd9d98ca1a Make write_block_sync return the correct value 2024-08-06 17:10:58 -05:00
Mike Black W9MDB
979d2adccf On EBUSY write we'll do 2 retries with 200ms wait 2024-07-19 23:10:10 -05:00
George Baltz N3GB
1e8ba0dff9 Catch up with latest code
Fix compiler warning
2024-07-14 11:09:05 -04:00
Mike Black W9MDB
8cc51f5ad7 Fix Flex 127.0.0.1 error 2024-07-11 22:26:11 -05:00
Mike Black W9MDB
f5ad3c64bf Fix compile problem with __TIMESIZE on some OS's
https://github.com/Hamlib/Hamlib/issues/1582
2024-07-11 22:17:29 -05:00
Mike Black W9MDB
6ed7cfe73d Fix 2038 compile warnings and string usage 2024-07-05 08:43:54 -05:00
Mike Black W9MDB
7b9f1241d9 Fix null check compile warning 2024-07-05 08:19:35 -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
98f6c1aea6 Add Commradio CTX-10 2024-06-30 14:58:08 -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
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
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
08c82ddbb5 Fix possible segfault in 2038 testing 2024-06-25 12:10:35 -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
George Baltz N3GB
697904c882 Finish all port initialization before allowing I/O. 2024-06-15 11:03:58 -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
Mike Black W9MDB
ce84fc68a5 Remove debug from conf.c 2024-06-14 09:57:05 -05:00
Mike Black W9MDB
efcea5ddcd Add UDP/TCP info to debug 2024-06-06 17:39:47 -05:00
Mike Black W9MDB
83583b6c0a Add some debug to network.c 2024-06-06 17:26:57 -05:00
Mike Black W9MDB
3ce55b2a94 Fix mingw compilation 2024-06-02 08:15:16 -05:00
Mike Black W9MDB
c9cc7f0792 Make sure PTT is turned off when doing a band change 2024-06-01 15:48:04 -05:00
Mike Black W9MDB
745e72a6cf Add
ROT_MOVE_UP_LEFT, ROT_MOVE_UP_CCW
ROT_MOVE_UP_RIGHT, ROT_MOVE_UP_CW
ROT_MOVE_DOWN_LEFT, ROT_MOVE_DOWN_CCW
ROT_MOVE_DOWN_RIGHT, ROT_MOVE_DOWN_CW
Supported by SPID rotators
2024-05-30 17:34:02 -05:00
Mike Black W9MDB
3583b077e8 Add network_flush2 to support async messages from Flex TCP
This allow one to send a command to the Flex and process all the messages returned in the backend rather than thread.
This then gives a synchronous behavior which clients expect
2024-05-29 06:13:59 -05:00
Mike Black W9MDB
a300a73f1d Fix RIG_ELIMIT error 2024-05-28 22:41:10 -05:00
Mike Black W9MDB
86dc5c8d6f Add new error message for ELIMIT 2024-05-28 22:36:39 -05:00
Mike Black W9MDB
c730e445a1 Add new error ELIMIT for things like rot_move that exceed set limits 2024-05-28 22:35:46 -05:00
George Baltz N3GB
f53dc99057 Normalize some debug/trace output.
Make spaces(len) actually return a string of length 'len', not len + 1.
Eliminate static writable memory and a 256 byte write on each debug/trace
 call.
Make the depth stars line up.
2024-05-27 20:31:46 -04:00
Mike Black W9MDB
18568986f8 Fix port override 2024-05-25 11:38:16 -05:00
Mike Black W9MDB
d27a8e9df5 SmartSDR Slice improvements 2024-05-24 10:25:02 -05:00
Mike Black W9MDB
0652f65d0e Remove hamlib_settings.c warning message unti this is implemented 2024-05-23 11:04:36 -05:00
Mike Black W9MDB
cd4c5e5cdd Update band_change.c.example 2024-05-23 07:18:09 -05:00
Mike Black W9MDB
b7adb19c7e Override port selection for SmartSDR since 4992 is always the port 2024-05-22 11:32:26 -05:00
Michael Black
efbe365701
Revert "Refactoring GPIO push-to-talk logic to use libgpiod rather than the d…" 2024-05-12 14:37:23 -05:00
Michael Black
c06255d364
Merge pull request #1539 from aschuhardt/libgpiod
Refactoring GPIO push-to-talk logic to use libgpiod rather than the d…
2024-05-12 11:41:31 -05:00
Mike Black W9MDB
85d9d8d62c Make ignoring morse handler more generic 2024-05-05 22:17:17 -05:00
Mike Black W9MDB
c2b8f2b4fe Improve SDRCONSOLE behavior 2024-05-05 16:03:50 -05:00
Mike Black W9MDB
92e82a25d2 Fix possible null argument in rig_test_2038 2024-04-26 17:35:18 -05:00
Mike Black W9MDB
e9a9424eed Adding motorola rig 2024-04-24 12:06:00 -05:00