question: 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 ; }
target:  Checks if the message received is the expected redundant message.