Wykres commitów

36 Commity (08c06aea147efe28d56baaf308b03d8463c9600e)

Autor SHA1 Wiadomość Data
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 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 7b4b7ee630 Add a depth count to debug statements to help understand calling sequences
First call into rig functions is level 1
Top level like rigctl, rigctld is level 0
Non-depth calls are internal debug statements -- which can be modified to also show levels but that's a whole lot of statements not really necessary
Normal calls from other clients will be level 1
2022-01-30 23:37:01 -06:00
Mike Black W9MDB a277d7ab9b Changes changing hamlib_port_t to pointer are not backwards compatible 2022-01-25 17:41:26 -06:00
Mike Black W9MDB 9e86e62238 Enable async I/O by default
Change hamlib_port_t to a pointer in rig.state
Deprecate static hamlib_port_t structure
New hamlib_port_t structure at end of rig.state
Clients built with older hamlib will use old structure in DLL
Clients built with newer hamlib will use new structure in DLL
So we maintain backwards compatibility until Hamlib 5.0
https://github.com/Hamlib/Hamlib/issues/894
2022-01-25 07:59:47 -06:00
Mike Black W9MDB 20882cb18f Change sprintf to snprint in prm80
https://github.com/Hamlib/Hamlib/issues/857
2022-01-11 16:16:35 -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 eaff946c26 In prm80 move misc.h include in prm80.c to prm80.h
Should fix compilation problem on Open BSD 6.9
2021-06-20 07:30:24 -05:00
Mike Black W9MDB b0e006ce6c astyle files 2021-04-21 23:48:29 -05:00
Stephane Fillod 5d367f0920 prm80: fix RX frequencies on VHF
The RX IF shift on VHF is the opposite than on UHF.

Tested-by: Claus <claus.moessner@web.de>
2021-04-17 21:31:51 +02:00
Stephane Fillod 42ebd65811 prm80: protcol evolution in firmware V5
- RSSI appended to system state ("E" command)
- new ranging for the volume value
- implement a cache handling for the system state (not V5 specific)
2021-03-15 15:13:55 +01:00
Stephane Fillod 257ae409d2 prm80: fix SQL parsing 2021-03-15 14:54:40 +01:00
Stephane Fillod e954a5df2d prm80: Make set_channel to work 2021-03-06 17:41:02 +01:00
Stephane Fillod ff9c1badfa prm80 : more feature coverage and fixes
Tested-by: Claus <claus.moessner@web.de>
2021-03-06 10:14:17 +01:00
Stephane Fillod 6766948dc1 Major rework for PRM80
Implementation done from tests performed by Claus, DC0CM
documentation and rig assembly code at prm80 project.
2021-02-17 18:57:31 +01:00
Michael Black W9MDB e7b6e61ed0 astyle files prepping for 4.1 release 2021-01-22 10:41:30 -06:00
Michael Black W9MDB 34d7eb6c33 prm80 add extra read_string for 2-line response to set_freq 2021-01-17 15:50:00 -06:00
Michael Black W9MDB 10bc7d50df Add debug to prm80.c 2021-01-17 10:16:53 -06:00
Michael Black W9MDB 66af5ea4c0 Enable get_channel for prm80.c 2021-01-17 09:58:51 -06:00
Michael Black W9MDB 4b9ea6b1d4 Change to prm80.c to allow get_channel to work...testing 2021-01-17 07:12:52 -06:00
Michael Black W9MDB 460e748742 Add some debug to prm80.c 2021-01-17 07:08:37 -06:00
Michael Black W9MDB 65d45a07be Add cmd list to prm80.c 2021-01-13 15:08:40 -06:00
Michael Black W9MDB c70d841b83 Add NOCHANGE_PASSBAND to icom...cascading effect on adding vfo elsewhere...which is needed anyways
https://github.com/Hamlib/Hamlib/issues/448
2020-11-29 23:32:14 -06:00
Michael Black W9MDB 7bee01f785 Add suppress for AST broken bug in cppcheck 2020-09-19 16:09:44 -05:00
Michael Black W9MDB fade1681fa Fix cppcheck errors and warnings 2020-09-02 16:56:11 -05:00
Michael Black W9MDB b6a960d48e All conversions to rig_flush now done
https://github.com/Hamlib/Hamlib/issues/307
2020-06-23 09:01:46 -05:00
Michael Black W9MDB 2813f0ef63 astyle files 2020-05-11 22:39:10 -05:00
mdblack98 8ad431a344 Change #warn on get_channel to RIG_ENIMPL errors
This needs to be validated on the rigs to see the individual behavior
It only gives an error when read_only=0, read_only=1 does not give any error
We want the behavior of actually setting the rig display to be based on this flag
https://github.com/Hamlib/Hamlib/issues/227
2020-05-06 08:06:14 -05:00
mdblack98 bf1a05084d astyle files 2020-05-03 17:24:42 -05:00
mdblack98 5eb5b6f3d8 https://github.com/Hamlib/Hamlib/issues/227
Added read_only flag everywhere
2020-04-26 14:37:03 -05:00
Michael Black 9e89c4455a Add VFO & ANT definitions to rigs that were missing them 2020-03-25 23:07:42 -05:00
Michael Black 8eb09c2a38 More cppcheck fixes 2020-03-23 07:52:01 -05:00
Michael Black 8d6e2fc781
Directory migration to new layout 2020-01-17 09:22:44 -06:00