Wykres commitów

4029 Commity (3b5dd2e884e6555d9192f43b195a3880ff282694)

Autor SHA1 Wiadomość Data
Michael Black 3b5dd2e884 Fix flrig when WSJT-X startup causes rig mode change
Increase flrig timeout value
Add USB mode to flrig
Fix flrig memory leak
Fix bug where constant value was being trashed
2018-12-31 15:45:27 -06:00
Michael Black 772b1ba2c1 Fix rig_idx2settings for 64-bit sprintf_list functions 2018-12-31 15:39:49 -06:00
Bill Somerville df4ec51909 Simplify SWIG interface definition and hide 64-bit values from Lua binding
By  including the  stdint  SWIG  typemaps we  can  directly use  types
derived from [u]int64_t etc.

Because Lua numbers are  implemented using a double-precision floating
point type and  also because SWIG when generating a  Lua wrappings can
only define  constants from #define and  enum values that fit  into an
'int' type we  must hide any constants that require  more than 32-bits
to represent themselves,  as they cannot be represented  in Lua.  This
applies  to  rmode_t  and  the  RIG_FUNC... defines  at  the  time  of
writing. By  hiding them from  the Lua binding  they will get  a 'nil'
value in Lua i.e. undefined so clients using the Lua binding will know
they are  not there.  This is  a nasty hack  but without  major design
changes to the Hamlib API it is do this or drop the Lua binding.
2018-12-28 20:33:30 +00:00
Malcolm Herring 2ccf99da04 icr30 updates 2018-12-26 08:25:38 +00:00
Malcolm Herring 0c9ceb1d83 Merge branch 'master' into icr30 2018-12-24 18:37:25 +00:00
Malcolm Herring de63680912 commands 00-15 2018-12-24 18:33:11 +00:00
Malcolm Herring d7d733f14a Merge remote-tracking branch 'Hamlib/master' 2018-12-24 13:27:30 +00:00
Malcolm Herring c82896fe80 update 2018-12-24 13:25:12 +00:00
Malcolm Herring 8decf6fd89 merge 2018-12-24 11:22:35 +00:00
Malcolm Herring 1747595f10 ICR6 new functions 2018-12-24 11:00:12 +00:00
Malcolm Herring f4630eeb90 Merge branch 'master' into icr6 2018-12-24 10:42:58 +00:00
Malcolm Herring e3796090ad update 2018-12-24 10:14:53 +00:00
Malcolm Herring d158a91f7a Merge remote-tracking branch 'Hamlib/master' 2018-12-24 10:12:12 +00:00
Michael Black bf9adaf9de Suppress GCC unused-return warning 2018-12-23 18:08:32 -05:00
Michael Black 4b69188f67 Fix some 64bit items and add RIG_FUNC_NB2 for TS-890S 2018-12-23 17:41:10 -05:00
Michael Black ce3f6806d0 Fix RIG_MODE structure in src/msic.c 2018-12-23 17:37:27 -05:00
Malcolm Herring f1d1d52692 fix tones 2018-12-23 15:28:18 +00:00
Michael Black 7123bb4403 Change rmode_t to uint64_t and remove unneeded casts 2018-12-22 23:56:30 -05:00
Michael Black e15b2559db Add XHCG to ic706.c 2018-12-22 18:04:14 -05:00
Michael Black 005fb29cf7 Add TS-890S as derivative of TS-480 plus new modes 2018-12-22 12:03:41 -05:00
Michael Black 2b5f01fb75 64 bit mods to netrigctl.c testrig.c 2018-12-21 23:51:54 -05:00
Michael Black 160c8f015d Fixup for 64-bit in memcsv.c 2018-12-21 17:19:22 -05:00
Michael Black 64b35ccbee Add PRXll macro for 64-bit use 2018-12-21 16:46:48 -05:00
Malcolm Herring f79722c333 daily 2018-12-21 20:16:26 +00:00
Michael Black cd0a9aebb6 Merge hamlib head 2018-12-21 12:54:47 -05:00
Michael Black 422b266b9b Change RIG_MODE and RIG_FUNC to 64-bit values 2018-12-21 12:39:20 -05:00
Malcolm Herring 31cc85bf57 Add IC-R30 2018-12-21 07:07:41 +00:00
Ekki Plicht (DF4OR) 4e8ba3d6f3 Patch for Icom DCS code handling
* Change magic numbers in icom_set|get_ctcss|dcs_sql|code functions to
constants defined in src/tones.h

* fix a minor bug in icom_get_dcs_code (now ignoring polarity instead of
reporting invalid DCS code when sending reverse pol. DCS code)

* introduce DCS codes to IC-R8600 rig backend

73,
Ekki, DF4OR
2018-12-19 18:09:14 -06:00
Nate Bargmann daa52e8b10 Merge branch 'master' of https://github.com/mdblack98/Hamlib into mdblack98-master 2018-12-19 17:41:38 -06:00
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
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
Nate Bargmann e5fced72f4 Merge branch 'master' of https://github.com/mdblack97/Hamlib into mdblack98-master 2018-11-20 21:00:56 -06: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
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