George Baltz N3GB
9f997d799d
Fix incorrect port read for elevation
...
Add missing port parameters for rotp2
Remove funky character(^B) from simrotorez.c so `file` and `more` think it
is plain text.
Dunno if this works on the real H/W, but at least the simulator can get
and set az/el position without errors.
2024-03-28 16:26:21 -04:00
George Baltz N3GB
8ff07c47f9
Finish rotators/
2024-02-19 13:06:53 -05:00
Mike Black W9MDB
e1f2342982
Promote all BETA to STABLE
...
Promot all ALPHA to BETA
2024-02-14 07:11:20 -06: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
534fe449a2
Fix more cppcheck items
2023-10-13 17:36:29 -05:00
Mike Black W9MDB
5d130be05c
Fix another mingw compile warning on rotorez.c
2023-05-07 16:44:43 -05:00
Mike Black W9MDB
5648e587a8
Fix mingw compile warning on rotorez.c
2023-05-07 16:42:44 -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
bbda209fc0
Add park to rotorez
...
https://github.com/Hamlib/Hamlib/issues/1257
2023-03-28 11:53:00 -05:00
Daniele Forsi IU5HKX
cdb3a60f02
[rotators] Fix includes
2023-02-16 19:08:24 +01:00
Daniele Forsi IU5HKX
b6ec70fcb2
[rotators] Remove unused include of config.h
2023-02-14 19:57:06 +01:00
Mike Black W9MDB
c34f719337
Astyle files
2022-08-20 22:56:04 -05:00
Mike Black W9MDB
7b8aa15b9c
Add DCU1/2 YRC1 entry for rotctl -- compatible with df9gr/erc
2022-08-16 16:15:25 -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
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
ff5682ea7e
Upgrade rotors from BETA to STABLE and ALPHA to BETA -- assuming no news is good news
2022-04-16 17:39:50 -05:00
Mike Black W9MDB
acf80cea37
Update rotors from Untested to Alpha
2022-03-29 16:07:21 -05:00
Mike Black W9MDB
7aa0ba961f
Promote rotorez to BETA
2022-03-29 13:22:07 -05: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
bff29003ea
Change snprintf to SNPRINTF in rotators
...
https://github.com/Hamlib/Hamlib/issues/857
2022-01-22 22:28:32 -06:00
Mike Black W9MDB
4adcda259a
Change sprintf to snprint in rotorez.c
...
https://github.com/Hamlib/Hamlib/issues/857
2022-01-09 11:48:08 -06:00
Andrew Rodland
f5a83df14c
Update RT-21 version
2022-01-04 17:47:48 -05:00
Andrew Rodland
be53d99d9f
Enable "stop" command for RT-21 rotator.
2022-01-02 01:33:21 -05:00
Andrew Rodland
8bf26f1fa0
Fix spurious writes when no RT-21 second port
...
The if condition for whether there actually is a second port is only
covering the sprintf for the elevation command, and not the write
attempt. So we call rotorez_send_priv_cmd2 whether rotport2 is valid or
not. When it's not, we try to write the command to fd 0 (stdin). When
running on the console, this results in trash on the console. When
runnning under something else (e.g. systemd) this results in errors or
other wierd behavior (e.g. EBADF because stdin isn't connected, causing
the command to fail with RIG_EIO).
2021-12-29 13:54:20 -05:00
Mikael Nousiainen
c764336e73
Fix build warnings caused by changes to I/O function signatures
2021-12-18 23:49:45 +02:00
Mike Black W9MDB
d820ee9dbf
Add expected_len to read_string function for potential serial I/O speedup
...
https://github.com/Hamlib/Hamlib/issues/850
2021-11-24 13:02:39 -06:00
Mike Black W9MDB
8fe190d622
Reduce error messages about RIG_VFO_OTHER which only applies to some rigs like Icom rigs with the 0x25 command
...
Add a flush_flag to read_string so that the new serial_flush will not produce a timeout value when flushing
https://github.com/Hamlib/Hamlib/issues/835
2021-11-01 23:43:45 -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
283281c4cb
astyle all files preparing for 4.3 release
2021-08-26 06:49:24 -05:00
Mike Black W9MDB
046f3c448d
Allow 2nd rotator port for RT-21 Az/El model
...
https://github.com/Hamlib/Hamlib/issues/747
2021-08-01 12:14:17 -05:00
Mike Black W9MDB
eab000306c
Add max elevation 90 to RT21 rotor in preparation for adding elevation control on 2nd controller
...
https://github.com/Hamlib/Hamlib/issues/747
2021-07-23 22:48:52 -05:00
Michael Black W9MDB
5f73977ec0
fix cygwin compile warning on rotorex.c
2020-12-27 12:44:14 -06:00
Michael Black W9MDB
57c76ed3c4
Fix cppcheck warnings
2020-07-03 17:10:25 -05:00
Michael Black W9MDB
b239e227bd
Change rotators to standard version format and promote a few to stable
2020-06-08 16:13:08 -05:00
Nate Bargmann
7200898e77
Remove unneded backticks in rotators/
2020-05-30 21:15:33 -05:00
Michael Black
c489f97624
More cppcheck changes
2020-03-20 07:51:32 -05:00
Michael Black
d0f114b178
Add macro_name to caps structures for rig, rot, and amp devices
2020-03-05 23:48:14 -06:00
Michael Black
ff8ddf018c
astyle all C files
2020-02-23 11:26:09 -06:00
Michael Black
8d6e2fc781
Directory migration to new layout
2020-01-17 09:22:44 -06:00