]> git.rkrishnan.org Git - pihpsdr.git/log
pihpsdr.git
19 months agodelete client server code
Ramakrishnan Muthukrishnan [Mon, 9 Dec 2024 17:39:41 +0000 (23:09 +0530)]
delete client server code

19 months agoindent, cleanup
Ramakrishnan Muthukrishnan [Mon, 9 Dec 2024 17:18:30 +0000 (22:48 +0530)]
indent, cleanup

19 months agomake property struct public
Ramakrishnan Muthukrishnan [Sun, 8 Dec 2024 16:43:07 +0000 (22:13 +0530)]
make property struct public

19 months agominor refactoring
Ramakrishnan Muthukrishnan [Sun, 8 Dec 2024 16:41:27 +0000 (22:11 +0530)]
minor refactoring

19 months agonew create for manipulating properties
Ramakrishnan Muthukrishnan [Sun, 8 Dec 2024 16:40:24 +0000 (22:10 +0530)]
new create for manipulating properties

19 months agodelete a bunch of code
Ramakrishnan Muthukrishnan [Sun, 8 Dec 2024 07:59:06 +0000 (13:29 +0530)]
delete a bunch of code

19 months agocomment out verbose logging
Ramakrishnan Muthukrishnan [Sat, 7 Dec 2024 17:00:02 +0000 (22:30 +0530)]
comment out verbose logging

19 months agoget rid of status_text()
Ramakrishnan Muthukrishnan [Sat, 7 Dec 2024 16:59:52 +0000 (22:29 +0530)]
get rid of status_text()

19 months agocall rust ffi function for discovery from C
Ramakrishnan Muthukrishnan [Sat, 7 Dec 2024 16:58:09 +0000 (22:28 +0530)]
call rust ffi function for discovery from C

Fixes a bunch of types. Also, we don't use the generated header
anymore. Instead use the one used by the rest of the
code (DISCOVERED) which matches the type we defined earlier. Still
helpful to generate the header and verify that it is indeed the one we
are expecting.

19 months agoMakefile: partial integration of rust build outputs
Ramakrishnan Muthukrishnan [Sat, 7 Dec 2024 16:56:57 +0000 (22:26 +0530)]
Makefile: partial integration of rust build outputs

19 months agogitignore: add a bunch of cache and rust/target stuff
Ramakrishnan Muthukrishnan [Sat, 7 Dec 2024 16:56:29 +0000 (22:26 +0530)]
gitignore: add a bunch of cache and rust/target stuff

19 months agoa simple demonstration of calling rust from C with cbindgen
Ramakrishnan Muthukrishnan [Fri, 6 Dec 2024 18:45:24 +0000 (00:15 +0530)]
a simple demonstration of calling rust from C with cbindgen

19 months agoget rid of a few socket address/interface length fields master refactor
Ramakrishnan Muthukrishnan [Thu, 5 Dec 2024 16:45:40 +0000 (22:15 +0530)]
get rid of a few socket address/interface length fields

These can be easily calculated at runtime with sizeof, so no need to
store them upfront.

19 months agoprotocol1 discovery named to p1_discovery and likewise for p2
Ramakrishnan Muthukrishnan [Thu, 5 Dec 2024 15:35:03 +0000 (21:05 +0530)]
protocol1 discovery named to p1_discovery and likewise for p2

Simplified the DISCOVERED struct a bit.

19 months agogitignore: add .cache (generated by clangd)
Ramakrishnan Muthukrishnan [Thu, 5 Dec 2024 15:30:47 +0000 (21:00 +0530)]
gitignore: add .cache (generated by clangd)

23 months agorigctl: read with timeouts and reconnects
Ramakrishnan Muthukrishnan [Sat, 27 Jul 2024 11:39:06 +0000 (17:09 +0530)]
rigctl: read with timeouts and reconnects

2 years agomakefile: use wildcards and filters rather than explicitly listing
Ramakrishnan Muthukrishnan [Fri, 9 Feb 2024 14:00:08 +0000 (19:30 +0530)]
makefile: use wildcards and filters rather than explicitly listing

2 years agotodo: add a few more items
Ramakrishnan Muthukrishnan [Sun, 7 Jan 2024 05:55:40 +0000 (11:25 +0530)]
todo: add a few more items

2 years agoadd some notes in readme
Ramakrishnan Muthukrishnan [Sun, 7 Jan 2024 03:00:32 +0000 (08:30 +0530)]
add some notes in readme

2 years agoctun: while turning ctun from on to off, copy last ctun freq ctun-expt
Ramakrishnan Muthukrishnan [Sat, 6 Jan 2024 15:53:37 +0000 (21:23 +0530)]
ctun: while turning ctun from on to off, copy last ctun freq

2 years agotodo: add a few ctune items
Ramakrishnan Muthukrishnan [Sat, 6 Jan 2024 15:48:01 +0000 (21:18 +0530)]
todo: add a few ctune items

2 years agomore nr4 noise menu state fixes
Ramakrishnan Muthukrishnan [Sat, 6 Jan 2024 12:59:24 +0000 (18:29 +0530)]
more nr4 noise menu state fixes

2 years agoMerge branch 'touch-experiments'
Ramakrishnan Muthukrishnan [Sat, 6 Jan 2024 12:53:34 +0000 (18:23 +0530)]
Merge branch 'touch-experiments'

2 years agomissing nr4 state update
Ramakrishnan Muthukrishnan [Sat, 6 Jan 2024 12:48:01 +0000 (18:18 +0530)]
missing nr4 state update

2 years agoctune margin: moar bug fix
Ramakrishnan Muthukrishnan [Tue, 2 Jan 2024 15:12:21 +0000 (20:42 +0530)]
ctune margin: moar bug fix

2 years agofix: display_margin is a real number
Ramakrishnan Muthukrishnan [Tue, 2 Jan 2024 15:08:33 +0000 (20:38 +0530)]
fix: display_margin is a real number

2 years agoctune scrolling: margin for vfo_id_step() as well touch-experiments
Ramakrishnan Muthukrishnan [Tue, 2 Jan 2024 02:32:11 +0000 (08:02 +0530)]
ctune scrolling: margin for vfo_id_step() as well

2 years agoctune scrolling: leave a margin (5% of display width) on each side
Ramakrishnan Muthukrishnan [Mon, 1 Jan 2024 17:24:42 +0000 (22:54 +0530)]
ctune scrolling: leave a margin (5% of display width) on each side

2 years agoclang-format vfo.c and rx_panadapter.c
Ramakrishnan Muthukrishnan [Mon, 1 Jan 2024 11:44:29 +0000 (17:14 +0530)]
clang-format vfo.c and rx_panadapter.c

2 years agoadd a (dummy) touch event handler for rx panadapter
Ramakrishnan Muthukrishnan [Mon, 1 Jan 2024 07:00:21 +0000 (12:30 +0530)]
add a (dummy) touch event handler for rx panadapter

2 years agoadd another todo item
Ramakrishnan Muthukrishnan [Sun, 31 Dec 2023 12:46:44 +0000 (18:16 +0530)]
add another todo item

2 years agoadd a todo item
Ramakrishnan Muthukrishnan [Sun, 31 Dec 2023 12:45:05 +0000 (18:15 +0530)]
add a todo item

2 years agoadd a few more todo items fix-ctun
Ramakrishnan Muthukrishnan [Sun, 31 Dec 2023 12:10:38 +0000 (17:40 +0530)]
add a few more todo items

2 years agobug fix for ctun scroll
Ramakrishnan Muthukrishnan [Sun, 31 Dec 2023 12:08:04 +0000 (17:38 +0530)]
bug fix for ctun scroll

TODO: define some offset from edge and scroll within those edge bands

2 years agodebug
Ramakrishnan Muthukrishnan [Sun, 31 Dec 2023 11:59:34 +0000 (17:29 +0530)]
debug

2 years agorestrict ctune to visible limits
Ramakrishnan Muthukrishnan [Sun, 31 Dec 2023 10:50:40 +0000 (16:20 +0530)]
restrict ctune to visible limits

Once the filter limits go beyond visible band, move the background of
the band, than the ctune frequency.

2 years agofirst attempt at fixing ctun when it cross the display limits
Ramakrishnan Muthukrishnan [Sat, 30 Dec 2023 16:08:22 +0000 (21:38 +0530)]
first attempt at fixing ctun when it cross the display limits

2 years agoa few todo items
Ramakrishnan Muthukrishnan [Sun, 17 Dec 2023 17:10:15 +0000 (22:40 +0530)]
a few todo items

2 years agoreduce vfo font size a bit
Ramakrishnan Muthukrishnan [Sun, 17 Dec 2023 05:55:12 +0000 (11:25 +0530)]
reduce vfo font size a bit

2 years agoget rig of a print statement
Ramakrishnan Muthukrishnan [Sun, 3 Dec 2023 16:08:18 +0000 (21:38 +0530)]
get rig of a print statement

2 years agoconvert a bunch of files to use the logging api logging-cleanup
Ramakrishnan Muthukrishnan [Sun, 3 Dec 2023 16:03:39 +0000 (21:33 +0530)]
convert a bunch of files to use the logging api

2 years agouse logging API from log.h/log.c
Ramakrishnan Muthukrishnan [Sat, 2 Dec 2023 16:48:36 +0000 (22:18 +0530)]
use logging API from log.h/log.c

2 years agoadd a new logger
Ramakrishnan Muthukrishnan [Fri, 1 Dec 2023 04:05:05 +0000 (09:35 +0530)]
add a new logger

2 years agouse g_log_structured() instead of g_warning/g_debug etc
Ramakrishnan Muthukrishnan [Fri, 1 Dec 2023 02:47:25 +0000 (08:17 +0530)]
use g_log_structured() instead of g_warning/g_debug etc

2 years agocleanup printf/fprintfs with glib logging api like g_debug/g_warning etc
Ramakrishnan Muthukrishnan [Thu, 30 Nov 2023 17:22:43 +0000 (22:52 +0530)]
cleanup printf/fprintfs with glib logging api like g_debug/g_warning etc

2 years agoserial_server: handle the case where read returns a 0 (eof)
Ramakrishnan Muthukrishnan [Fri, 1 Dec 2023 16:34:17 +0000 (22:04 +0530)]
serial_server: handle the case where read returns a 0 (eof)

2 years agonb setting wasn't getting set correctly from props
Ramakrishnan Muthukrishnan [Fri, 1 Dec 2023 02:15:05 +0000 (07:45 +0530)]
nb setting wasn't getting set correctly from props

2 years agodelete some unwanted files
Ramakrishnan Muthukrishnan [Thu, 30 Nov 2023 16:21:43 +0000 (21:51 +0530)]
delete some unwanted files

2 years agorefactor some header files
Ramakrishnan Muthukrishnan [Thu, 30 Nov 2023 16:18:47 +0000 (21:48 +0530)]
refactor some header files

2 years agodisplay: fix for disappearing nb status
Ramakrishnan Muthukrishnan [Thu, 30 Nov 2023 16:17:22 +0000 (21:47 +0530)]
display: fix for disappearing nb status

2 years agofix the problem with displaying nb
Ramakrishnan Muthukrishnan [Thu, 30 Nov 2023 13:54:09 +0000 (19:24 +0530)]
fix the problem with displaying nb

2 years agoadd more robustness against race conditions
Ramakrishnan Muthukrishnan [Wed, 29 Nov 2023 12:16:02 +0000 (17:46 +0530)]
add more robustness against race conditions

2 years agorigctl tcp server: better connection error handling
Ramakrishnan Muthukrishnan [Mon, 27 Nov 2023 17:51:03 +0000 (23:21 +0530)]
rigctl tcp server: better connection error handling

2 years agofix drawing of correct NR status, revisit this code
Ramakrishnan Muthukrishnan [Mon, 27 Nov 2023 15:34:52 +0000 (21:04 +0530)]
fix drawing of correct NR status, revisit this code

2 years agorigctl: in the tcp recv loop, print any error in recv() call
Ramakrishnan Muthukrishnan [Mon, 27 Nov 2023 15:14:59 +0000 (20:44 +0530)]
rigctl: in the tcp recv loop, print any error in recv() call

2 years agorigctl: handle the ts-2000 TY command
Ramakrishnan Muthukrishnan [Mon, 27 Nov 2023 15:14:42 +0000 (20:44 +0530)]
rigctl: handle the ts-2000 TY command

2 years agoslightly better code from dl1ycf's repo for non-blocking fd
Ramakrishnan Muthukrishnan [Mon, 27 Nov 2023 15:09:39 +0000 (20:39 +0530)]
slightly better code from dl1ycf's repo for non-blocking fd

2 years agovfo: more cleanup of display code
Ramakrishnan Muthukrishnan [Mon, 27 Nov 2023 14:32:46 +0000 (20:02 +0530)]
vfo: more cleanup of display code

One caveat is that NR2/NR3/NR4 handling is broken as of now as far as
displaying the status is concerned.

2 years agomove drawing commands into a function
Ramakrishnan Muthukrishnan [Wed, 22 Nov 2023 16:09:09 +0000 (21:39 +0530)]
move drawing commands into a function

How to abstract out the multiway-if/switch-case ones?

2 years agomove vfo coordinates, colours etc into another file maint
Ramakrishnan Muthukrishnan [Wed, 22 Nov 2023 15:13:38 +0000 (20:43 +0530)]
move vfo coordinates, colours etc into another file

Ideally these should go into a CSS file, but that would be the next
step.

2 years agouse the definitions in screen.h to determine the click area
Ramakrishnan Muthukrishnan [Tue, 14 Nov 2023 17:09:34 +0000 (22:39 +0530)]
use the definitions in screen.h to determine the click area

2 years agoa few more font size magic numbers
Ramakrishnan Muthukrishnan [Tue, 14 Nov 2023 17:09:21 +0000 (22:39 +0530)]
a few more font size magic numbers

2 years agoconvert all the magic numbers for buttons shown in the top surface
Ramakrishnan Muthukrishnan [Tue, 14 Nov 2023 17:03:41 +0000 (22:33 +0530)]
convert all the magic numbers for buttons shown in the top surface

2 years agoremove magic numbers from NB/NR rendering
Ramakrishnan Muthukrishnan [Tue, 14 Nov 2023 16:51:04 +0000 (22:21 +0530)]
remove magic numbers from NB/NR rendering

2 years agoremove magic-numbers for RIT/XIT display
Ramakrishnan Muthukrishnan [Tue, 14 Nov 2023 16:32:14 +0000 (22:02 +0530)]
remove magic-numbers for RIT/XIT display

2 years agoclang-format radio.c
Ramakrishnan Muthukrishnan [Tue, 14 Nov 2023 16:27:18 +0000 (21:57 +0530)]
clang-format radio.c

2 years agomore colour definitions and coordinate definitions
Ramakrishnan Muthukrishnan [Tue, 14 Nov 2023 16:26:25 +0000 (21:56 +0530)]
more colour definitions and coordinate definitions

2 years agomore magic numbers moved into screen.h
Ramakrishnan Muthukrishnan [Mon, 13 Nov 2023 02:35:48 +0000 (08:05 +0530)]
more magic numbers moved into screen.h

2 years agomakefile: include the new screen.h file
Ramakrishnan Muthukrishnan [Sun, 12 Nov 2023 17:22:26 +0000 (22:52 +0530)]
makefile: include the new screen.h file

2 years agomisc formatting
Ramakrishnan Muthukrishnan [Sun, 12 Nov 2023 17:20:55 +0000 (22:50 +0530)]
misc formatting

2 years agovfo.c: missing screen.h inclusion
Ramakrishnan Muthukrishnan [Sun, 12 Nov 2023 17:18:10 +0000 (22:48 +0530)]
vfo.c: missing screen.h inclusion

2 years agoscreen.h: work in progress to define colours and coordinates
Ramakrishnan Muthukrishnan [Sun, 12 Nov 2023 17:15:43 +0000 (22:45 +0530)]
screen.h: work in progress to define colours and coordinates

2 years agomove all screen dimensions and coordinates into a header
Ramakrishnan Muthukrishnan [Fri, 10 Nov 2023 11:02:38 +0000 (16:32 +0530)]
move all screen dimensions and coordinates into a header

2 years agorigctl command table: rename indices to avoid a name clash
Ramakrishnan Muthukrishnan [Fri, 10 Nov 2023 11:02:02 +0000 (16:32 +0530)]
rigctl command table: rename indices to avoid a name clash

2 years agofixes an overflow (for very large number of elements) in binary search
Ramakrishnan Muthukrishnan [Fri, 10 Nov 2023 02:00:09 +0000 (07:30 +0530)]
fixes an overflow (for very large number of elements) in binary search

2 years agoclang-format vfo.{c,h}
Ramakrishnan Muthukrishnan [Thu, 9 Nov 2023 12:33:44 +0000 (18:03 +0530)]
clang-format vfo.{c,h}

2 years agowip: new cat command parsing, not in use yet
Ramakrishnan Muthukrishnan [Thu, 9 Nov 2023 12:29:17 +0000 (17:59 +0530)]
wip: new cat command parsing, not in use yet

2 years agorigctl: implement FR cat command to toggle between VFOs on split
Ramakrishnan Muthukrishnan [Tue, 7 Nov 2023 02:24:07 +0000 (07:54 +0530)]
rigctl: implement FR cat command to toggle between VFOs on split

2 years agosplit: depending on mode, set vfo b up by 1kc or 5kc
Ramakrishnan Muthukrishnan [Mon, 6 Nov 2023 14:11:12 +0000 (19:41 +0530)]
split: depending on mode, set vfo b up by 1kc or 5kc

2 years agorx_menu: fix memory leak introduced in 1ba053070
Ramakrishnan Muthukrishnan [Sun, 5 Nov 2023 14:23:04 +0000 (19:53 +0530)]
rx_menu: fix memory leak introduced in 1ba053070

2 years agoclang-format xvtr_menu.{c,h}
Ramakrishnan Muthukrishnan [Sun, 5 Nov 2023 13:24:32 +0000 (18:54 +0530)]
clang-format xvtr_menu.{c,h}

2 years agoclang-format rigctl.c
Ramakrishnan Muthukrishnan [Sun, 5 Nov 2023 13:23:40 +0000 (18:53 +0530)]
clang-format rigctl.c

2 years agobugfix: allocate memory before copying the device name select_audio_io
Ramakrishnan Muthukrishnan [Sat, 4 Nov 2023 17:48:16 +0000 (23:18 +0530)]
bugfix: allocate memory before copying the device name

2 years agorefactor the audio output toggling function
Ramakrishnan Muthukrishnan [Sat, 4 Nov 2023 17:33:19 +0000 (23:03 +0530)]
refactor the audio output toggling function

2 years agobugfix: do not cast output to combo box
Ramakrishnan Muthukrishnan [Sat, 4 Nov 2023 17:03:08 +0000 (22:33 +0530)]
bugfix: do not cast output to combo box

2 years agotry to invoke it without being able to bring up the menu
Ramakrishnan Muthukrishnan [Sat, 4 Nov 2023 16:59:14 +0000 (22:29 +0530)]
try to invoke it without being able to bring up the menu

2 years agotoggle audio output via a rigctl command
Ramakrishnan Muthukrishnan [Sat, 4 Nov 2023 10:54:32 +0000 (16:24 +0530)]
toggle audio output via a rigctl command

This would enable a frontpanel switch to select the audio output by
sending a command to rigctl.

2 years agoMakefile: no need to build with NEW_NR_ALGORITHMS=1
Ramakrishnan Muthukrishnan [Mon, 30 Oct 2023 15:06:18 +0000 (20:36 +0530)]
Makefile: no need to build with NEW_NR_ALGORITHMS=1

Needs the latest wdsp from github.com/vu3rdd for this to work.

2 years agoagc: draw the mode correctly on the screen
Ramakrishnan Muthukrishnan [Sat, 28 Oct 2023 09:03:31 +0000 (14:33 +0530)]
agc: draw the mode correctly on the screen

2 years agobug: once agc value is changed, it needs to take effect
Ramakrishnan Muthukrishnan [Sat, 28 Oct 2023 05:53:23 +0000 (11:23 +0530)]
bug: once agc value is changed, it needs to take effect

2 years agoreceiver: reformat an expression for easier readability
Ramakrishnan Muthukrishnan [Sat, 28 Oct 2023 04:57:18 +0000 (10:27 +0530)]
receiver: reformat an expression for easier readability

2 years agoclang-format rx_menu.{c,h}
Ramakrishnan Muthukrishnan [Sun, 22 Oct 2023 10:09:11 +0000 (15:39 +0530)]
clang-format rx_menu.{c,h}

2 years agoclang-format pulseaudio.c
Ramakrishnan Muthukrishnan [Sun, 22 Oct 2023 10:07:51 +0000 (15:37 +0530)]
clang-format pulseaudio.c

2 years agoaudio_menu is not used anywhere, delete
Ramakrishnan Muthukrishnan [Sun, 22 Oct 2023 09:56:23 +0000 (15:26 +0530)]
audio_menu is not used anywhere, delete

2 years agoclang-format -i audio.c
Ramakrishnan Muthukrishnan [Sun, 22 Oct 2023 09:50:46 +0000 (15:20 +0530)]
clang-format -i audio.c

2 years agorigctl: revamp NR command handling
Ramakrishnan Muthukrishnan [Sun, 22 Oct 2023 07:39:52 +0000 (13:09 +0530)]
rigctl: revamp NR command handling

There is no more ZZNS command. ZZNR handles NR/NR1/NR2/NR3.

ZZNR; => gets the status returns ZZNRx; where x is 0-4.
ZZNRx; where x is 0-4 sets one of NR/NR2/NR3/NR4 or nothing

2 years agoREADME: add a note on making dependencies as git submodules
Ramakrishnan Muthukrishnan [Sun, 22 Oct 2023 06:43:01 +0000 (12:13 +0530)]
README: add a note on making dependencies as git submodules

2 years agoREADME: update readme with installation instructions
Ramakrishnan Muthukrishnan [Sun, 22 Oct 2023 06:41:38 +0000 (12:11 +0530)]
README: update readme with installation instructions

2 years agoselect the right noise reduction functions from wdsp
Ramakrishnan Muthukrishnan [Tue, 5 Sep 2023 16:25:55 +0000 (21:55 +0530)]
select the right noise reduction functions from wdsp

2 years agoRevert "Revert "rnnoise and specbleach are now linked to wdsp""
Ramakrishnan Muthukrishnan [Tue, 5 Sep 2023 16:22:00 +0000 (21:52 +0530)]
Revert "Revert "rnnoise and specbleach are now linked to wdsp""

This reverts commit 1cb35457ce7fd122b8796cb3b06901333ddf4e21.