finding rfid type when rfid is received from device