Wykres commitów

4078 Commity (e2154874adac28938c20ce4b6cb3a932d2b3698f)

Autor SHA1 Wiadomość Data
Michael Black 7062b6761d Reduce debug info in flrig.c 2018-12-19 16:45:34 -05:00
Michael Black 01335a5c8e Fix FT857 to return the SMeter-based value 2018-12-19 16:40:10 -05:00
Malcolm Herring 620f756320 Complete R6 commands 2018-12-19 14:40:36 +00:00
Malcolm Herring f1e5e5ba48 ignore build 2018-12-18 22:18:38 +00:00
Sebastian Denz c6f08d6117 Merge branch 'pseudo_split_for_gpredict_duplex_trx' 2018-12-17 20:34:20 +01:00
Sebastian Denz 0c2b7fbd98 Merge remote-tracking branch 'upstream/master' 2018-12-17 20:33:54 +01:00
Sebastian Denz 831a29afd0 implement rounding for desired frequency based on tuningstepsize as the rig does not do properly by itself 2018-12-17 20:33:23 +01:00
Ekki Plicht (DF4OR) 82e0ee8364 New model Icom IC-R8600
So here is the first release of the new IC-R8600 rig backend.

Implemented functions so far:
set/get freq
set/get mode
functions: NB TSQL ANF NR AIP MN LOCK VSC RESUME
level: PREAMP ATT AF RF SQL NR PBT_IN PBT_OUT CWPITCH AGC RAWSTR STRENGTH
extra levels (params): ANN BACKLIGHT KEYLIGHT
Mode list: AM CW USB LSB RTTY FM WFM CWR RTTYR SAM SAL SAH

Next up:
* correct filter settings
* new digital modes
* memory store/retrieve
* correct CTCSS, DTCS handling
* correct BEEP handling (broken)

73,
Ekki, DF4OR
2018-12-17 12:37:17 -06:00
Nate Bargmann 2498ad69fe Merge branch 'master' of https://github.com/mdblack98/Hamlib into mdblack98-master 2018-12-13 16:40:39 -06:00
Robert Benedict 3724ce87ee New iOptron rotator backend
I have an potential initial release of a backend for iOptron alt-az mounts.
I have tested it and it appears to work well both from the command line and
driven by Gpredict with my iEQ45Pro. I ran the source through astyle and I
think that it's OK. Compiling and testing was done under Unbuntu 18.

   Bob KD8CGH
2018-12-13 15:23:46 -06:00
Nate Bargmann 451bbfcf1f Add empty dvi: target to quell distcheck error 2018-12-13 15:15:00 -06:00
Michael Black W9MDB 2e5113c7df Fix flrig modeMap and reduce debug levels 2018-12-10 22:41:26 -06:00
Sebastian Denz 4e1a77704f always use rounding of frequencies, not only in split mode 2018-12-05 20:59:31 +01:00
Sebastian Denz 3d5424476f Merge remote-tracking branch 'upstream/master' 2018-12-05 14:28:34 +01:00
Sebastian Denz 9126815811 Merge remote-tracking branch 'upstream/master' into pseudo_split_for_gpredict_duplex_trx 2018-12-05 14:28:21 +01:00
Sebastian Denz 920e0f8c19 apply astyle and add frequency rounding 2018-12-05 14:19:57 +01:00
Sebastian Denz 9c1cc8d4ce emulate split mode for gpredict duplextrx 2018-12-04 13:39:55 +01:00
Sebastian Denz 3638a92245 fix thd74_get_mem 2018-11-22 21:12:58 +01:00
Sebastian Denz 4a9725493a fix ptt and apply astyle 2018-11-21 22:39:33 +01:00
Sebastian Denz cc06bbe52a Merge branch 'master' of github.com:denzs/Hamlib 2018-11-21 22:13:17 +01:00
Sebastian Denz a2e692949c fix thd74_set_mem 2018-11-21 22:13:00 +01:00
Sebastian Denz 6c0282d3c4 set version of to 0.1 2018-11-21 08:02:04 +01:00
Nate Bargmann e5fced72f4 Merge branch 'master' of https://github.com/mdblack97/Hamlib into mdblack98-master 2018-11-20 21:00:56 -06:00
Sebastian Denz fe6fc763d1 remove digital mode extension 2018-11-20 18:08:36 +01:00
Michael Black W9MDB ecccd18c8b Add FT-DX3000 entry 2018-11-20 10:48:08 -06:00
Ervin Hegedus 354ae39adc Change variable length argument handling in affected functions 2018-11-20 10:31:52 +01:00
Sebastian Denz 9ac16499f6 Merge remote-tracking branch 'upstream/master' 2018-11-18 21:23:27 +01:00
Sebastian Denz 13959669ce Merge remote-tracking branch 'upstream/master' 2018-11-18 21:21:44 +01:00
Michael Black 9f3579d989
Merge pull request #1 from Hamlib/master
Rebase
2018-11-15 07:46:11 -06:00
Nate Bargmann 4693febdd4 Merge branch 'master' of https://github.com/mdblack98/Hamlib into mdblack98-master 2018-11-14 19:12:45 -06:00
Michael Black W9MDB ee6957d186 Fix ft1000d WRITE_DELAY as 175ms was unnecessary 2018-11-14 13:07:23 -06:00
Nate Bargmann b8a241a465 Merge branch 'master' of https://github.com/mdblack98/Hamlib into mdblack98-master 2018-11-14 12:14:42 -06:00
Michael Black W9MDB a5c49b9b44 Change P command to T command to avoid EPROM burnout 2018-11-11 07:22:15 -06:00
C-Elegans d8f010cfa3
Add ability to have rigctld display transverter frequency
Use -C lo_freq=xxxxx to have rigctld add x to your vfo frequency
internally
2018-11-07 11:49:06 -05:00
Nate Bargmann a915f1e69e Quell clang6 warning of format string not a literal
The warning was:

  CC       rotctl_parse.o
../../hamlib/tests/rotctl_parse.c:1012:50: warning: format string is not a string literal (potentially insecure)
      [-Wformat-security]
            snprintf(cmd_name, sizeof(cmd_name), parsed_input[0] + 1);
                                                 ^~~~~~~~~~~~~~~~~~~
../../hamlib/tests/rotctl_parse.c:1012:50: note: treat the string as an argument to avoid this
            snprintf(cmd_name, sizeof(cmd_name), parsed_input[0] + 1);
                                                 ^
                                                 "%s",
1 warning generated.
2018-11-05 20:07:34 -06:00
Nate Bargmann 3a6f3bac96 Quell clang6 warning of integer adsolute function
Thw warning was:

  CC       meade.lo
../../hamlib/meade/meade.c:226:8: warning: using integer absolute value function 'abs' when argument is of floating point type
      [-Wabsolute-value]
    if(abs(az - priv->target_az) > 5 || abs(el - priv->target_el) > 5)
       ^
../../hamlib/meade/meade.c:226:8: note: use function 'fabsf' instead
    if(abs(az - priv->target_az) > 5 || abs(el - priv->target_el) > 5)
       ^~~
       fabsf
../../hamlib/meade/meade.c:226:41: warning: using integer absolute value function 'abs' when argument is of floating point
      type [-Wabsolute-value]
    if(abs(az - priv->target_az) > 5 || abs(el - priv->target_el) > 5)
                                        ^
../../hamlib/meade/meade.c:226:41: note: use function 'fabsf' instead
    if(abs(az - priv->target_az) > 5 || abs(el - priv->target_el) > 5)
                                        ^~~
                                        fabsf
2 warnings generated.
2018-11-05 19:53:54 -06:00
Nate Bargmann ff4f7e1235 Quell clang6 warning of absolute value function
The warning was:

  CC       optoscan.lo
../../hamlib/icom/optoscan.c:738:14: warning: absolute value function 'abs' given an argument of type 'long' but has parameter
      of type 'int' which may cause truncation of value [-Wabsolute-value]
        usec_diff = abs((state->timer_current.tv_usec) -
                    ^
../../hamlib/icom/optoscan.c:738:14: note: use function 'labs' instead
        usec_diff = abs((state->timer_current.tv_usec) -
                    ^~~
                    labs
1 warning generated.
2018-11-05 12:13:06 -06:00
Michael Black W9MDB 857f3060ee Remove TARGETABLE_MODE from ft3000 2018-11-03 16:01:05 -05:00
Nate Bargmann 982b90f754 Merge branch 'master' of https://github.com/mdblack98/Hamlib into mdblack98-master 2018-10-29 07:05:50 -05:00
Eriks Dobelis 0b71ba91a1 ft817: Moving delay value into #define section of the header 2018-10-29 08:46:42 +02:00
Michael Black W9MDB f0bcffae36 Merge remote-tracking branch 'upstream/master' 2018-10-28 16:10:30 -05:00
Michael Black W9MDB 68fb9e3c21 Add FT-DX3000 definition and promote FT-DX5000 to Stable 2018-10-28 15:57:28 -05:00
Eriks Dobelis 1e849a6ba7 ft817: adding delay before next retry after returning from tx to rx 2018-10-28 20:50:39 +02:00
Nate Bargmann 1ecadcc594 Quell various defined but not used warnings from MinGW
Enclose various variable and function definitions in CPP macro blocks to quell
warnings when cross-compiling for Microsoft Windows using MinGW.
2018-10-27 20:49:20 -05:00
Nate Bargmann 82e31653a1 Quell gcc 8.2.0 warning of uninitialized value
On Debian Buster gcc ((Debian 8.2.0-8) 8.2.0) was throwing the following
warnings:

  CC       funcube.lo
../../hamlib/kit/funcube.c: In function ‘funcubepro_get_level’:
../../hamlib/kit/funcube.c:783:87: warning: ‘au8BufOut[3]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
     __func__, au8BufOut[0] & 0xFF, au8BufOut[1] & 0xFF, au8BufOut[2] & 0xFF, au8BufOut[3] & 0xFF);
                                                                              ~~~~~~~~~^~~
../../hamlib/kit/funcube.c:783:66: warning: ‘au8BufOut[2]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
     __func__, au8BufOut[0] & 0xFF, au8BufOut[1] & 0xFF, au8BufOut[2] & 0xFF, au8BufOut[3] & 0xFF);
                                                         ~~~~~~~~~^~~
../../hamlib/kit/funcube.c:783:45: warning: ‘au8BufOut[1]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
     __func__, au8BufOut[0] & 0xFF, au8BufOut[1] & 0xFF, au8BufOut[2] & 0xFF, au8BufOut[3] & 0xFF);
                                    ~~~~~~~~~^~~
../../hamlib/kit/funcube.c: In function ‘funcubepro_set_level’:
../../hamlib/kit/funcube.c:730:87: warning: ‘au8BufOut[3]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
     __func__, au8BufOut[0] & 0xFF, au8BufOut[1] & 0xFF, au8BufOut[2] & 0xFF, au8BufOut[3] & 0xFF);
                                                                              ~~~~~~~~~^~~
../../hamlib/kit/funcube.c:730:66: warning: ‘au8BufOut[2]’ may be used uninitialized in this function [-Wmaybe-uninitialized]
     __func__, au8BufOut[0] & 0xFF, au8BufOut[1] & 0xFF, au8BufOut[2] & 0xFF, au8BufOut[3] & 0xFF);
                                                         ~~~~~~~~~^~~

Initialize au8BufOut and au8BufIn to 0 to quell the warning.
2018-10-25 20:44:59 -05:00
Nate Bargmann b0ebeaeda4 Quell gcc 8.2.0 defined but not used warning
On Debian Buster gcc ((Debian 8.2.0-8) 8.2.0) was throwing the following
warning:

  CC       rigctl.o
../../hamlib/tests/rigctl.c:125:18: warning: ‘have_rl’ defined but not used [-Wunused-const-variable=]
 static const int have_rl = 0;
                  ^~~~~~~

and:

  CC       rotctl.o
../../hamlib/tests/rotctl.c:113:18: warning: ‘have_rl’ defined but not used [-Wunused-const-variable=]
 static const int have_rl = 0;
                  ^~~~~~~

Turns out I didn't have the readline-dev package installed.  As the have_rl
variable is wrapped in CPP macros, it indeed is not used when readline is not
available.
2018-10-25 18:26:25 -05:00
Nate Bargmann ac540c82cc Quell gcc 8.2.0 warning of possible truncation
On Debian Buster gcc ((Debian 8.2.0-8) 8.2.0) was throwing the following
warning:

  CC       network.lo
../../hamlib/src/network.c: In function ‘network_open’:
../../hamlib/src/network.c:245:46: warning: ‘%s’ directive output may be truncated writing up to 511 bytes into a region of size 139 [-Wformat-truncation=]
         snprintf(msg,sizeof(msg),"connect to %s failed, (trying next interface)",rp->pathname);
                                              ^~
../../hamlib/src/network.c:245:9: note: ‘snprintf’ output between 44 and 555 bytes into a destination of size 150
         snprintf(msg,sizeof(msg),"connect to %s failed, (trying next interface)",rp->pathname);
         ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Raising the size of the msg buffer to 1024 quelled the warning.
2018-10-25 16:58:51 -05:00
Nate Bargmann 2d7d3d21df Quell gcc 8.2.0 warning of possible truncation
On Debian Buster gcc ((Debian 8.2.0-8) 8.2.0) was throwing the following
warning:

  CC       ft991.lo
../../hamlib/yaesu/ft991.c: In function ‘ft991_set_split_mode’:
../../hamlib/yaesu/ft991.c:336:5: warning: ‘strncat’ output may be truncated copying 128 bytes from a string of length 128 [-Wstringop-truncation]
     strncat (restore_commands, priv->ret_data, NEWCAT_DATA_LEN-1);
     ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

At least now the warning is gone...
2018-10-25 16:41:33 -05:00
Michael Black W9MDB a3ea2864a7 Fix icmarine duplicate read 2018-10-25 08:37:59 -05:00
Michael Black W9MDB aadd458b99 Ensure read_string value is terminated 2018-10-25 08:37:59 -05:00