FT857D-ESP32/FT857D-ESP32.cpp
// get the SPLIT status from the radio F6CZV
// 
get the SPLIT status from the radio F6CZV
get the SPLIT status from the radio F6CZV
bool FT857D::getSPLIT_status() {   
	byte rigTXState[5] = {0x00,0x00,0x00,0x00,0x00};
	bool Status = false;
	rigTXState[4] = CAT_EEPROM_READ_CMD;
	rigTXState[0] = MSB_ADD_SPLIT_STATUS;
	rigTXState[1] = LSB_ADD_SPLIT_STATUS;
	sendCmd(rigTXState, 5);
	byte reply = getByte();
	Status = reply & 0x80;
        reply = getByte(); 
	return Status;
}
bool FT857D :: getSPLIT_status ( ) { byte rigTXState [ 5 ] = { 0x00 , 0x00 , 0x00 , 0x00 , 0x00 } ; bool Status = false ; rigTXState [ 4 ] = CAT_EEPROM_READ_CMD ; rigTXState [ 0 ] = MSB_ADD_SPLIT_STATUS ; rigTXState [ 1 ] = LSB_ADD_SPLIT_STATUS ; sendCmd ( rigTXState , 5 ) ; byte reply = getByte ( ) ; Status = reply & 0x80 ; reply = getByte ( ) ; return Status ; }
get the SPLIT status from the radio F6CZV
get the SPLIT status from the radio F6CZV
// byte discarded