Wykres commitów

237 Commity (3cb79b3bca3360abad2f767305dee65938dcbb5b)

Autor SHA1 Wiadomość Data
Michael Black W9MDB a516e18ece Adjust timeout values for netrigctl.c for 5 seconds total instead of 7.5 seconds
https://github.com/Hamlib/Hamlib/issues/308
2020-06-18 17:09:50 -05:00
Michael Black W9MDB 325754c580 Fix FLRig get_mode function
https://github.com/Hamlib/Hamlib/issues/310
2020-06-17 10:37:57 -05:00
Michael Black W9MDB dc07c20e96 Refactor flrig.c calls and provide retries for all transactions
https://github.com/Hamlib/Hamlib/issues/244
2020-06-14 12:58:29 -05:00
Michael Black W9MDB 815db24852 Fix MSVC compile by removing unistd.h and defining our own rig_useconds_t
https://github.com/Hamlib/Hamlib/issues/301
2020-06-13 17:40:47 -05:00
Michael Black W9MDB 078d4a081b Fix cppcheck warning in flrig.c 2020-06-10 15:15:44 -05:00
Michael Black W9MDB f71c12da94 astyle files 2020-06-09 22:37:03 -05:00
Michael Black W9MDB 62cf4e5a88 Change amplifiers to standard version format and promote a few to stable 2020-06-08 16:17:54 -05:00
Michael Black W9MDB b239e227bd Change rotators to standard version format and promote a few to stable 2020-06-08 16:13:08 -05:00
Michael Black W9MDB db3ead4399 Fix dummy to return VFOA for i command when not in split mode 2020-06-07 15:45:06 -05:00
Michael Black W9MDB aeddc1eaec Fix get split on dummy rig
https://github.com/Hamlib/Hamlib/issues/284
2020-06-06 23:44:41 -05:00
Michael Black W9MDB 4fc306ce08 Fix dummy device default frequency
https://github.com/Hamlib/Hamlib/issues/283
2020-06-05 15:05:10 -05:00
Michael Black W9MDB 653d7d1030 Add dummy_no_vfo device for emulating rigs with no set_vfo or get_vfo
https://github.com/Hamlib/Hamlib/issues/277
2020-06-03 11:35:31 -05:00
Bill Somerville d9ab62445c
Deal with remote PTT type at the client end
Remote   PTT   must   always    be   either   RIG_PTT_RIG_MICDATA   or
RIG_PTT_NONE. Also take care not to  override any locally set PTT type
as it is feasible  to use a local hardware PTT at  the client end with
remote  CAT control.   Maybe an  odd arrangement  but Hamlib  does not
preclude it.  This is all  done while  preserving the accuracy  of the
ptt_type value in dump_state requests.
2020-06-01 13:51:44 +01:00
Michael Black W9MDB 94e8859a6f Fix ptt_type to be consistent across open/close calls
https://github.com/Hamlib/Hamlib/issues/270
2020-05-31 15:52:38 -05:00
Michael Black W9MDB 9ecc14f897 Fix RIG_PTT_NONE detection from rigctl client by adding ptt_type to dumpcaps
https://github.com/Hamlib/Hamlib/issues/270
2020-05-30 16:59:36 -05:00
Michael Black W9MDB e214bfe486 Fix netrotctl.c to flush network/serial before every transaction
https://github.com/Hamlib/Hamlib/issues/259
2020-05-28 12:03:18 -05:00
Michael Black W9MDB 677ccac4bc astyle files 2020-05-27 12:23:08 -05:00
Michael Black W9MDB 87a83ffbb1 rigctld now works with rigctl in vfo mode
https://github.com/Hamlib/Hamlib/issues/259
set_vfo_opt can now dynamically change vfo mode on rigctld
So this example now works...does some non-vfo stuff then switches to vfo mode
rigctl -m 2 F 14074000 V VFOB F 14076000 V VFOA f V VFOB f set_vfo_opt 1 f VFOA
rigctl commands v,V and S have been changed to not require VFO arguments
New API function rig_set_vfo_opt -- only implemented for Net rigctl as it doesn't apply to any other rigs
2020-05-27 12:21:41 -05:00
Michael Black W9MDB d2f63c41e6 remove sleep from dummy set_ptt 2020-05-27 06:37:51 -05:00
Bill Somerville 2a3bb20672
Repair a regression with the dummy get PTT functionality 2020-05-26 13:02:34 +01:00
Michael Black W9MDB 545081c8d4 Fix rigctl/rigctld "V VFOA" protocol error
4.0 rigctld now works with 3.3 rigctl client and 4.0 rigctl client
https://github.com/Hamlib/Hamlib/issues/246
2020-05-15 14:17:59 -05:00
Michael Black W9MDB ee5af14b13 Restore backwards compatibility of rigctld
Need to figure out how to make "F" command with VFO backwards compatible probably by dynamic detection of newer rigctld
https://github.com/Hamlib/Hamlib/issues/246
2020-05-13 17:44:17 -05:00
Michael Black W9MDB 74cdd96eda Fix merge of icom.c 2020-05-11 18:05:11 -05:00
Michael Black W9MDB 13cf6ba5b6 Improve flrig retry handling 2020-05-10 22:44:34 -05:00
mdblack98 f8321a36f4 Fix cppcheck warnings and fill out unused RIG_LEVEL items 2020-05-05 23:33:40 -05:00
mdblack98 a3b1b055b3 Fix cppcheck warnings 2020-05-05 11:32:09 -05:00
mdblack98 bf1a05084d astyle files 2020-05-03 17:24:42 -05:00
mdblack98 85ecc848f8 Make netrigctl_close synchronous
There was a race condition where closing and reopening quickly could cause rigctld to fail
2020-05-03 17:08:29 -05:00
mdblack98 12320d451f Add a short sleep to dummy_open and dummy_close 2020-05-03 16:04:59 -05:00
mdblack98 e8ee703605 Change hl_sleep to usleep in dummy.c 2020-04-27 17:31:44 -05:00
mdblack98 5eb5b6f3d8 https://github.com/Hamlib/Hamlib/issues/227
Added read_only flag everywhere
2020-04-26 14:37:03 -05:00
mdblack98 7dcb0ae88e astyle updates 2020-04-25 11:28:38 -05:00
mdblack98 a444e6eb20 Add one more retry to netrigctl.c 2020-04-22 14:36:27 -05:00
mdblack98 dc29c94a76 Allow netrigctl 1 retry 2020-04-22 10:03:26 -05:00
mdblack98 ee562ddd03 Add some sleeps to the dummy emulator for more realistic behavior 2020-04-22 09:03:14 -05:00
Michael Black W9MDB 8e1f6c9fc1 Fix debug statement and allow read_string error to retry in flrig.c 2020-04-21 07:56:00 -05:00
Michael Black fa101ae467 Add comment to netrigctl.c 2020-04-04 15:48:53 -05:00
Michael Black 6a2e675216 Added new protocol 1 for dumpcaps with vfo_ops as the first one implemented
Protocol 1 is setting=value.  Order does not matter.  Can be multiline.
And is forward compatible as new values will just generate warnings on older versions
2020-04-04 09:38:50 -05:00
Michael Black b040803765 Standard all version numbers to YYYYMMDD.N where n is intended for multiple versions in one day.
So typically .N will be .0
2020-03-29 23:03:21 -05:00
Michael Black 679db60483 Fix some more cppcheck warnings 2020-03-19 12:10:20 -05:00
Michael Black a6631a412e Fix cppcheck warning in dummy.c 2020-03-19 09:19:06 -05:00
Michael Black 1a4faf22d0 Add set_conf get_conf to rot_dummy.c 2020-03-10 09:17:55 -05:00
Michael Black d0f114b178 Add macro_name to caps structures for rig, rot, and amp devices 2020-03-05 23:48:14 -06:00
Michael Black d856248178 Add RIG_MODEL macro and change all rigs to support it 2020-03-05 08:44:18 -06:00
Michael Black ff8ddf018c astyle all C files 2020-02-23 11:26:09 -06:00
Michael Black 296c10a616 Increase size of vfostr object in netrigctl 2020-02-20 14:54:50 -06:00
Michael Black e315f5e3ac Added skeleton for new get_ant function that will return ant_tx and ant_rx if known
Every rig will need to be reviewed to fill these in as appropriate
2020-02-18 23:10:14 -06:00
Michael Black 849bc5412b Add ANT3&4 to dummy rig and promote to stable 2020-02-17 23:13:22 -06:00
Michael Black 164c2d3798 Add range labels to dummy 2020-02-17 06:44:24 -06:00
Michael Black feba5ac89a Change rigctl Y and y commands to be 1-based
Added simulation of 4 antennas to dummy device
Examples testing 4 antennas with option value=ant#
Rig command: y 0
Antenna: 1
Option: 0

Rig command: Y 1 1

Rig command: Y 2 2

Rig command: Y 3 3

Rig command: Y 4 4

Rig command: Y 5 5
set_ant: error = Invalid parameter

Rig command: y 0
Antenna: 4
Option: 4

Rig command: Y 1 1

Rig command: y 0
Antenna: 1
Option: 1

Rig command: y 1
Antenna: 1
Option: 1

Rig command: y 2
Antenna: 2
Option: 2
2020-02-10 12:17:30 -06:00