FT857D-ESP32/FT857D-ESP32.cpp
// get the MTR, Keyer and Break-In configurations from the radio F6CZV
// 
get the MTR, Keyer and Break-In configurations from the radio F6CZV
get the MTR Keyer and Break - In configurations from the radio F6CZV
void FT857D::getCW_MTR_Conf(byte &MTR,bool &KYR,bool &BK) {   
	byte rigTXState[5] = {0x00,0x00,0x00,0x00,0x00};
	rigTXState[4] = CAT_EEPROM_READ_CMD;
	rigTXState[0] = MSB_ADD_CW_MTR_CONF;
	rigTXState[1] = LSB_ADD_CW_MTR_CONF;
	sendCmd(rigTXState, 5);
	byte reply = getByte();
	MTR = reply & 0x03;
	KYR = reply & 0x10;
	BK = reply & 0x20;
        reply = getByte(); 
}
void FT857D :: getCW_MTR_Conf ( byte & MTR , bool & KYR , bool & BK ) { byte rigTXState [ 5 ] = { 0x00 , 0x00 , 0x00 , 0x00 , 0x00 } ; rigTXState [ 4 ] = CAT_EEPROM_READ_CMD ; rigTXState [ 0 ] = MSB_ADD_CW_MTR_CONF ; rigTXState [ 1 ] = LSB_ADD_CW_MTR_CONF ; sendCmd ( rigTXState , 5 ) ; byte reply = getByte ( ) ; MTR = reply & 0x03 ; KYR = reply & 0x10 ; BK = reply & 0x20 ; reply = getByte ( ) ; }
get the MTR, Keyer and Break-In configurations from the radio F6CZV
get the MTR Keyer and Break - In configurations from the radio F6CZV
// byte discarded