Mike Black W9MDB
9b89e3fe23
Fix dtr/rts serial port set for amp and rot
2023-07-20 17:46:39 -05:00
Mike Black W9MDB
dad55ef148
astyle files getting ready for WSJT-x-2.7.0rc1
2023-05-08 07:37:13 -05:00
Mike Black W9MDB
1e9ecb079a
Fix RT21 2nd device for elevation
...
https://github.com/Hamlib/Hamlib/issues/1257
https://github.com/Hamlib/Hamlib/issues/1258
2023-04-30 17:04:34 -05:00
Mike Black W9MDB
a83eb3bf42
astyle files for 4.5 release
2022-07-27 17:16:17 -05:00
Mike Black W9MDB
627ec83652
Change malloc to calloc
2022-07-27 10:26:08 -05:00
Daniele Forsi IU5HKX
08c06aea14
Fix spelling errors
...
Fixed with:
codespell --summary --skip=.git,extra,,lib,macros,security --ignore-words-list="ans,ba,cant,develope,fo,get's,nin,numer,parm,parms,setts,som,statics,ths,ue,vektor,objext" --write-changes --interactive=2
and manual editing.
2022-07-07 23:56:22 +02:00
Mike Black W9MDB
5c1b328b22
Add some more memcpy's to amplifier.c rotator.c for deprecated structure
2022-02-10 11:31:01 -06:00
Mike Black W9MDB
2f38a32b0a
Move memcpy of deprecated structure in rotator.c and add memcpy to amplifier.c
...
https://github.com/Hamlib/Hamlib/issues/960
2022-02-10 09:54:54 -06:00
Mike Black W9MDB
8c34ce1a2d
astyle source code
2022-02-05 15:27:43 -06:00
Mike Black W9MDB
68e121d82c
Change all to remove HAVE_CONFIG dependency and include <hamlib/config.h> by default
...
This is necessary to keep alignment between the client view of rig->state and the shared libarary view
Including PTHREAD functions in rig->state necessitated this as HAVE_PTHREAD only defined during hamlib compilation.
Clients including hamlib/rig.h did not pick up all the HAVE* config variable that control what gets included
https://github.com/Hamlib/Hamlib/issues/947
2022-02-04 07:41:36 -06:00
Mike Black W9MDB
fab7f4d54c
Revert "Revert "Deprecate hamlib_port_t to hamlib_port_t_deprecated""
...
Fixing hamlib_port_t deprecation
This reverts commit f696123a3b
.
https://github.com/Hamlib/Hamlib/issues/894
2022-01-27 06:37:55 -06:00
Mike Black W9MDB
b5bcae4af3
Fix compilation after revert
2022-01-26 18:04:29 -06:00
Mike Black W9MDB
f696123a3b
Revert "Deprecate hamlib_port_t to hamlib_port_t_deprecated"
...
This reverts commit 401e718d60
.
2022-01-26 17:56:58 -06:00
Mike Black W9MDB
2028d4d1fa
Add some more memcpy's to sync hamlib_port_t_deprecated
...
https://github.com/Hamlib/Hamlib/issues/894
2022-01-26 17:44:03 -06:00
Mike Black W9MDB
81bb70bb84
Deprecate hamlib_port_t to hamlib_port_t_deprecated
...
New hamlib_port_t at end of structure -- eventually need to change this to a pointer'
Enable ASYNC_BUG now works with new hamlib_port_t
Backwards compatible with already-compiled clients and newly-compiled clients
https://github.com/Hamlib/Hamlib/issues/894
2022-01-26 12:39:13 -06:00
Mike Black W9MDB
c008f2aa59
Make remove_opened_rig arg in rotator.c const
2021-09-13 17:39:20 -05:00
Mike Black W9MDB
68336fedfa
Add 2nd rotator port to rotator_open for RT21 elevation controller
...
https://github.com/Hamlib/Hamlib/issues/747
2021-07-23 23:07:18 -05:00
Michael Black W9MDB
6cc8e5a20f
Change LIBUSB definitions to cover both conditions
...
https://github.com/Hamlib/Hamlib/issues/634
2021-03-27 15:35:12 -05:00
Michael Black W9MDB
3d613519d5
Rename macros to avoid collisions with other software
2021-03-06 12:37:53 -06:00
Michael Black W9MDB
ee60a68bec
astyle files
2021-02-28 09:46:01 -06:00
Michael Black W9MDB
83c47fad42
Android NDK now builds -- check README.android for info on libusb
...
https://github.com/Hamlib/Hamlib/issues/546
2021-02-28 15:50:36 +01:00
Nate Bargmann
171aa9e89a
Update and refine Doxygen comments for extension levels, etc.
2021-02-21 13:07:45 -06:00
Nate Bargmann
9dce43fc50
Update Docygen comments in rotator.c
...
Create new group for rot_internal that Doxygen shows under the Modules
tab.
2021-02-15 15:36:47 -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
Daniele Forsi
d7b332c3f7
Fix spelling errors
...
Fixed using the following command:
codespell --write-changes --summary --skip=*.m4 --ignore-words-list="develope,get's,quitt,setts,som,ue,vektor"
codespell --write-changes --summary --skip=aclocal.m4,lib --ignore-words-list="develope,get's,quitt,setts,som,ue,vektor"
Codespell home page: https://github.com/codespell-project/codespell
2020-07-24 09:02:48 +02:00
Michael Black
0267c1b7c9
astyle all files
2020-04-10 09:13:35 -05:00
Michael Black
67d09427d3
Add experimental network serial mode for network-based serial interfaces
2020-04-03 08:02:31 -05:00
Michael Black
fb73e5abd7
Fix some cppcheck warnings
...
Fix declarations after statements
Remove some !rig checks...we either don't need them or need them everywhere with a new error code
If you pass a NULL rig you get what you deserve :-)
2019-12-09 17:12:13 -06:00
Michael Black
ddfa154694
Fix cppcheck warnings in rotator.c
2019-12-08 22:47:51 -06:00
Michael Black
6bf3b00c4f
astyle all files
2019-11-30 10:19:08 -06:00
Michael Black
2f4d62709e
Added a dummy snprintf to rig_debug to allow gcc to check format strings
...
This found tons of errors in rig_debug statements
So this patch cleans up all the files that were producing warnings or errors
This should fix a few segfaults when running with debug turned on
2019-11-30 10:04:31 -06:00
Michael Black
fa2293be50
Add south_zero option to rotator.c
2019-11-23 23:09:59 -06:00
Nate Bargmann
ab3e6bb5a5
Formatted src/ to final coding guidelines
2017-10-04 21:32:08 -05:00
Nate Bargmann
f76b354588
Reformatted src directory
2017-08-09 06:14:31 -05:00
Nate Bargmann
b31cc6ecd9
Assure NULL terminated strings in src files.
...
Various strncpy operations could result in a port pathname that is not a
NULL terminated string as the allowed string length is the same size as
the buffer per the strncpy manual page. This is corrected by assuring
that the allowed length is FILPATHLEN - 1.
2012-01-07 20:50:34 -06:00
Stephane Fillod
da80137819
Add support for RIG_PORT_UDP_NETWORK
...
Also some copyright year update,
and default serial device on MacOSX
2012-01-06 09:28:24 +01:00
Nate Bargmann
dad27d1f69
Update LGPL header in src source files.
...
TNX to Lucian Laga, YO6PLB, for the notification.
2011-08-22 21:38:37 -05:00
Stephane Fillod
89888b3041
copyright date update
2011-07-20 00:16:29 +02:00
Stéphane Fillod, F8CFE
022ddda4ad
- serial conf parameters appear only for serial type rig
...
- backend conf params appear last in rig/rot_token_foreach()
- debug trace in rig/rot_set_conf()
- rig/rot_confparam_lookup() now accept token as number
- moved rot_set_conf/rot_get_conf into rot_conf.c
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2893 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-04-25 17:20:44 +00:00
Stéphane Fillod, F8CFE
462ebd1df4
Copyright date update
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2851 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-03-07 14:00:34 +00:00
Stéphane Fillod, F8CFE
3aeba72501
copyright year
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2647 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-02-20 12:26:13 +00:00
Stéphane Fillod, F8CFE
5f2d5bd69e
comments, patch by Rob Frohne, KL7NA
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2543 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-01-01 18:18:11 +00:00
Stéphane Fillod, F8CFE
ab24cf45e3
MinGW network fixes
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2472 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-11-05 23:02:00 +00:00
Stéphane Fillod, F8CFE
2492903ea9
accept partial 'pathname' for PORT_NETWORK
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2406 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-09-23 22:02:40 +00:00
Stéphane Fillod, F8CFE
0e7d1eacea
implementation of PORT_NETWORK
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2395 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-09-21 19:30:35 +00:00
Stéphane Fillod, F8CFE
74495d7dfb
default serial device on BSD systems
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2343 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-05-04 15:36:23 +00:00
Martin Ewing, AA6E
f6ddc3edad
documentation
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2145 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-10-15 00:27:52 +00:00
Alexandru Csete OZ9AEC
8798d79045
Cast constant caps to variable caps in order to avoid compiler warnings.
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2118 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-10-07 13:08:19 +00:00
Stéphane Fillod, F8CFE
b99271e93c
bump (c) date
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2077 7ae35d74-ebe9-4afe-98af-79ac388436b8
2006-02-26 19:30:49 +00:00