private void ProcessTransmission() { var transmission = Incoming.EmptyIntoArray(); if (IsValidTransmission(transmission)) CurrentScan = GetTransmissionString(transmission); State = RFIDTransmissionState.Waiting; }
public void Read(byte read) { if (State == RFIDTransmissionState.Collecting) ProcessRead(read); else if (read == START_TRANSMISSION) State = RFIDTransmissionState.Collecting; }
private void ProcessTransmission() { var transmission = Incoming.EmptyIntoArray(); if (IsValidTransmission(transmission)) { OnIDScan(GetTransmissionString(transmission)); } State = RFIDTransmissionState.Waiting; }
public void Read(byte read) { if (State == RFIDTransmissionState.Collecting) { ProcessRead(read); } else if (read == START_TRANSMISSION) { State = RFIDTransmissionState.Collecting; } }