Wykres commitów

267 Commity (dad55ef1481cb82a93bac73d7d5793b7bfe4cdf5)

Autor SHA1 Wiadomość Data
Mike Black W9MDB cb80f2b18d Fix date_strget to use the "T" seperator for ISO8601 standard
https://github.com/Hamlib/Hamlib/issues/851
2021-12-06 11:50:30 -06:00
Mike Black W9MDB 67e18b865e https://github.com/Hamlib/Hamlib/issues/851
Fix msys ISO8601 date time string -- hopefully portable everywhere
2021-12-06 11:43:22 -06:00
Mike Black W9MDB 674a9868d9 Implement ISO8601 time standard in more places.
Debug time now shows localtime + utc offset
Rigs that can set the clock now can set either local or utc time on the rig
Icom rigs can only display clock#1 right now so users may want either local or utc
So here are IC7300 examples
rigctl -m 3073 -r com3 -s 115200 set_clock local
rigctl -m 3073 -r com3 -s 115200 set_clock utc
2021-12-06 10:23:18 -06:00
Mikael Nousiainen d857f18163 Initial implementation of: reader thread for async handling of rig data, UDP multicast publisher routine and rig state poll thread routine. The reader thread can correctly handle asynchronous data, such as transceive or spectrum data. Work in progress: multi-platform code for I/O routines still missing and the poll routine is not yet in use. Tested briefly on an IC-7300 so far. 2021-11-28 20:52:29 +02:00
Mike Black W9MDB 63a51c36a1 astyle files preparing for 4.4 release 2021-11-28 12:41:10 -06:00
Mike Black W9MDB 921bd9812f Add some debug to misc.c
https://github.com/Hamlib/Hamlib/issues/872
2021-11-24 17:01:15 -06:00
Mike Black W9MDB 42284ef70b Fix G command in netrigctl.c
https://github.com/Hamlib/Hamlib/issues/874
2021-11-20 16:26:47 -06:00
Mike Black W9MDB f044c2bfdd If VFO_RX requested use rx_vfo
https://github.com/Hamlib/Hamlib/issues/866
2021-11-14 22:52:10 -06:00
Mike Black W9MDB 782e39eb33 More fixes to k4_set_ptt
https://github.com/Hamlib/Hamlib/issues/864
2021-11-10 17:39:08 -06:00
Mike Black W9MDB b17d681fc2 More portable debug method -- should work on any compiler 2021-11-08 10:28:28 -06:00
Mike Black W9MDB 5eb169edc1 Add new method for debugging calling functions -- need to test with multiple compilers to see if it compiles OK 2021-11-08 10:19:12 -06:00
Mike Black W9MDB 1ca3d34010 Change Yaeus send_voice_mem to built-in function rather than FUNC implementaion
https://github.com/Hamlib/Hamlib/issues/830
2021-10-22 07:29:27 -05:00
Mike Black W9MDB c9d7a924c7 Add RIG_FUNC_SEND_VOICE_MEM with FT991 as the 1st implementation
https://github.com/Hamlib/Hamlib/issues/830
2021-10-21 17:36:54 -05:00
Mike Black W9MDB 024f7f061c Add RIG_MODE_IQ for FunCube Pro Plus and RS-HFIQ
https://github.com/Hamlib/Hamlib/issues/829
2021-10-18 23:01:38 -05:00
Mike Black W9MDB 7f1faf24c0 Add a few more modes to the mode_map 2021-10-16 10:14:03 -05:00
Mike Black W9MDB a8a317f6ab Move parse_mode error message to the function itself 2021-10-16 09:45:24 -05:00
Mike Black W9MDB dc70e2a41f Fix LSB/USB in rigctl_parse_mode 2021-10-16 09:27:04 -05:00
Mike Black W9MDB 4462fe423e Add USB-D and LSB-D to mode_map for Log4OM mode requests 2021-10-16 09:20:24 -05:00
Mike Black W9MDB 2319d17389 Fix rigs so that VFOB/A split works as well as VFOA/B
https://github.com/Hamlib/Hamlib/issues/745
2021-10-08 23:55:48 -05:00
Mike Black W9MDB cc5010d0e3 Add otherVFO to misc.c 2021-09-25 11:45:42 -05:00
Mike Black W9MDB 388294c3d6 Fix RIG_STATUS_STABLE misspelling 2021-09-15 13:50:31 -05:00
Mike Black W9MDB 8cc59cca3b Rigs have been at BETA status forever so promoting all to STABLE 2021-09-15 13:44:42 -05:00
Mike Black W9MDB e88ef72003 Reduce scope of var in misc.c 2021-09-11 11:04:13 -05:00
Mike Black W9MDB 820e4d4310 Fix compilation of misc.c with gmtime_r replacement function for mingw
https://github.com/Hamlib/Hamlib/issues/784
2021-09-02 17:08:10 -05:00
kacomet 574f22b096 Corrected modes for FT-736R. The FT-736 supports SSB, CW, FM, FM-N (narrowband FM,) CW-N (narrowband CW.) Now, the FM-N and CW-N modes can be set from rigctl. Passbands have also been corrected to the values in the manual. 2021-08-27 19:41:38 -05:00
Mike Black W9MDB 283281c4cb astyle all files preparing for 4.3 release 2021-08-26 06:49:24 -05:00
Wouter van Gulik 95a10624c1 src/misc.c: Constify some tables 2021-08-21 22:48:02 +02:00
Mike Black W9MDB 0a0873252e Fix CodeQL warnings 2021-08-13 12:28:58 -05:00
Mike Black W9MDB f8974c1e86 Implment FTDX101D/MP FTDX9000 METER_TEMP
https://github.com/Hamlib/Hamlib/issues/755
2021-08-02 23:55:24 -05:00
Mike Black W9MDB 4bfd71f91f Fix Icom split and implement reverse split
These should work now from rigctl and via the API
S VFOB 1 VFOA
S Sub 1 Main
https://github.com/Hamlib/Hamlib/issues/754
2021-08-02 23:37:31 -05:00
Mike Black W9MDB 592ca86fc6 Allow Main/Sub to be returned from vfo_fixup 2021-08-01 12:11:46 -05:00
Mike Black W9MDB cb892602b4 Do not change TX_VFO when VFO_B is passed to vfo_fixup and split is off
https://github.com/Hamlib/Hamlib/issues/741
2021-07-15 15:59:28 -05:00
Mike Black W9MDB 26dffeef4d Fix misc.c vfo_fixup to not change VFOB when VFOB requested
https://github.com/Hamlib/Hamlib/issues/741
2021-07-15 15:50:22 -05:00
Mike Black W9MDB a6d91eb8a8 Change vfo_fixup to default to VFO_A when not in split mode
Was staying on VFO_B when VFO_B was requested
https://github.com/Hamlib/Hamlib/issues/741
2021-07-15 15:32:32 -05:00
Mike Black W9MDB b340d594f0 Re-enable rig_flush due to command stacking occurring on K3 (and probably others)
https://github.com/Hamlib/Hamlib/issues/728
2021-06-22 10:53:28 -05:00
Mikael Nousiainen 263c16984a Attempt to handle asynchronously pushed Icom CI-V frames (transceive and spectrum data) as these frame will get interleaved with command responses 2021-05-30 01:36:49 +03:00
Mike Black W9MDB 903df5cb95 Fix RIG_FLUSH_REMOVE #ifdef -- duh....
https://github.com/Hamlib/Hamlib/pull/712
2021-05-27 09:01:48 -05:00
Mike Black W9MDB 3c50d53273 Merge branch 'master' of https://github.com/Hamlib/Hamlib 2021-05-27 07:55:59 -05:00
Mike Black W9MDB 7913de79e1 Allow testing removal of rig_flush()
https://github.com/Hamlib/Hamlib/pull/712
2021-05-27 07:35:46 -05:00
Mikael Nousiainen 12527581b0 Add SPECTRUM_ATT level (also supported by Kenwood rigs). Get VFO frequency for Icom spectrum edge ranges (if not cached). Fix preamp levels based on docs. Add supported AGC levels to recent Icom rigs. 2021-05-27 10:12:01 +03:00
Mikael Nousiainen a7de662937 Merge branch 'master' into initial-spectrum-scope-support 2021-05-26 23:41:38 +03:00
Mikael Nousiainen b4ba22d369 Implemented initial abstraction for spectrum scope data and support for Icom spectrum data output. The abstraction is based on common features of both Icom and Kenwood rigs. Added TRANSCEIVE func and enumeration of supported AGC levels. Work in progress. 2021-05-26 23:40:53 +03:00
Mike Black W9MDB bcfd59f3af Move date_strget to misc.c 2021-05-21 12:33:42 -05:00
Mike Black W9MDB 1cfa4c205c Remove SQLSTAT deprecated level 2021-04-24 09:17:53 -05:00
Mike Black W9MDB b74bf05541 astyle misc.c and add CRC function for future use 2021-04-17 22:47:14 -05:00
Mike Black W9MDB 0f692f514d FIx vfo_fixup to keep map VFOB request to Sub when appropriate
https://github.com/Hamlib/Hamlib/issues/665
2021-04-16 23:18:13 -05:00
Mike Black W9MDB a1f5d4f5e3 Fix sprint_freq to show appropriate # of decimal places to get to 0.1Hz on all scales 2021-04-15 12:24:29 -05:00
Mike Black W9MDB cec6216388 Fix vfo_fixup
https://github.com/Hamlib/Hamlib/issues/663
2021-04-14 16:56:38 -05:00
Mike Black W9MDB fa582b17c1 Update vfo_fixup to change VFO_A to Main and VFO_B to Sub as appropriate
https://github.com/Hamlib/Hamlib/issues/654
2021-04-13 08:19:48 -05:00
Bill Somerville 9d38e9a726
Add missing shared library API exports 2021-04-11 20:56:38 +01:00
Michael Black W9MDB 3b84802846 Fix MainB in misc.c 2021-03-22 15:35:12 -05:00
Michael Black W9MDB 1ba72fa725 Improve caching
https://github.com/Hamlib/Hamlib/issues/280
https://github.com/Hamlib/Hamlib/issues/606
2021-03-15 11:16:11 -05:00
Michael Black W9MDB 8e20613771 Fix mingw bogus compiler warning 2021-03-11 13:14:42 -06:00
Michael Black W9MDB 2f40735ed7 Merge branch 'master' of https://github.com/Hamlib/Hamlib 2021-03-11 13:12:47 -06:00
Michael Black W9MDB 0f82f0d1a8 Fix for mingw compiler bogus warning message 2021-03-11 13:12:17 -06:00
Michael Black W9MDB 3f83cb6b6d Reduce debug in misc.c cache info 2021-03-11 08:44:29 -06:00
Michael Black W9MDB 82126a4f09 Phase 1 of changing sprintflst functions to use buffer length
https://github.com/Hamlib/Hamlib/issues/580
2021-03-03 08:03:18 -06:00
Michael Black W9MDB 7326f16291 Fix misc.c compile warning 2021-02-28 09:47:37 -06:00
Michael Black W9MDB abd8829df1 Revert rig_get_caps_int -- did not need this change and don't want to break
shared library compatiblity
2021-02-28 08:59:57 -06:00
Michael Black W9MDB 8ccc9f0737 Fix rig_caps_get_int to use long long instead of enum
enum was coming out as 32-bit instead of 64-bit
https://github.com/Hamlib/Hamlib/issues/562
2021-02-26 15:00:15 -06:00
Michael Black W9MDB dc5e1bf6ed Fix rig_get_caps_int to return long long for cross platform compatibility
https://github.com/Hamlib/Hamlib/issues/562
2021-02-25 11:55:57 -06:00
Michael Black W9MDB 418e963c86 Add \get_vfo_info to rigctl and rigctld to allow geting freq/mode/width by vfo in one call
Overcomes limitation of f command where vfo swapping is needed if not in --vfo mode
rig_get_vfo_info function added
Log4OM should be able to get VFOB frequency on most rigs
https://github.com/Hamlib/Hamlib/issues/530
2021-02-07 12:45:59 -06:00
Michael Black W9MDB 8e313ecc3d Add RIG_CAPS_HAS_GET_LEVEL 2021-02-07 06:56:48 -06:00
Michael Black W9MDB f2b7893a2b Another attempt to get clock_gettime compiling for all Mac flavors 2021-01-27 11:00:58 -06:00
Michael Black W9MDB 30eca94210 Change MacOS detection logic for clock_gettime to hopefully cover all flavors 2021-01-26 15:05:43 -06:00
Michael Black W9MDB a81b4db9be Fix clock_gettime for Big Sur and hopefully older MacOS too 2021-01-26 07:28:55 -06:00
Michael Black W9MDB 54fc0e10f6 Add clock change to misc.c to allow building hamlib on some mac platforms 2021-01-25 12:23:05 -06:00
Michael Black W9MDB e7b6e61ed0 astyle files prepping for 4.1 release 2021-01-22 10:41:30 -06:00
Michael Black W9MDB a8d841182b Improve comments in misc.c 2021-01-17 08:22:07 -06:00
Michael Black W9MDB 70f27a0a03 Improve comment in misc.c 2021-01-17 08:09:06 -06:00
Michael Black W9MDB c5c60f0f43 First phase of improving debug messages 2021-01-17 07:25:28 -06:00
Michael Black W9MDB 598b105e79 astyle files prepping for 4.1 release 2021-01-15 16:48:32 -06:00
Michael Black W9MDB 0ebdaee747 Change rig_init logic to allow first char of '/' to mean a pathname and not a hostname
https://github.com/Hamlib/Hamlib/issues/492
2021-01-11 14:43:08 -06:00
Michael Black W9MDB 4571dcb2a5 Fix rig_get_function_ptr return value
https://github.com/Hamlib/Hamlib/issues/502
2021-01-10 14:39:39 -06:00
Michael Black W9MDB ca8ed30f8f astyle files 2021-01-09 10:13:17 -06:00
Michael Black W9MDB 54ab3b951d Add RIG_CAPS_STATUS_CPTR
WSJT-X HamlibTransceiver.cpp now has no dependencies on structure offsets
https://github.com/Hamlib/Hamlib/issues/484
2021-01-03 09:16:20 -06:00
Michael Black W9MDB 9726e07db6 Change rig_get_function_ptr, rig_get_caps_intg, and rig_get_caps_cptr to use rig_model_t instead of RIG*
https://github.com/Hamlib/Hamlib/issues/484
2021-01-02 09:22:02 -06:00
Michael Black W9MDB a59bdad6f5 https://github.com/Hamlib/Hamlib/issues/484 2021-01-01 15:13:17 -06:00
Michael Black W9MDB aafaafd473 Added rig_get_caps_int and rig_get_caps_cptr functions to replace using caps-> values
https://github.com/Hamlib/Hamlib/issues/484
2021-01-01 10:59:36 -06:00
Michael Black W9MDB 325dc8497b Rename RIG_FUNCTION in misc.c
https://github.com/Hamlib/Hamlib/issues/484
2020-12-31 23:39:05 -06:00
Michael Black W9MDB f7ff96fec8 Adding rig_get_function to replace use of rig->caps->set_vfo and such
https://github.com/Hamlib/Hamlib/issues/484
2020-12-31 23:05:54 -06:00
Michael Black W9MDB 41f5e8d24a Add RIG_MODE_SPEC to misc.c 2020-12-27 15:33:21 -06:00
Michael Black W9MDB 2a0deb3415 Add RIG_LEVEL_RFPOWER_METER_WATTS
Old level of 0-1 just doesn't work well with the varying power levels in rigs now
2020-12-16 17:47:49 -06:00
Mikael Nousiainen 457211a7e3 Add get_status command for rotator status flags. Add missing rotator caps in dumpcaps output. 2020-12-03 21:40:34 +02:00
Mikael Nousiainen a48f149955 Implement funcs, levels and parms + the ext variants for rotators. Add option to not change rotator speed when using the move command. Add rotator status flags. Work in progress. 2020-11-24 21:51:10 +02:00
Mikael Nousiainen 7cbe39d5ab Add routines to convert between morse code dot duration and milliseconds. Implement Yaesu break-in delay level correctly using these conversion routines. 2020-11-07 15:03:54 +02:00
Mikael Nousiainen 68aaa426bb Fix modes for FTDX101 2020-10-23 09:32:37 +03:00
Michael Black W9MDB 2020f29185 Remove redundant RIG_LEVEL_BRIGHT 2020-09-10 10:07:11 -05:00
Michael Black W9MDB 24fb47cbe0 Added IC-705
Added RIG_LEVEL_BRIGHT -- IC705 has this level
Fixed range printout
https://github.com/Hamlib/Hamlib/issues/364
2020-09-06 12:28:35 -05:00
Michael Black W9MDB fade1681fa Fix cppcheck errors and warnings 2020-09-02 16:56:11 -05:00
Michael Black W9MDB 5e801fd2b5 astyle files 2020-07-07 11:39:26 -05:00
Michael Black W9MDB 5007765d10 Make the escaped com port really work
https://github.com/Hamlib/Hamlib/issues/337
2020-07-04 12:43:46 -05:00
Michael Black W9MDB 65eab6c430 Allow for escaped COM ports like \\.\COM3
https://github.com/Hamlib/Hamlib/issues/337
2020-07-04 12:37:26 -05:00
Michael Black W9MDB 2e0c5f5687 Fix cppcheck warnings 2020-07-03 16:20:23 -05:00
Michael Black W9MDB 0c2b39c2e0 small change to debug statement 2020-07-03 08:38:33 -05:00
Michael Black W9MDB 4bd024c238 Fix come valgrind errors 2020-07-03 08:05:13 -05:00
Michael Black W9MDB d42d837162 Normalize cache namespaces to hamlib_ and HAMLIB_ 2020-07-01 22:33:32 -05:00
Michael Black W9MDB 923700ea2f Add logic for port only call like rigctl -m 2 -r :4532
https://github.com/Hamlib/Hamlib/issues/331
2020-06-28 12:17:24 -05:00
Michael Black W9MDB b6a960d48e All conversions to rig_flush now done
https://github.com/Hamlib/Hamlib/issues/307
2020-06-23 09:01:46 -05:00
Michael Black W9MDB 2c64ba9bba First round of rigs switched over to new rig_flush function
When done this will allow all rigs to use network connections and stil flush properly
https://github.com/Hamlib/Hamlib/issues/307
2020-06-23 08:27:45 -05:00