Skip to content

Commit 49af447

Browse files
authored
Merge pull request Hamlib#1703 from CallumMcEwen/master
Updates to codan_set_ptt command and README.md
2 parents 071416d + a3da9bb commit 49af447

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

rigs/codan/README.codan

+5
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,8 @@ programming. This is most often the GP (general purpose) port which
99
is a 15-pin D-Sub connector on a flying lead on the back of the radio.
1010
(NGT and Envoy models). Programming must be set to select "CICS" as
1111
the device which is addressed via the GP port.
12+
13+
As of SDR firmware V3.51 for Envoy and Sentry radios, the Amatuer option
14+
allows for Freetune Tx on ham bands only. Freetune Tx is no longer required
15+
for this rig file to work.
16+
VK5MCA

rigs/codan/codan.c

+5-1
Original file line numberDiff line numberDiff line change
@@ -469,6 +469,10 @@ int codan_get_ptt_2110(RIG *rig, vfo_t vfo, ptt_t *ptt)
469469
/*
470470
* codan_set_ptt
471471
* Assumes rig!=NULL
472+
*
473+
* VK5MCA
474+
* Changing PTT activation from 'connect tcvr rf ptt %s' to CICS command 'ptt %s voice'.
475+
* This sets fast ALC and allows audio to pass to the transmitter via the GPIO port.
472476
*/
473477
int codan_set_ptt(RIG *rig, vfo_t vfo, ptt_t ptt)
474478
{
@@ -478,7 +482,7 @@ int codan_set_ptt(RIG *rig, vfo_t vfo, ptt_t ptt)
478482

479483
rig_debug(RIG_DEBUG_VERBOSE, "%s: ptt=%d\n", __func__, ptt);
480484

481-
SNPRINTF(cmd_buf, sizeof(cmd_buf), "connect tcvr rf ptt %s\rptt",
485+
SNPRINTF(cmd_buf, sizeof(cmd_buf), "ptt %s voice\rptt",
482486
ptt == 0 ? "off" : "on");
483487
response = NULL;
484488
retval = codan_transaction(rig, cmd_buf, 0, &response);

0 commit comments

Comments
 (0)