George Baltz N3GB
295ad74757
Add macros for amplifier and rotator state pointers.
2024-03-26 02:08:33 -04:00
George Baltz N3GB
1532a7d8dc
Convert rot_conf.c and amp_conf.c to pointers
...
Consolidate some assignments to make deprecation easier.
Issues #1445 , #487
2024-02-05 11:28:30 -05:00
Mike Black W9MDB
05033171c3
Change token_t to hamlib_token_t to avoid collsions with libbsm and others
...
https://github.com/Hamlib/Hamlib/issues/1469
2024-01-21 23:11:55 -06:00
Mike Black W9MDB
464fa3f478
Revert "Promote token_t to unsigned long long"
...
This broke several things -- have to do this inside kenwood.c instead
This reverts commit 01292b261f
.
2023-10-21 12:39:47 -05:00
Mike Black W9MDB
01292b261f
Promote token_t to unsigned long long
...
https://github.com/Hamlib/Hamlib/issues/1402
2023-10-19 23:35:20 -05:00
Mike Black W9MDB
2da6c400f7
Add RTS/DTR capability to rotctl and ampctl
2023-07-20 11:58:26 -05:00
Mike Black W9MDB
c17b5da379
Move serial_cfg_params to common inlude fill as it is applicate to all serial devices
2023-07-20 11:12:24 -05:00
Daniele Forsi IU5HKX
7a132e2703
Remove unused includes
...
Removes includes of stdio.h stdlib.h string.h unistd.h
2022-07-24 17:08:57 +02: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
f6941437ba
Add deprecated port references to amp and rot conf
2022-01-31 22:12:29 -06:00
Mike Black W9MDB
09c9b01552
Change snprintf to SNPRINTF in src
...
https://github.com/Hamlib/Hamlib/issues/857
2022-01-19 09:11:04 -06:00
Mike Black W9MDB
e69ad3786d
Fix rot_conf.c get_conf calls
...
https://github.com/Hamlib/Hamlib/issues/857
2022-01-18 12:46:29 -06:00
Mike Black W9MDB
c3db2b07ae
Add rot_get_conf2 function to eventually replace rot_get_conf
...
This is to avoid potential buffer overflows
https://github.com/Hamlib/Hamlib/issues/924
2022-01-09 11:16:41 -06:00
Michael Black W9MDB
3d613519d5
Rename macros to avoid collisions with other software
2021-03-06 12:37:53 -06:00
Nate Bargmann
707fe151d0
Update Doxygen comments in rot_conf.c
2021-02-20 07:15:25 -06:00
Michael Black W9MDB
c4e1deb8b6
Add flushx parameter to rotctl
...
https://github.com/Hamlib/Hamlib/issues/371
2020-12-02 23:47:30 -06: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
98e1316f11
Fix -L printout for rotctl south_zero
2020-03-10 17:00:44 -05:00
Michael Black
f46067977a
Fix rotctl set_conf
2020-03-10 08:43:42 -05:00
Michael Black
6bf3b00c4f
astyle all files
2019-11-30 10:19:08 -06:00
Michael Black
cda5aa1b37
Add south_zero optiont to rot_conf.c
2019-11-23 23:08:27 -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
f3fe7bffc8
Remove set but unused variable errors in src.
2011-08-25 10:42:00 -05: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
Stéphane Fillod, F8CFE
9de8e3f1d2
Add Mark/Space serial parity
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2996 7ae35d74-ebe9-4afe-98af-79ac388436b8
2010-10-26 19:31:09 +00: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
6afeac39d2
argument checking in rot_set_conf
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2594 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-01-25 15:39:19 +00:00
Stéphane Fillod, F8CFE
4ab3d5371f
Be careful, rs->rigport.parm is an union, so serial fields should be
...
accessed only for the RIG_PORT_SERIAL type.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2314 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-04-09 21:36:06 +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
Stéphane Fillod, F8CFE
20f5e6fc3c
tab reformat
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1989 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-04-04 18:31:00 +00:00
Stéphane Fillod, F8CFE
f23efe3a7c
prepare work for Win32 systems which have 2 possible ABI: _stdcall and _cdecl
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1858 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-10-02 10:32:09 +00:00
Stéphane Fillod, F8CFE
41f5748be2
converted to C99 intialization style
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1132 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-08-16 17:43:02 +00:00
Stéphane Fillod, F8CFE
9b245477da
token defines moved to token.h
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@924 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-01-27 14:55:30 +00:00
Stéphane Fillod, F8CFE
e66509d2c5
Initial release
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@812 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-27 21:46:25 +00:00