]> git.rkrishnan.org Git - pihpsdr.git/log
pihpsdr.git
2 years agorust: misc rustification
Ramakrishnan Muthukrishnan [Wed, 8 Mar 2023 13:40:41 +0000 (19:10 +0530)]
rust: misc

2 years agorust: use cbindgen to generate header file
Ramakrishnan Muthukrishnan [Fri, 17 Feb 2023 11:26:21 +0000 (16:56 +0530)]
rust: use cbindgen to generate header file

2 years agoMakefile: possibility to add the rust library as a cdynlib/header
Ramakrishnan Muthukrishnan [Fri, 17 Feb 2023 11:25:15 +0000 (16:55 +0530)]
Makefile: possibility to add the rust library as a cdynlib/header

2 years agogitignore: add rust/target
Ramakrishnan Muthukrishnan [Fri, 17 Feb 2023 09:41:55 +0000 (15:11 +0530)]
gitignore: add rust/target

2 years agoinitial test rust code
Ramakrishnan Muthukrishnan [Fri, 17 Feb 2023 09:41:11 +0000 (15:11 +0530)]
initial test rust code

2 years agobuild system modifications
Ramakrishnan Muthukrishnan [Fri, 17 Feb 2023 09:39:58 +0000 (15:09 +0530)]
build system modifications

2 years agoa) handle cases where RX2 is referred to but only one RX is available
c vw [Tue, 24 Jan 2023 18:39:28 +0000 (19:39 +0100)]
a) handle cases where RX2 is referred to but only one RX is available
b) TX menu: TUNE power setting is now such that one gives a the value of
   the drive slider that should be effective when tuning, so no longer
   a percentage of the current position of the drive slider
c) ClientServer: moved that part of this code that used to be in ext.c
   to client_server.c (where it belongs)
d) Fixed frequency changes while CTUN is active
e) allow for CW with a keyer attached to the radio when LOCALCW is
   not active

2 years ago"Ancient boot loader" simulator, mostly used to debug the
c vw [Thu, 15 Dec 2022 17:12:44 +0000 (18:12 +0100)]
"Ancient boot loader" simulator, mostly used to debug the
"ancient boot loader"

2 years agoRemoved un-used files from ancient versions
c vw [Thu, 15 Dec 2022 17:11:57 +0000 (18:11 +0100)]
Removed un-used files from ancient versions

2 years agoSome small changes forgotten to commit with the other commits
c vw [Thu, 15 Dec 2022 17:11:11 +0000 (18:11 +0100)]
Some small changes forgotten to commit with the other commits

2 years agoSome "brain-storming" on setting a new frequency
c vw [Thu, 15 Dec 2022 17:10:03 +0000 (18:10 +0100)]
Some "brain-storming" on setting a new frequency

2 years agodelegated some "actions" to separate functions to avoid
c vw [Thu, 15 Dec 2022 17:09:18 +0000 (18:09 +0100)]
delegated some "actions" to separate functions to avoid
duplicat code. Lots of clean-up in ext.c/ext.h

2 years agocall vfo_update() *only* through ext_vfo_update
c vw [Thu, 15 Dec 2022 17:08:32 +0000 (18:08 +0100)]
call vfo_update() *only* through ext_vfo_update

2 years agoMoved sine generator data from header to c file
c vw [Thu, 15 Dec 2022 17:08:14 +0000 (18:08 +0100)]
Moved sine generator data from header to c file

2 years agoAdded sintab.c
c vw [Thu, 15 Dec 2022 17:02:08 +0000 (18:02 +0100)]
Added sintab.c

2 years agoSome more corrections involved in CTUN toggling
c vw [Thu, 8 Dec 2022 18:21:52 +0000 (19:21 +0100)]
Some more corrections involved in CTUN toggling

2 years agoReduced height of TX menu
DL1YCF [Mon, 5 Dec 2022 18:53:49 +0000 (19:53 +0100)]
Reduced height of TX menu

2 years agoStore CTUN state in the band-stack, thus save/restore it
DL1YCF [Mon, 5 Dec 2022 18:50:22 +0000 (19:50 +0100)]
Store CTUN state in the band-stack, thus save/restore it
upon band changes

2 years agoSwitched to a new sine generator for side tone
DL1YCF [Mon, 5 Dec 2022 18:49:52 +0000 (19:49 +0100)]
Switched to a new sine generator for side tone

2 years agominor improvements (mostly comments)
DL1YCF [Mon, 5 Dec 2022 18:49:27 +0000 (19:49 +0100)]
minor improvements (mostly comments)

2 years agosintab.h: data for the new sine generator
DL1YCF [Tue, 29 Nov 2022 18:20:06 +0000 (19:20 +0100)]
sintab.h: data for the new sine generator

2 years agoSome corrections to the Ancient-Style boot loader.
c vw [Wed, 23 Nov 2022 18:28:01 +0000 (19:28 +0100)]
Some corrections to the Ancient-Style boot loader.

2 years agoImproved the "max. value" determination in meter.c (TX pwr and ALC, RX level).
c vw [Fri, 21 Oct 2022 09:48:56 +0000 (11:48 +0200)]
Improved the "max. value" determination in meter.c (TX pwr and ALC, RX level).

2 years agoIncreased "CW rf delay" to 30 msec, and use this value in new_protocol.c
DL1YCF [Sat, 6 Aug 2022 10:30:11 +0000 (12:30 +0200)]
Increased "CW rf delay" to 30 msec, and use this value in new_protocol.c

2 years agoMeasured the P2 CW break-in behaviour and adjusted the CW "rf delay"
DL1YCF [Fri, 5 Aug 2022 16:36:22 +0000 (18:36 +0200)]
Measured the P2 CW break-in behaviour and adjusted the CW "rf delay"
accordingly.

2 years agoUpdated comment on our "PA enable" safety belt (that is, disable
c vw [Fri, 5 Aug 2022 08:16:15 +0000 (10:16 +0200)]
Updated comment on our "PA enable" safety belt (that is, disable
T/R relay if PA is disabled).

2 years agoAdded "bootloader" compilation
c vw [Fri, 5 Aug 2022 08:15:54 +0000 (10:15 +0200)]
Added "bootloader" compilation

2 years agoAdded a bootloader for the "ancient" (TCP-snifffing) bootloader protocol.
c vw [Fri, 5 Aug 2022 08:13:12 +0000 (10:13 +0200)]
Added a bootloader for the "ancient" (TCP-snifffing) bootloader protocol.

2 years agoIf the keyer side tone volume is zero, do not use cw_audio_write.
DL1YCF [Thu, 4 Aug 2022 16:08:35 +0000 (18:08 +0200)]
If the keyer side tone volume is zero, do not use cw_audio_write.

2 years agoRe-calculate AGC line positions on RX panadapter when changing filter width.
c vw [Fri, 29 Jul 2022 15:12:36 +0000 (17:12 +0200)]
Re-calculate AGC line positions on RX panadapter when changing filter width.

2 years agoAdded the "HermesLite-II audio codec" state to the props file.
c vw [Thu, 21 Jul 2022 13:43:04 +0000 (15:43 +0200)]
Added the "HermesLite-II audio codec" state to the props file.

2 years agoAdded support for HermesLite-II with an audio codec.
c vw [Tue, 19 Jul 2022 17:21:38 +0000 (19:21 +0200)]
Added support for HermesLite-II with an audio codec.

2 years agoAdded some comments to the ALEX bits.
c vw [Tue, 19 Jul 2022 09:41:40 +0000 (11:41 +0200)]
Added some comments to the ALEX bits.

2 years agoAdded support for CW Keying via MIDI/GPIO while using "internal CW"
c vw [Wed, 13 Jul 2022 08:20:30 +0000 (10:20 +0200)]
Added support for CW Keying via MIDI/GPIO while using "internal CW"
(paddle connected to radio).

2 years agoa) P2: query isTransmitting() only once per function.
c vw [Fri, 8 Jul 2022 14:55:21 +0000 (16:55 +0200)]
a) P2: query isTransmitting() only once per function.
b) P2: if PA is disabled, also disable the T/R relay (ATTN:
   Orion-II firmware seems to ignore the P2 PA_disable bit):

2 years agoTouchscreen-Friendly ComboBoxes: use them in any case for the
c vw [Fri, 22 Apr 2022 16:31:05 +0000 (18:31 +0200)]
Touchscreen-Friendly ComboBoxes: use them in any case for the
discovery screen, when starting the radio set default to "mouse friendly"

2 years agosliders.c: although this should not happen, treat Attenuation/RfGain
c vw [Fri, 22 Apr 2022 16:29:47 +0000 (18:29 +0200)]
sliders.c: although this should not happen, treat Attenuation/RfGain
alternatives correctly when showing/hiding CHARLY25 Att/Preamp boxes.

2 years agohpsdrsim: check command line options and display possibilities
c vw [Fri, 22 Apr 2022 16:29:04 +0000 (18:29 +0200)]
hpsdrsim: check command line options and display possibilities

2 years agoOptimization for ComboBoxes on TouchScreens
c vw [Thu, 21 Apr 2022 16:23:51 +0000 (18:23 +0200)]
Optimization for ComboBoxes on TouchScreens
(on by default, can be switched off in radio menu)

2 years agoOptimization for ComboBoxes on touch-screens
c vw [Thu, 21 Apr 2022 16:22:59 +0000 (18:22 +0200)]
Optimization for ComboBoxes on touch-screens
(on by default, can be switched off in radio menu)

2 years agoChanged parameter list of SetAnalyzer to new API from WDSP 1.20
c vw [Wed, 6 Apr 2022 16:32:17 +0000 (18:32 +0200)]
Changed parameter list of SetAnalyzer to new API from WDSP 1.20

3 years agoApply rounding to dBm, FWD, etc. values
c vw [Tue, 22 Feb 2022 15:12:38 +0000 (16:12 +0100)]
Apply rounding to dBm, FWD, etc. values

3 years agoDo not "apply mode settings" for the second RX when in single-RX mode.
c vw [Tue, 22 Feb 2022 14:07:21 +0000 (15:07 +0100)]
Do not "apply mode settings" for the second RX when in single-RX mode.

3 years agoHandle case where CW key-down arrives before RX/TX transition is complete.
c vw [Tue, 22 Feb 2022 14:06:25 +0000 (15:06 +0100)]
Handle case where CW key-down arrives before RX/TX transition is complete.

3 years agoIncluded TX compressor on/off and level in the list of
c vw [Thu, 3 Feb 2022 15:04:12 +0000 (16:04 +0100)]
Included TX compressor on/off and level in the list of
settings "remembered by the mode".

3 years agoRemoved "compression slider instead of squelch slider" option since no one used it.
c vw [Thu, 3 Feb 2022 15:02:50 +0000 (16:02 +0100)]
Removed "compression slider instead of squelch slider" option since no one used it.

3 years agoSmall corrections for "CW Keyers"
c vw [Sat, 29 Jan 2022 10:58:03 +0000 (11:58 +0100)]
Small corrections for "CW Keyers"

3 years agomidi3.c: removed tons of un-necessary includes
c vw [Sat, 29 Jan 2022 10:57:40 +0000 (11:57 +0100)]
midi3.c: removed tons of un-necessary includes

3 years agoCorrections to the MIDI menu
c vw [Thu, 27 Jan 2022 08:20:31 +0000 (09:20 +0100)]
Corrections to the MIDI menu

3 years agoSmall cosmetic changes as preparation for next merge step.
c vw [Wed, 26 Jan 2022 10:55:52 +0000 (11:55 +0100)]
Small cosmetic changes as preparation for next merge step.

3 years agocorrected typo in manual merge
c vw [Tue, 25 Jan 2022 14:58:37 +0000 (15:58 +0100)]
corrected typo in manual merge

3 years agoManual merge with John's update (mainly removing debug output)
c vw [Tue, 25 Jan 2022 14:51:55 +0000 (15:51 +0100)]
Manual merge with John's update (mainly removing debug output)

3 years agogpio.c: made millis() uint32_t to conform to i2c.c
c vw [Tue, 25 Jan 2022 14:38:18 +0000 (15:38 +0100)]
gpio.c: made millis() uint32_t to conform to i2c.c

3 years agoRemoved declaration of millis() from gpio.h since this is no longer compatible with...
c vw [Tue, 25 Jan 2022 14:35:49 +0000 (15:35 +0100)]
Removed declaration of millis() from gpio.h since this is no longer compatible with  John's update.

3 years agoManually merged in John's updates
c vw [Tue, 25 Jan 2022 13:47:48 +0000 (14:47 +0100)]
Manually merged in John's updates

3 years agoMade "manual att option" in PS menu a little bit nicer to look at.
c vw [Tue, 25 Jan 2022 13:21:47 +0000 (14:21 +0100)]
Made "manual att option" in PS menu a little bit nicer to look at.

3 years agoPS menu: show spin button for manual setting of TX attenuation,
c vw [Tue, 25 Jan 2022 11:31:41 +0000 (12:31 +0100)]
PS menu: show spin button for manual setting of TX attenuation,
of "auto attenuation" is not checked.

3 years agoBetter support for external CW keyers, compatible with the "Teensy CW Keyer shield".
c vw [Fri, 21 Jan 2022 08:30:22 +0000 (09:30 +0100)]
Better support for external CW keyers, compatible with the "Teensy CW Keyer shield".

3 years agoMake sure both receivers have the same sample rate when
c vw [Wed, 19 Jan 2022 14:45:47 +0000 (15:45 +0100)]
Make sure both receivers have the same sample rate when
changing from single-RX to dual-RX in P1 (Thanks Rick).

3 years agosmall typo in "git rebase" command in scripts.tar corrected
c vw [Tue, 18 Jan 2022 19:24:10 +0000 (20:24 +0100)]
small typo in "git rebase" command in scripts.tar corrected

3 years ago"Brutal" solution to the "OZY hangs when changing the number of receivers" problem.
c vw [Tue, 18 Jan 2022 19:11:14 +0000 (20:11 +0100)]
"Brutal" solution to the "OZY hangs when changing the number of receivers" problem.

3 years agoSome further OZY changes (thanks Rick!)
c vw [Mon, 17 Jan 2022 17:26:59 +0000 (18:26 +0100)]
Some further OZY changes (thanks Rick!)

3 years agoMerge branch 'master' of github.com:dl1ycf/pihpsdr
c vw [Mon, 17 Jan 2022 09:49:19 +0000 (10:49 +0100)]
Merge branch 'master' of github.com:dl1ycf/pihpsdr

3 years agoSome changes suggested by Rick.
c vw [Mon, 17 Jan 2022 09:01:59 +0000 (10:01 +0100)]
Some changes suggested by Rick.

3 years agoRe-inserted a piece of code in old_protocol.c that was
DL1YCF [Sun, 16 Jan 2022 15:58:50 +0000 (16:58 +0100)]
Re-inserted a piece of code in old_protocol.c that was
un-intentionally deleted in the latest commit

3 years agoSmall correction for CHARLY25 model simulation
c vw [Sun, 16 Jan 2022 12:09:19 +0000 (13:09 +0100)]
Small correction for CHARLY25 model simulation

3 years agoProtect sending of ozy buffers with a MUTEX, since this is needed
c vw [Sun, 16 Jan 2022 11:54:37 +0000 (12:54 +0100)]
Protect sending of ozy buffers with a MUTEX, since this is needed
for TCP and USB traffic.

3 years agoIn nearly all cases where there was a check on DEVICE_METIS, this case
c vw [Sun, 16 Jan 2022 10:48:42 +0000 (11:48 +0100)]
In nearly all cases where there was a check on DEVICE_METIS, this case
also applies (if compiled for USBOZY) to DEVICE_OZY. This has been
added.

3 years agoMinor changes of "Compile from Sources" documentation, incorporating
c vw [Fri, 14 Jan 2022 15:50:04 +0000 (16:50 +0100)]
Minor changes of "Compile from Sources" documentation, incorporating
some feedback from others.

3 years agoMaintain atlas_janus for "Janus Only" operation
c vw [Fri, 14 Jan 2022 15:14:02 +0000 (16:14 +0100)]
Maintain atlas_janus for "Janus Only" operation

3 years agohpsdrsim: allow "-metis" instead of "-atlas" to trigger ATLAS device simulation
c vw [Fri, 14 Jan 2022 15:13:12 +0000 (16:13 +0100)]
hpsdrsim: allow "-metis" instead of "-atlas" to trigger ATLAS device simulation

3 years agocorrected OZY/penelope correction
c vw [Fri, 14 Jan 2022 14:17:10 +0000 (15:17 +0100)]
corrected OZY/penelope correction

3 years agoCorrection for OZY/Penelope and initial Alex antenna (thanks to Rick)
c vw [Fri, 14 Jan 2022 14:15:27 +0000 (15:15 +0100)]
Correction for OZY/Penelope and initial Alex antenna (thanks to Rick)

3 years agoCorrected typos
c vw [Fri, 14 Jan 2022 09:51:54 +0000 (10:51 +0100)]
Corrected typos

3 years agoa) More reasonable default settings of the ATLAS bits for ATLAS systems.
c vw [Fri, 14 Jan 2022 09:50:11 +0000 (10:50 +0100)]
a) More reasonable default settings of the ATLAS bits for ATLAS systems.
b) for HL2, not only select N2ADR filter board but also apply the OC settings.

3 years agoSome corrections for OZY devices
c vw [Fri, 14 Jan 2022 09:49:46 +0000 (10:49 +0100)]
Some corrections for OZY devices

3 years agoReverted function of the "Mute audio to radio" check-box to its
c vw [Fri, 14 Jan 2022 09:48:54 +0000 (10:48 +0100)]
Reverted function of the "Mute audio to radio" check-box to its
original meaning since a majority of the "voters" are in favour
of this.

3 years agoSome more HermesLite2 simulation
c vw [Thu, 13 Jan 2022 17:57:43 +0000 (18:57 +0100)]
Some more HermesLite2 simulation

3 years agoBe more specific about some of the protocol bits.
c vw [Thu, 13 Jan 2022 16:29:47 +0000 (17:29 +0100)]
Be more specific about some of the protocol bits.

3 years agoInit additional fields after OZY discovery, most importantly
c vw [Thu, 13 Jan 2022 15:25:11 +0000 (16:25 +0100)]
Init additional fields after OZY discovery, most  importantly
the number of receivers supported.

3 years agoUSBOZY: by default, assume "No Janus"
c vw [Thu, 13 Jan 2022 09:16:51 +0000 (10:16 +0100)]
USBOZY: by default, assume "No Janus"

3 years agoMaintain metis_offset for USB/OYZ as well!
c vw [Thu, 13 Jan 2022 09:04:56 +0000 (10:04 +0100)]
Maintain metis_offset for USB/OYZ as well!

3 years agoSet "standard" min and max radio frequencies for OZY.
c vw [Thu, 13 Jan 2022 08:55:02 +0000 (09:55 +0100)]
Set "standard" min and max radio frequencies for OZY.

3 years agoFinished new layout of the Radio menu.
c vw [Thu, 13 Jan 2022 08:40:08 +0000 (09:40 +0100)]
Finished new layout of the Radio menu.

3 years agoReverted test output
c vw [Wed, 12 Jan 2022 17:22:59 +0000 (18:22 +0100)]
Reverted test output

3 years agoConverted long lists of radio buttons to combo-boxes, to
c vw [Wed, 12 Jan 2022 17:18:02 +0000 (18:18 +0100)]
Converted long lists of radio buttons to combo-boxes, to
save some space on the screen.

3 years agoCorrection: don't assume Penelope as mic source by default
c vw [Wed, 12 Jan 2022 11:09:52 +0000 (12:09 +0100)]
Correction: don't assume Penelope as mic source by default

3 years agoRe-visited the "ATLAS" bits, and introduced the choice
c vw [Wed, 12 Jan 2022 11:07:59 +0000 (12:07 +0100)]
Re-visited the "ATLAS" bits, and introduced the choice
No TX/Penelope TX/Pennylane TX in radio menu for ATLAS systems.

3 years agoUpdated "compile from sources" instructions
c vw [Mon, 10 Jan 2022 17:03:57 +0000 (18:03 +0100)]
Updated "compile from sources" instructions

3 years agoCorrected band stack settings for 70, 220, 902 MHz
c vw [Mon, 10 Jan 2022 08:30:14 +0000 (09:30 +0100)]
Corrected band stack settings for 70, 220, 902 MHz

3 years agoFinalized "routed UDP detection" feature
c vw [Sun, 9 Jan 2022 13:01:33 +0000 (14:01 +0100)]
Finalized "routed UDP detection" feature

3 years agoPrevent "duplicate UDP discovery" if IP addr given is local
c vw [Fri, 7 Jan 2022 08:55:40 +0000 (09:55 +0100)]
Prevent "duplicate UDP discovery" if IP addr given is local

3 years agoMoved variable discover_only_stemlab from stemlab_discovery.c to
c vw [Fri, 7 Jan 2022 08:22:39 +0000 (09:22 +0100)]
Moved variable discover_only_stemlab from stemlab_discovery.c to
discovery.c, since it is used also if compiled without STEMLAB.

3 years agoAdded feature to connect to "distant" radios by specifiying the IP addr of the radio.
c vw [Thu, 6 Jan 2022 18:56:53 +0000 (19:56 +0100)]
Added feature to connect to "distant" radios by specifiying the IP addr of the radio.
In this case, the discovery packet does not go "broadcast" but is routed to the
given IP address. This work across routers, VPNs etc.

3 years agoadded CLOCK_MONOTONIC_RAW
c vw [Wed, 5 Jan 2022 16:37:00 +0000 (17:37 +0100)]
added CLOCK_MONOTONIC_RAW

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