From 6e1ed7044ac6dd2eaa5c9b925307b24716a4c41a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Fillod=2C=20F8CFE?= Date: Tue, 10 Oct 2000 22:17:34 +0000 Subject: [PATCH] added PTT defs and other git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@210 7ae35d74-ebe9-4afe-98af-79ac388436b8 --- icom/icom_defs.h | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/icom/icom_defs.h b/icom/icom_defs.h index 6cfce8d34..d79532d42 100644 --- a/icom/icom_defs.h +++ b/icom/icom_defs.h @@ -6,7 +6,7 @@ * used by the ICOM "CI-V" interface. * * - * $Id: icom_defs.h,v 1.2 2000-09-19 07:06:19 f4cfe Exp $ + * $Id: icom_defs.h,v 1.3 2000-10-10 22:17:34 f4cfe Exp $ * * * This program is free software; you can redistribute it and/or @@ -74,7 +74,8 @@ #define C_RD_SQSM 0x15 /* Read squelch condiction/S-meter level, Sc */ #define C_SET_FUNC 0x16 /* Function settings (AGC,NB,etc.), Sc */ #define C_SND_CW 0x17 /* Send CW message */ -#define C_RD_TRXID 0x17 /* Read transceiver ID code */ +#define C_RD_TRXID 0x19 /* Read transceiver ID code */ +#define C_CTL_PTT 0x1c /* Control Transmit On/Off, Sc */ #define C_CTL_MISC 0x7f /* Miscellaneous control, Sc */ /* @@ -161,6 +162,16 @@ #define S_VOX 0x46 /* VOX setting */ #define S_BKIN 0x47 /* BK-IN setting */ +/* + * Transceiver ID (C_RD_TRXID) subcommands + */ +#define S_TRXID 0x00 /* Read transceiver ID code */ + +/* + * Transmit control (C_CTL_PTT) subcommands + */ +#define S_PTT_ON 0x00 /* no documentation, not tested! */ +#define S_PTT_OFF 0x01 /* please confirm (IC-756Pro, IC-746) --SF */ #endif /* _ICOM_DEFS_H */