]> git.rkrishnan.org Git - pihpsdr.git/log
pihpsdr.git
3 years agoActivate "helper functions" for debouncing in GPIO case only.
c vw [Wed, 5 Jan 2022 14:40:54 +0000 (15:40 +0100)]
Activate "helper functions" for debouncing in GPIO case only.

3 years ago"Silence first RX samples after TR/RX" feature: added HERMES into the list
c vw [Wed, 5 Jan 2022 09:33:50 +0000 (10:33 +0100)]
"Silence first RX samples after TR/RX" feature: added HERMES into the list
of radios which require this (since many RedPitaya's show up as a HERMES) and
also added the original HermesLite which should behave similar to its successor.

3 years agoFinalized the "silence residual TX signal after TX/RX" option.
c vw [Wed, 5 Jan 2022 09:10:10 +0000 (10:10 +0100)]
Finalized the "silence residual TX signal after TX/RX" option.

3 years agoTest code for Paul to address the "Residual audio" problem,
c vw [Tue, 4 Jan 2022 13:17:29 +0000 (14:17 +0100)]
Test code for Paul to address the "Residual audio" problem,
to be removed if issue has settled down.

3 years agoradio.c: updated some comments regarding the step attenuator
c vw [Sun, 2 Jan 2022 11:57:47 +0000 (12:57 +0100)]
radio.c: updated some comments regarding the step attenuator

3 years agoSplit "radio_band_changed" into "set_alex_antennas" and "tx_vfo_changed".
DL1YCF [Thu, 30 Dec 2021 11:04:56 +0000 (12:04 +0100)]
Split "radio_band_changed" into "set_alex_antennas" and "tx_vfo_changed".

3 years agoHeader files: explicitly indicate void argument lists in
DL1YCF [Thu, 30 Dec 2021 11:01:04 +0000 (12:01 +0100)]
Header files: explicitly indicate void argument lists in
function prototypes (this is a great debugger).

3 years agosome cosmetic changes
c vw [Wed, 29 Dec 2021 17:41:23 +0000 (18:41 +0100)]
some cosmetic changes

3 years agoclient_server.c: added comment to forcing can_transmit being zero.
c vw [Wed, 29 Dec 2021 15:09:53 +0000 (16:09 +0100)]
client_server.c: added comment to forcing can_transmit being zero.

3 years agoMake the current band a local static variable in band.c, and renamed
c vw [Tue, 28 Dec 2021 18:27:33 +0000 (19:27 +0100)]
Make the current band a local static variable in band.c, and renamed
this variable to "current_band".

3 years agoSome "polishing" (removing unused variables etc.) and other corrections
c vw [Tue, 28 Dec 2021 18:11:02 +0000 (19:11 +0100)]
Some "polishing" (removing unused variables etc.) and other corrections
that resulted from running "cppcheck" on the code.

3 years agoMajor update of the "compile from sources" instructions, now including
DL1YCF [Sun, 26 Dec 2021 16:22:01 +0000 (17:22 +0100)]
Major update of the "compile from sources" instructions, now including
WSJTX, Fldigi and FreeDV.

3 years agoOld MIDI documentation deleted
DL1YCF [Sun, 26 Dec 2021 16:21:23 +0000 (17:21 +0100)]
Old MIDI documentation deleted

3 years agoAdded a compile-time option to log all incoming packets with a time stamp.
c vw [Sat, 25 Dec 2021 17:16:27 +0000 (18:16 +0100)]
Added a compile-time option to log all incoming packets with a time stamp.

3 years agocorrected a typo in a comment
c vw [Sat, 25 Dec 2021 17:15:58 +0000 (18:15 +0100)]
corrected a typo in a comment

3 years agoa) Send data to the radio in equal pace, not in bursts
c vw [Wed, 22 Dec 2021 10:13:05 +0000 (11:13 +0100)]
a) Send data to the radio in equal pace, not in bursts
b) re-written HL2 power level calculation to avoid complicated
   floating-point operations such as power and log.

3 years agoRemoved "smooth scaling" of TX IQ samples for HermesLite2 since this
c vw [Wed, 22 Dec 2021 10:12:26 +0000 (11:12 +0100)]
Removed "smooth scaling" of TX IQ samples for HermesLite2 since this
is not compatible with PURESIGNAL.

3 years agoAdded RFGAIN to client/server
c vw [Fri, 17 Dec 2021 17:15:43 +0000 (18:15 +0100)]
Added RFGAIN to client/server

3 years agoEnable changing CW parameters if not compiled with LOCALCW, since
c vw [Fri, 17 Dec 2021 16:51:11 +0000 (17:51 +0100)]
Enable changing CW parameters if not compiled with LOCALCW, since
these parameters are used in HPSDR protocol.

3 years agoClient/Server: set RECEIVERS=2
c vw [Mon, 6 Dec 2021 14:17:27 +0000 (15:17 +0100)]
Client/Server: set RECEIVERS=2

3 years agomox_update/tune_update: if (!can_transmit), then quickly return
c vw [Mon, 6 Dec 2021 14:15:05 +0000 (15:15 +0100)]
mox_update/tune_update: if (!can_transmit), then quickly return

3 years agoactions.c: MOX/TUNE: use mox_update/tune_update
c vw [Mon, 6 Dec 2021 14:14:37 +0000 (15:14 +0100)]
actions.c: MOX/TUNE: use mox_update/tune_update

3 years agotypo corrected
DL1YCF [Sun, 5 Dec 2021 16:32:21 +0000 (17:32 +0100)]
typo corrected

3 years agoUpdate of vfo_set_frequency.
DL1YCF [Sun, 5 Dec 2021 15:05:14 +0000 (16:05 +0100)]
Update of vfo_set_frequency.

3 years agoSome clean-up within rigctl.
DL1YCF [Sun, 5 Dec 2021 14:51:51 +0000 (15:51 +0100)]
Some clean-up within rigctl.

3 years agoanother typo
c vw [Sun, 5 Dec 2021 11:42:08 +0000 (12:42 +0100)]
another typo

3 years agocorrected typo
c vw [Sun, 5 Dec 2021 11:40:21 +0000 (12:40 +0100)]
corrected typo

3 years agotypo fixed
DL1YCF [Sat, 4 Dec 2021 18:10:20 +0000 (19:10 +0100)]
typo fixed

3 years agoFurther changes in the "big merge" process
DL1YCF [Sat, 4 Dec 2021 18:09:04 +0000 (19:09 +0100)]
Further changes in the "big merge" process

3 years agoClientServer: make it compile at least
DL1YCF [Sat, 4 Dec 2021 17:05:08 +0000 (18:05 +0100)]
ClientServer: make it compile at least

3 years agonew/old protocol.c: cosmetic changes to facilitate merge
DL1YCF [Sat, 4 Dec 2021 17:04:38 +0000 (18:04 +0100)]
new/old protocol.c: cosmetic changes to facilitate merge

3 years agoInclude time stamp in SEQ errors in the log file
c vw [Fri, 26 Nov 2021 15:26:21 +0000 (16:26 +0100)]
Include time stamp in SEQ errors in the log file

3 years agosynchronized upon merging
c vw [Fri, 26 Nov 2021 15:25:09 +0000 (16:25 +0100)]
synchronized upon merging

3 years agosynchronized upon merging
c vw [Fri, 26 Nov 2021 15:24:47 +0000 (16:24 +0100)]
synchronized upon merging

3 years agofixed silly typo introduced when merging.
c vw [Thu, 25 Nov 2021 17:41:20 +0000 (18:41 +0100)]
fixed silly typo introduced when merging.

3 years agoManual merge of John's corrections
c vw [Thu, 25 Nov 2021 13:10:33 +0000 (14:10 +0100)]
Manual merge of John's corrections

3 years agoMake millis() global to allow debouncing in i2c.c
c vw [Thu, 25 Nov 2021 08:31:56 +0000 (09:31 +0100)]
Make millis() global to allow debouncing in i2c.c

3 years agoSome cosmetics to facilitate merging.
c vw [Thu, 25 Nov 2021 08:30:12 +0000 (09:30 +0100)]
Some cosmetics to facilitate merging.

3 years agoVFO divisor corrections by John.
c vw [Thu, 25 Nov 2021 08:27:59 +0000 (09:27 +0100)]
VFO divisor corrections by John.

3 years agoBSTK menu: button labels change if bandstack changes.
c vw [Thu, 25 Nov 2021 08:26:58 +0000 (09:26 +0100)]
BSTK menu: button labels change if bandstack changes.

3 years agopush-buttons: look at PRESSED vs RELEASED.
c vw [Thu, 25 Nov 2021 08:26:26 +0000 (09:26 +0100)]
push-buttons: look at PRESSED vs RELEASED.

3 years agoRemoved more pkg-config output from the command lines.
c vw [Thu, 25 Nov 2021 08:25:57 +0000 (09:25 +0100)]
Removed more pkg-config output from the command lines.

3 years agoAutomatically enable/disable squelch when changing squelch value.
c vw [Tue, 23 Nov 2021 15:42:45 +0000 (16:42 +0100)]
Automatically enable/disable squelch when changing squelch value.

3 years agoConsistent interface to set_squelch().
c vw [Tue, 23 Nov 2021 15:40:40 +0000 (16:40 +0100)]
Consistent interface to set_squelch().

3 years agoAdded default clauses to switch statements (just to make compiler happy).
c vw [Tue, 23 Nov 2021 15:39:48 +0000 (16:39 +0100)]
Added default clauses to switch statements (just to make compiler happy).

3 years agoMakefile. Regression: do not expand pkg-config outputs such that
c vw [Tue, 23 Nov 2021 14:31:00 +0000 (15:31 +0100)]
Makefile. Regression: do not expand pkg-config outputs such that
compilations does not "overflow" the screen.

3 years agoVFO_MENU: do not show the "Enable Squelch" check-box if the sliders are displayed.
c vw [Tue, 23 Nov 2021 14:30:04 +0000 (15:30 +0100)]
VFO_MENU: do not show the "Enable Squelch" check-box if the sliders are displayed.

3 years agoMIDI props: made "syntax" more consistent
c vw [Mon, 22 Nov 2021 17:02:17 +0000 (18:02 +0100)]
MIDI props: made "syntax" more consistent

3 years agomidi_menu: made it "more compatible" with John's repo
c vw [Mon, 22 Nov 2021 16:32:31 +0000 (17:32 +0100)]
midi_menu: made it "more compatible" with John's repo

3 years agoVFO divisor update (from John), new function for
c vw [Mon, 22 Nov 2021 16:21:00 +0000 (17:21 +0100)]
VFO divisor update (from John), new function for
treating CW events different from ordinary pushbutton events.

3 years agoRemoves SO_PRIORITY settings since this (experimentally)
c vw [Mon, 22 Nov 2021 16:19:43 +0000 (17:19 +0100)]
Removes SO_PRIORITY settings since this (experimentally)
leads to more RX sequence errors

3 years agoWhen TUNEing in DSB mode, tune on the carrier frequency.
c vw [Wed, 17 Nov 2021 09:26:25 +0000 (10:26 +0100)]
When TUNEing in DSB mode, tune on the carrier frequency.

3 years agoWaterfall: better arithmetic, avoiding implicit conversions to
c vw [Tue, 16 Nov 2021 15:02:27 +0000 (16:02 +0100)]
Waterfall: better arithmetic, avoiding implicit conversions to
and from "float".

3 years agoDo not show power/swr on SOAPY, since these values are not
c vw [Tue, 16 Nov 2021 11:05:14 +0000 (12:05 +0100)]
Do not show power/swr on SOAPY, since these values are not
present there.

3 years agocreate_transmitter: do not leave tx->alc uninitialized.
c vw [Tue, 16 Nov 2021 08:47:44 +0000 (09:47 +0100)]
create_transmitter: do not leave tx->alc uninitialized.

3 years agoactions.c: for "KEY" or "SWITCH" actions, check on "PRESSED"
c vw [Mon, 15 Nov 2021 15:29:43 +0000 (16:29 +0100)]
actions.c: for "KEY" or "SWITCH" actions, check on "PRESSED"

3 years agoSmall corrections in actions.c
c vw [Mon, 15 Nov 2021 13:51:37 +0000 (14:51 +0100)]
Small corrections in actions.c

3 years agoMoved "IQSWAP" handling from transmitter.c to soapy_protocol.c,
c vw [Mon, 15 Nov 2021 13:25:12 +0000 (14:25 +0100)]
Moved "IQSWAP" handling from transmitter.c to soapy_protocol.c,
to be consistent with the RX chain

3 years agoInclude "midi.h" to suppress compiler warning
c vw [Mon, 15 Nov 2021 13:02:35 +0000 (14:02 +0100)]
Include "midi.h" to suppress compiler warning

3 years agoSOAPY: normalize TX IQ samples to unity.
c vw [Mon, 15 Nov 2021 13:00:45 +0000 (14:00 +0100)]
SOAPY: normalize TX IQ samples to unity.

3 years agoRegression: do not swap iq samples for SOAPY if "iqswap" is set,
c vw [Mon, 15 Nov 2021 12:54:54 +0000 (13:54 +0100)]
Regression: do not swap iq samples for SOAPY if "iqswap" is set,
first do more experiments

3 years agoApply "iqswap" to the tx iq samples as well
c vw [Mon, 15 Nov 2021 12:49:18 +0000 (13:49 +0100)]
Apply "iqswap" to the tx iq samples as well

3 years agoCorrected interplay of "pa_enabled" and "band->disablePA".
c vw [Mon, 15 Nov 2021 12:46:10 +0000 (13:46 +0100)]
Corrected interplay of "pa_enabled" and "band->disablePA".

3 years ago"Protect" i2c_interrupt by a mutex
c vw [Thu, 4 Nov 2021 09:12:35 +0000 (10:12 +0100)]
"Protect" i2c_interrupt by a mutex

3 years agoRewritten CW event handling in process_edge, and removed
c vw [Thu, 4 Nov 2021 09:11:54 +0000 (10:11 +0100)]
Rewritten CW event handling in process_edge, and removed
debouncing from CW lines.

3 years agoAllow CW_KEYER from a switch (GPIO or I2C)
c vw [Thu, 4 Nov 2021 09:11:08 +0000 (10:11 +0100)]
Allow CW_KEYER from a switch (GPIO or I2C)

3 years agocorrected small typo
c vw [Wed, 3 Nov 2021 08:22:18 +0000 (09:22 +0100)]
corrected small typo

3 years agoFixed bugs in RFGAIN processing.
c vw [Tue, 2 Nov 2021 19:05:48 +0000 (20:05 +0100)]
Fixed bugs in RFGAIN processing.

3 years agoI2C test change: process PRESS and RELEASE for i2c switches
c vw [Tue, 2 Nov 2021 19:04:56 +0000 (20:04 +0100)]
I2C test change: process PRESS and RELEASE for i2c switches

3 years agotypo
c vw [Mon, 1 Nov 2021 12:58:31 +0000 (13:58 +0100)]
typo

3 years agoDelegate all step size list processing to vfo.c functions.
c vw [Mon, 1 Nov 2021 12:49:46 +0000 (13:49 +0100)]
Delegate all step size list processing to vfo.c functions.

3 years agoSome corrections, and added debounce
c vw [Mon, 1 Nov 2021 12:49:18 +0000 (13:49 +0100)]
Some corrections, and added debounce

3 years agoUse default attributes for output buffer size
c vw [Mon, 1 Nov 2021 12:48:38 +0000 (13:48 +0100)]
Use default attributes for output buffer size

3 years agoMacOS: do not include any libraries in app bundle (not even WDSP).
c vw [Mon, 1 Nov 2021 12:48:05 +0000 (13:48 +0100)]
MacOS: do not include any libraries in app bundle (not even WDSP).

3 years agoMerged in "transverter" corrections by John,
c vw [Thu, 28 Oct 2021 16:22:22 +0000 (18:22 +0200)]
Merged in "transverter" corrections by John,
"PA enable" checkbox also for non-HL2 machines,
and treat band->disablePA together with pa_enable.

3 years agoSome SOAPY corrections taken from linhpsdr
c vw [Thu, 21 Oct 2021 16:36:31 +0000 (18:36 +0200)]
Some SOAPY corrections taken from linhpsdr

3 years agoSome rigctl corrections by VU2DLE
c vw [Mon, 4 Oct 2021 17:05:41 +0000 (19:05 +0200)]
Some rigctl corrections by VU2DLE

3 years agoa) moved call to set_agc down when creating receivers, such that
DL1YCF [Sun, 3 Oct 2021 11:02:33 +0000 (13:02 +0200)]
a) moved call to set_agc down when creating receivers, such that
the AGC threshold line is calculated correctly at the beginning
of the program
b) straightened arguments of set_agc
c) use set_agc instead of direct WDSP calls when possible

3 years agoenhanced the CW fix for controller2V2
c vw [Fri, 1 Oct 2021 13:07:27 +0000 (15:07 +0200)]
enhanced the CW fix for controller2V2

3 years agoEnable/Disable TX compressor if TX compression value is changed to zero/nonzero
c vw [Wed, 22 Sep 2021 14:45:38 +0000 (16:45 +0200)]
Enable/Disable TX compressor if TX compression value is changed to zero/nonzero

3 years agosmoother rounding for MIDI controller values
c vw [Tue, 21 Sep 2021 18:08:43 +0000 (20:08 +0200)]
smoother rounding for MIDI controller values

3 years agosmall tidy-ups
c vw [Tue, 21 Sep 2021 14:11:47 +0000 (16:11 +0200)]
small tidy-ups

3 years agoMake set_attenuation/set_rf_gain a no-op if the value of
c vw [Tue, 21 Sep 2021 10:26:36 +0000 (12:26 +0200)]
Make set_attenuation/set_rf_gain a no-op if the value of
have_rx_gain does not fit.

3 years ago"Streamlined" setting of ADC defaults. Set mingain/maxgain
c vw [Tue, 21 Sep 2021 10:25:47 +0000 (12:25 +0200)]
"Streamlined" setting of ADC defaults. Set mingain/maxgain
for HermesLite.

3 years agoa) update VFO after changing TX compression
c vw [Tue, 21 Sep 2021 10:25:10 +0000 (12:25 +0200)]
a) update VFO after changing TX compression
b) respect min_gain/max_gain when changing ADC gain.

3 years agooops. include math.h when using round().
DL1YCF [Sun, 19 Sep 2021 21:34:33 +0000 (23:34 +0200)]
oops. include math.h when using round().

3 years agoImplement "rounding" for ABSOLUTE changes
DL1YCF [Sun, 19 Sep 2021 21:32:48 +0000 (23:32 +0200)]
Implement "rounding" for ABSOLUTE changes

3 years agoFinalized the "MIDI KNOB" correction: all actions that require a wheel/encoder
DL1YCF [Sun, 19 Sep 2021 15:51:54 +0000 (17:51 +0200)]
Finalized the "MIDI KNOB" correction: all actions that require a wheel/encoder
no longer have the MIDI_KNOB flag, and all actions still having this
flag respect the KNOB/WHEEL difference.

3 years agoStarted using "unified" KnobOrWheel function.
c vw [Sun, 19 Sep 2021 10:10:56 +0000 (12:10 +0200)]
Started using "unified" KnobOrWheel function.

3 years agoDe-activate GPIO-CW for Controller2V2.
c vw [Fri, 17 Sep 2021 16:48:11 +0000 (18:48 +0200)]
De-activate GPIO-CW for Controller2V2.

3 years agoTake care of ZOOM/PAN changes for the waterfall
c vw [Thu, 16 Sep 2021 17:43:21 +0000 (19:43 +0200)]
Take care of ZOOM/PAN changes for the waterfall

3 years agominor polishing
c vw [Tue, 14 Sep 2021 15:58:39 +0000 (17:58 +0200)]
minor polishing

3 years agoFurther corrections, also with the help of LY0NAS.
c vw [Tue, 14 Sep 2021 14:02:41 +0000 (16:02 +0200)]
Further corrections, also with the help of LY0NAS.

3 years agoCorrected the adjustment of the VFO frequency to a multiple of
c vw [Tue, 14 Sep 2021 12:51:22 +0000 (14:51 +0200)]
Corrected the adjustment of the VFO frequency to a multiple of
the step size, and put this into a macro such that it occurs
at a single place.

3 years agoCorrected the "shifting" of the waterfall when the VFO
c vw [Tue, 14 Sep 2021 12:50:50 +0000 (14:50 +0200)]
Corrected the "shifting" of the waterfall when the VFO
frequency changes

3 years agoVFO step size stored "by mode", better treatment of VFO step sizes, polished
c vw [Mon, 13 Sep 2021 15:29:51 +0000 (17:29 +0200)]
VFO step size stored "by mode", better treatment of VFO step sizes, polished
applying mode_settings.

3 years agofixed another typo
c vw [Mon, 13 Sep 2021 10:12:09 +0000 (12:12 +0200)]
fixed another typo

3 years agofixed typo
c vw [Sun, 12 Sep 2021 18:02:59 +0000 (20:02 +0200)]
fixed typo

3 years agoCorrections for HL2 RXgain slider
DL1YCF [Sun, 12 Sep 2021 11:46:08 +0000 (13:46 +0200)]
Corrections for HL2 RXgain slider

3 years agohpsdrsim: make MAC addr. depend on radio type
DL1YCF [Sun, 12 Sep 2021 11:44:57 +0000 (13:44 +0200)]
hpsdrsim: make MAC addr. depend on radio type