Beispiel #1
0
 public void PassAll()
 {
     Reset(1);
     Mask[0]    = 0x00;
     Pattern[0] = 0x00;
     FilterType = J2534FILTER.PASS_FILTER;
 }
Beispiel #2
0
        public void StandardISO15765(byte[] SourceAddress)
        {
            //Should throw exception??
            if (SourceAddress.Length != 4)
            {
                return;
            }
            Reset(4);
            Mask[0] = 0xFF;
            Mask[1] = 0xFF;
            Mask[2] = 0xFF;
            Mask[3] = 0xFF;

            Pattern     = SourceAddress;
            Pattern[3] += 0x08;

            FlowControl = SourceAddress;

            TxFlags    = J2534TXFLAG.ISO15765_FRAME_PAD;
            FilterType = J2534FILTER.FLOW_CONTROL_FILTER;
        }
Beispiel #3
0
 public void Block(byte[] Match)
 {
     ExactMatch(Match);
     FilterType = J2534FILTER.BLOCK_FILTER;
 }
Beispiel #4
0
 public void Pass(byte[] Match)
 {
     ExactMatch(Match);
     FilterType = J2534FILTER.PASS_FILTER;
 }