private boolean isSensorRepeatedMessage(byte sortID){
  String sExpected=HexDump.toHexString(expectedSensorSortNumber);
  String sSortId=HexDump.toHexString(sortID);
  if (sExpected != null && sSortId != null && sExpected.length() == sSortId.length() && sExpected.length() >= 2) {
    return (sExpected.charAt(0) == sSortId.charAt(0)) && (sSortId.charAt(1) == '1');
  }
 else   return false;
}

private boolean isSensorRepeatedMessage ( byte sortID ) { String sExpected = HexDump . toHexString ( expectedSensorSortNumber ) ; String sSortId = HexDump . toHexString ( sortID ) ; if ( sExpected != null && sSortId != null && sExpected . length ( ) == sSortId . length ( ) && sExpected . length ( ) >= 2 ) { return ( sExpected . charAt ( 0 ) == sSortId . charAt ( 0 ) ) && ( sSortId . charAt ( 1 ) == '1' ) ; } else return false ; }
checks if the message received is the expected redundant message .
