Wykres commitów

30 Commity (534fe449a28273bf30b4ae363dc4d81160071367)

Autor SHA1 Wiadomość Data
Mike Black W9MDB 534fe449a2 Fix more cppcheck items 2023-10-13 17:36:29 -05:00
Daniele Forsi IU5HKX b6ec70fcb2 [rotators] Remove unused include of config.h 2023-02-14 19:57:06 +01: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
PianetaRadio 4544214c3a
GS23 Azimuth 2022-05-27 09:13:18 +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 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 dff4f4f124 Change sprintf to snprint in gs232a.c
https://github.com/Hamlib/Hamlib/issues/857
2022-01-09 11:54:31 -06: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
Michael Black W9MDB 263f1cde72 astyle files 2020-12-17 15:07:04 -06:00
Mikael Nousiainen 81a0c521e7 Add support for ROT_LEVEL_SPEED level in rotator backends that support setting the rotator speed via the move command. Add azimuth-only and elevation-only versions of generic GS-232A and GS-232B backends. 2020-12-03 23:07:08 +02:00
Mikael Nousiainen bb315270bf Merge branch 'master' into rotator-speed-control-and-status 2020-12-02 21:46:23 +02:00
Michael Black W9MDB e49dc2e1f5 astyle gs232a/gs232b 2020-12-02 07:50:11 -06:00
Michael Black W9MDB 4f8de24873 Change gs232a/b post_write_delay to 50ms
Add retry when > char is seen indicating ?> error response
https://github.com/Hamlib/Hamlib/issues/371
2020-12-02 07:48:21 -06:00
Michael Black W9MDB 1beecdd685 Add 25ms post_write_delay for gs232a/b and a retry when \r\n is received
https://github.com/Hamlib/Hamlib/issues/371
2020-12-01 16:57:10 -06:00
Michael Black W9MDB f8790337d3 Hopefully this works for all gs232a/gs232b rotors and emulators
We only look now for 0x0a on commands that expect a return
If there is a rig/emulator that does not give 0x0a on expected returns then we will have a problem.  gs232a/gs232b doc says 0x0a is expected on
cmds that return info and 0x0d on command with no return.
https://github.com/Hamlib/Hamlib/issues/371
2020-12-01 15:18:08 -06: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 W9MDB b50975729c Rotators and amplifiers converted to rig_flush
https://github.com/Hamlib/Hamlib/issues/307
2020-06-23 08:44:27 -05:00
Michael Black W9MDB 786c1ae925 Change gs232b parsing to mandate at least AZ= and make EL= optional
This covers the 12PR1A rotor which claims gs232b compatibility
The 12PR1A also claims gs232a compability which is wrong as the AZ= EL= format is gs232b
https://github.com/Hamlib/Hamlib/issues/309
Simplify gs232a parsing but mandate both arguments in +0xxx+0xxx format
2020-06-17 07:22:11 -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
mdblack98 e73bd5bdef Remove replybuf from gs232a.c as it was not used 2020-05-05 22:16:53 -05:00
mdblack98 a3b1b055b3 Fix cppcheck warnings 2020-05-05 11:32:09 -05:00
mdblack98 fc3c2d5c2a https://github.com/Hamlib/Hamlib/issues/223
Fix gs232a/b null data requests now do not expect a reply
2020-04-24 14:16:33 -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 8d6e2fc781
Directory migration to new layout 2020-01-17 09:22:44 -06:00