kopia lustrzana https://github.com/Hamlib/Hamlib
Merge pull request #1703 from CallumMcEwen/master
Updates to codan_set_ptt command and README.mdpull/1709/head
commit
49af447f27
|
@ -9,3 +9,8 @@ programming. This is most often the GP (general purpose) port which
|
|||
is a 15-pin D-Sub connector on a flying lead on the back of the radio.
|
||||
(NGT and Envoy models). Programming must be set to select "CICS" as
|
||||
the device which is addressed via the GP port.
|
||||
|
||||
As of SDR firmware V3.51 for Envoy and Sentry radios, the Amatuer option
|
||||
allows for Freetune Tx on ham bands only. Freetune Tx is no longer required
|
||||
for this rig file to work.
|
||||
VK5MCA
|
||||
|
|
|
@ -469,6 +469,10 @@ int codan_get_ptt_2110(RIG *rig, vfo_t vfo, ptt_t *ptt)
|
|||
/*
|
||||
* codan_set_ptt
|
||||
* Assumes rig!=NULL
|
||||
*
|
||||
* VK5MCA
|
||||
* Changing PTT activation from 'connect tcvr rf ptt %s' to CICS command 'ptt %s voice'.
|
||||
* This sets fast ALC and allows audio to pass to the transmitter via the GPIO port.
|
||||
*/
|
||||
int codan_set_ptt(RIG *rig, vfo_t vfo, ptt_t ptt)
|
||||
{
|
||||
|
@ -478,7 +482,7 @@ int codan_set_ptt(RIG *rig, vfo_t vfo, ptt_t ptt)
|
|||
|
||||
rig_debug(RIG_DEBUG_VERBOSE, "%s: ptt=%d\n", __func__, ptt);
|
||||
|
||||
SNPRINTF(cmd_buf, sizeof(cmd_buf), "connect tcvr rf ptt %s\rptt",
|
||||
SNPRINTF(cmd_buf, sizeof(cmd_buf), "ptt %s voice\rptt",
|
||||
ptt == 0 ? "off" : "on");
|
||||
response = NULL;
|
||||
retval = codan_transaction(rig, cmd_buf, 0, &response);
|
||||
|
|
Ładowanie…
Reference in New Issue