Stéphane Fillod, F8CFE
c601e32503
TS-850 has skip flag in mem caps
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2644 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-02-20 12:22:19 +00:00
Stéphane Fillod, F8CFE
0bbcb64731
* split opertation
...
* set/get_channel
* scanning
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2643 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-02-20 10:33:32 +00:00
Alessandro Zummo, IZ1PRB
f032f44bc6
band up/down was inverted
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2632 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-02-13 19:34:21 +00:00
Alessandro Zummo, IZ1PRB
f3c47c5864
style fixes
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2631 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-02-13 19:29:16 +00:00
Stéphane Fillod, F8CFE
48c055dd3d
closer look at the K3, still untested
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2629 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-02-10 22:51:21 +00:00
Stéphane Fillod, F8CFE
080cb8cbaa
* implemented RIG_LEVEL_KEYSPD and RIG_LEVEL_PREAMP
...
* fixed RIG_LEVEL_ATT
* fix kenwood_set_channel prototype
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2628 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-02-10 22:48:25 +00:00
Alessandro Zummo, IZ1PRB
4c46fb604b
check ptt status before set_ptt. enabled on ts850.
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2627 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-02-09 20:59:31 +00:00
Alessandro Zummo, IZ1PRB
78197e7d4d
removed comment about switch optimizatons. the compiler will generate the
...
assembly code in a different order which is usually based on the case value.
other compiler optimizations might also affect it, so it's useless to optimize
the order.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2626 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-02-09 20:37:48 +00:00
Alessandro Zummo, IZ1PRB
bb6cf68ad2
implemented set/get_ext_param (voice, fine, xit, rit). enabled on ts450 and
...
ts850
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2620 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-02-06 14:15:12 +00:00
Alessandro Zummo, IZ1PRB
ab2d278ec1
Add description for the kenwood mode n. 8
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2619 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-02-05 21:05:59 +00:00
Alessandro Zummo, IZ1PRB
885c4109a8
generic, ts850: implemented CTCSS TN command (reported not working for ts850,
...
should now be fixed)
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2618 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-02-03 23:42:53 +00:00
Alessandro Zummo, IZ1PRB
e1c03296a4
Replace __FUNCTION__, which is gcc specific and was deprecated
...
a long time ago, with __func__, which is at least defined in C99.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2617 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-02-03 23:22:58 +00:00
Alessandro Zummo, IZ1PRB
b510ceb1cb
ts570,ts850,ts870s,ts140,ts480,ts680: use kenwood_simple_cmd where possible
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2616 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-02-03 22:56:07 +00:00
Alessandro Zummo, IZ1PRB
ba57679b78
remove unused parameter from get_kenwood_func
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2615 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-02-03 22:47:33 +00:00
Alessandro Zummo, IZ1PRB
d1a9a907ff
ts450: implement set_channel
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2614 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-02-03 22:45:59 +00:00
Alessandro Zummo, IZ1PRB
b8da433c98
thg71,tmv7,ts450s,ts690: verify rig id at rig_open
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2613 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-02-03 22:42:44 +00:00
Alessandro Zummo, IZ1PRB
80d96e2bbb
fix tabs
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2612 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-02-03 22:33:00 +00:00
Alessandro Zummo, IZ1PRB
392249c921
ts140,ts2000,ts480,ts570,ts680,ts850,ts870s: remove usage of fixed ; and EOM
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2611 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-02-03 22:13:55 +00:00
Alessandro Zummo, IZ1PRB
1d7a263642
remove fixed command terminator (;) from generic code
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2610 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-02-03 11:25:30 +00:00
Alessandro Zummo, IZ1PRB
5493af1a0a
ts450: indentation fixes
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2609 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-02-02 20:33:05 +00:00
Alessandro Zummo, IZ1PRB
bad22ce8df
ts450,ts690,ts850: use FL command to get/set filters in get/set_mode. (code from ts850.c)
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2608 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-02-02 20:30:36 +00:00
Alessandro Zummo, IZ1PRB
0bb6d6310a
ts450: remove RIG_FUNC_TONE from has_xx_func if tone unit is not detected
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2607 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-02-02 20:28:34 +00:00
Alessandro Zummo, IZ1PRB
9281935c5e
Make set_ptt behave as before, fix set_ant for ts570.c
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2606 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-02-02 07:30:35 +00:00
Alessandro Zummo, IZ1PRB
0523e477ac
Add kenwood_simple_cmd
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2605 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-02-02 07:29:11 +00:00
Stéphane Fillod, F8CFE
faf5c7e336
added Kenwood TRC-80
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2604 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-01-29 22:54:41 +00:00
Alessandro Zummo, IZ1PRB
b9a6379aa9
Use an appropriate debug level
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2602 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-01-29 08:41:57 +00:00
Alessandro Zummo, IZ1PRB
c82451afc6
Call kenwood_init in each and every driver
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2601 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-01-28 23:31:42 +00:00
Alessandro Zummo, IZ1PRB
c6cdfe91a8
Remove const from priv_caps to allow kenwood_init to initialize default values if they're missing
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2600 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-01-28 23:30:59 +00:00
Nate Bargmann, N0NB
30f66de479
Several Kenwood patches from Alessandro Zummo, azummo-lists@towertech.it
...
Among the changes:
I finally had the time to build the CAT interface for my TS450 and
discovered a couple of new commands.
MX; MX0; MX1; is used to activate the AIP function
FL; FLXXXYYY; is used to set the filters.
I made a perl script to try every possible two-letters command. If
amyone is interested, at their own risk, just ask.
I've then modified and optimized the kenwood driver:
- moved MD_ defined to .h
- added init/cleanup
- ts450_get_mode -> kenwood_get_mode_if
- support reading memory channel freq within kenwood_get_freq
- added kenwood_safe_transaction as an helper with result len check
- added kenwood_get_if
- added get_level for RIG_LEVEL_CWPITCH
- set/get for RIG_FUNC_AIP
- replaced ts140/680 get_mode and get_freq
- removed the delay on the ts450. it works just fine without it.
=============================
the attached patch requires the first one I sent and
addresses a few remaining issues
- converted 8 spaces to tabs
- added kenwood_mode_table
- added kenwood_simple_transaction helper func
- use kenwood2rmode and rmode2kenwood where possible
- some code cleanup
- use kenwood_safe/simple_transaction where possible
- added kenwood_get_mem_if (ts140,ts450,ts680,ts690,ts850)
- added kenwood_get_channel (ts450,ts850)
- added FUNC_FINE_STEP (commented out, we have no more func slots)
- added LEVEL_CWPITCH (set)
- no reason to have ts850_set_func, ts850_set_level
- ... ts480_get/set_ant, ts480_set_func
- ... ts570_set/get_ant, ts570_get_channel, ts570_get_rit
- ... ts680_set_func
- ... ts790_get_mode, ts790_get_vfo
this patch is a bit more extensive and tested only on the TS450.
feedback will be appreciated.
where I removed code I took care to verify that the generic
code in kenwood.c worked in the same way.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2591 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-01-23 03:24:42 +00:00
Stéphane Fillod, F8CFE
8c83b98465
fix warning
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2448 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-11-01 16:30:23 +00:00
Stéphane Fillod, F8CFE
13f6a16df1
fix warning
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2447 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-11-01 16:27:28 +00:00
Stéphane Fillod, F8CFE
c3cd75472a
fix warning
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2446 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-11-01 16:22:45 +00:00
Stéphane Fillod, F8CFE
18093e65c7
fix compilation with old compilers
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2443 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-10-31 22:34:58 +00:00
Thomas Beierlein, DL1JBE
b1bf5c9c67
changed RIG_STATUS_NEW into RIG_STATUS_UNTESTED.
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2424 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-10-26 13:54:52 +00:00
Stéphane Fillod, F8CFE
57dca4a25a
new backend for the Elekraft K3
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2378 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-09-01 19:01:13 +00:00
Stéphane Fillod, F8CFE
8c527d60df
* fix remaining places not knowing that tuning step is hexadecimal
...
* get ready for freqs higher than 31 bits
* on freq higher than 470MHz, tuning step of TH-F7 must be at least 10kHz
* fix flexible th_get_mode
* added RIG_LEVEL_BALANCE/RIG_LEVEL_ATT
* and yes, we do want to read the transaction's reply, to know if successful
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2354 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-05-05 21:57:32 +00:00
Stéphane Fillod, F8CFE
e5b52531fb
* Added th_set_ant/th_get_ant
...
* Flexible rmode_t conversion
* Made th_get_channel/th_set_channel more generic, esp. to work with TH-F7E
* Major TH-F7E improvements
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2348 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-05-04 21:27:26 +00:00
Stéphane Fillod, F8CFE
8159777ec1
chan_list fixes
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2347 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-05-04 21:23:26 +00:00
Stéphane Fillod, F8CFE
2514c47659
flexible rmode_t conversion, detect overflow in kenwood_transaction()
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2346 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-05-04 21:19:07 +00:00
Stéphane Fillod, F8CFE
3d834a4d1f
get rid of non portable %lld
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2345 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-05-04 21:16:04 +00:00
Stéphane Fillod, F8CFE
1f1a363dc6
new RIG_MTYPE_BAND
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2344 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-05-04 21:15:17 +00:00
Stéphane Fillod, F8CFE
95a679eb2e
* Split edge range chan_list, change MTYPE of PRIO
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2332 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-04-27 09:53:40 +00:00
Stéphane Fillod, F8CFE
f7923566b1
set_ant/get_ant support for ts870s and ts2000
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2304 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-03-01 11:20:30 +00:00
Stéphane Fillod, F8CFE
41b2de0880
S meter calibration, patch by Patrick Ouellette KB8PYM.
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2303 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-02-24 22:31:22 +00:00
Stéphane Fillod, F8CFE
1672951e2e
fix warning
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2292 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-02-13 21:28:52 +00:00
Stéphane Fillod, F8CFE
851d87d328
long long portability
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2291 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-02-13 20:59:15 +00:00
Thomas Beierlein, DL1JBE
1fb93b6864
- incremented backend sub-version and
...
- declared backend as stable
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2275 7ae35d74-ebe9-4afe-98af-79ac388436b8
2008-01-05 17:24:19 +00:00
Joop Stakenborg, PG4I
bc1e6f3959
try better s-meter readings
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2252 7ae35d74-ebe9-4afe-98af-79ac388436b8
2007-11-23 18:49:06 +00:00
Joop Stakenborg, PG4I
5d0e7ec51d
correct set/get power
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2251 7ae35d74-ebe9-4afe-98af-79ac388436b8
2007-11-23 16:08:32 +00:00
Thomas Beierlein, DL1JBE
b572fbfaf3
fixed bug in kenwood_transaction()
...
memset() missed initializing the answer buffer by one.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2213 7ae35d74-ebe9-4afe-98af-79ac388436b8
2007-09-04 15:01:23 +00:00