Commit graph

375 commits

Author SHA1 Message Date
Birk da Yooper
c5e22c4087 Revert from encoding BCD using double dabble algo to previous algo
Added/adjusted various comments

update of package versions used (IE 'go mod tidy' after adjusting to point to AD8IM repo)
2024-12-22 19:01:49 -05:00
Howard
9751b536b3
Merge pull request #15 from AD8IM/revisions
Multiple updates to CI-V and status output aspects
2024-03-10 20:53:12 -04:00
Birk da Yooper
8a3a7c4bb0 Comments cleanup 2024-03-10 20:47:02 -04:00
Birk da Yooper
7673ffe0a9 Increased precision of value changes by over double
instead of adjusting by percentage, adjust by single steps (IE 255 steps instead of 100)

Implement BCD <-> decimal conversions via functions to reduce code duplication
  Corrected to use actual BCD
2024-03-10 19:58:55 -04:00
Birk da Yooper
819a250c7e Fix ptt & antenna tune timeouf values 2024-02-24 22:49:31 -05:00
Birk da Yooper
7656d4335b Added flag to set alternate controller address
Added flag to show CI-V packet contents to support debugging

At start-up show virtual soundcard info by both name & filesystem location
Updated to always present status lines at bottom of the terminal
Removed milliseconds from time shown on status lines
Reformatted status line showing packet activity to be easier to follow
Adjusted default status update frequency to 150ms to be easier to observe

Restored commented out code for working with single VFO

Added multiple functions to handle BCD <-> human readable values to improve easy of maintenance
Added function to prepare CI-V packets, abstracting this step so that each function no longer
  needs to create entire packet. This makes the code much easier to follow and maintaint.
  This will also greatly ease effort needed for extending radio features supported

Added/adjusted various comments

Updated some variable names to be less terse to facilitate maintenance
  eg "incTS" to "incTuningStep"

Some adjustments to improve readability/ease maintenance in favor of unnecessary optimizations
  EG - using formatted prints instead of prints using concatenations
       using strings.Repeat instead of loop to build space buffers
       abstracted control char strings to variables

Hooks for future functionality

Removed some commented out code blocks
   "Trust the repo, Luke!"
2024-02-24 20:53:49 -05:00
Norbert Varga
66f2369efc
Merge pull request #16 from georges/rigctld-long-cmd
Add long rigctld commands support
2021-05-26 22:02:10 +02:00
Georges Auberger
f2e2683f5f Added long commands support 2021-05-26 07:12:21 -10:00
Nonoo
6012cc3efb Add IC-785x to the compatibility list 2021-05-24 14:53:08 +02:00
Nonoo
5ad5570c7d Fix panic on tune stop after the timeout 2021-05-11 08:10:26 +02:00
Nonoo
c71f75fc8a Parse hex number instead of decimal for the CI-V address 2021-05-10 22:31:59 +02:00
Nonoo
0ad3d4a151 Add Icom IC-7610 to the supported hardware list 2021-05-10 21:59:27 +02:00
Norbert Varga
d99f8aaaeb
Add GPS data stream note 2021-02-15 22:37:01 +01:00
Nonoo
4996f10780 Remove static build 2021-01-25 22:14:16 +01:00
Nonoo
6c693f4fc4 Add compatible hardware/software 2020-12-28 22:17:29 +01:00
Nonoo
a998382ef6 Convert instructions from Debian to Ubuntu 2020-12-24 09:03:07 +01:00
Norbert Varga
a796ca85af
Merge pull request #7 from aknrdureegaesr/inst_doc
Compilation instructions for people not experienced with Go
2020-12-24 08:59:36 +01:00
Andreas Krüger
3f962fdcb9
Compilation instructions for people not experienced with Go 2020-12-23 23:23:34 +01:00
Nonoo
49a55094d4 Cleanup data mode enable on TX 2020-12-21 08:57:06 +01:00
Norbert Varga
98bf695caa
Merge pull request #6 from dai1313/main
Add option to auto set digital mode on TX start
2020-12-21 08:49:45 +01:00
David Izaguirre
ceff326690 My radio is configured to only modulate on the digital setting, so it's convinent to have the software set digital mode automatically. 2020-12-19 23:05:28 -05:00
Nonoo
9c1c2d1b08 Fix go URLs 2020-12-06 09:06:45 +01:00
Nonoo
3a7db5e905 Add video tutorial 2020-11-28 11:58:17 +01:00
Nonoo
2199c8fcbf Fix bug which caused the status bar fields to be unpopulated on connect 2020-11-28 11:51:17 +01:00
Nonoo
6d92d27db7 Fix data mode not set through rigctld 2020-11-28 11:44:44 +01:00
Nonoo
b06ea77b59 Lock seqbuf for at least the duration of the RTT 2020-11-22 14:01:59 +01:00
Nonoo
7b6194a702 Fix function and result names 2020-11-21 18:48:24 +01:00
Nonoo
7102938893 Reduce RX buffer sizes 2020-11-21 18:46:37 +01:00
Nonoo
75010175f9 Fix lint warning 2020-11-21 18:44:13 +01:00
Nonoo
ffddab2822 Revert "Remove out of order check as it is already done by the RX seqbuf"
This reverts commit 55b220d14d.
2020-11-21 18:44:08 +01:00
Nonoo
f870a0f7c4 Revert "Remove other out of order check"
This reverts commit 69375f7915.
2020-11-21 18:43:49 +01:00
Nonoo
69375f7915 Remove other out of order check 2020-11-21 11:43:12 +01:00
Nonoo
9a5e304ff4 Cleanup 2020-11-21 11:29:36 +01:00
Nonoo
55b220d14d Remove out of order check as it is already done by the RX seqbuf 2020-11-21 11:29:08 +01:00
Nonoo
c5a6742260 Increase serial stream seqbuf length 2020-11-21 11:02:52 +01:00
Nonoo
bed7d95f7c Decrease latency of RX seqbuf 2020-11-21 11:01:37 +01:00
Nonoo
44f5b15994 Use own TX seqbuf entry struct 2020-11-21 10:59:13 +01:00
Nonoo
0eab91d9bf Add command line argument to turn off logging 2020-11-20 11:08:53 +01:00
Nonoo
0888eea5a6 Display running time when there's an audio stream timeout 2020-11-14 10:11:15 +01:00
Nonoo
0d43e0d519 Change TCP serial port server's default TCP port, as it conflicts with rotctld's default port 2020-11-12 18:08:58 +01:00
Nonoo
48c18a6470 Hande operating frequency depending on VFO 2020-11-09 13:32:02 +01:00
Nonoo
e87093e69c Do not read S/OVF while transmitting 2020-11-09 12:07:39 +01:00
Nonoo
aca26b053a Fix stuck in DUP+ mode 2020-11-09 11:58:52 +01:00
Nonoo
744a16a8aa Add support for x and X rigctld commands 2020-11-09 11:50:36 +01:00
Nonoo
0d4dff6b08 Add split display info 2020-11-09 11:01:46 +01:00
Nonoo
ad03d096cc Add i and I rigctld commands 2020-11-09 11:00:00 +01:00
Nonoo
4b5e185da5 Fix string splitting 2020-11-09 10:13:57 +01:00
Nonoo
f36adcd080 Update demo animation 2020-11-09 10:08:08 +01:00
Nonoo
aeeaa981cf Fix panic on audio stream timeout 2020-11-09 10:05:39 +01:00
Nonoo
5a40225408 Add configurable CI-V address 2020-11-09 09:54:50 +01:00