public class RFIDSensor extends Sensor
| Constructor and Description | 
|---|
RFIDSensor()
Creates a sensor instance connected to port S1. 
 | 
RFIDSensor(SensorPort port)
Creates a sensor instance connected to the given port. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
java.lang.String | 
getProductID()
Returns the product identifier (if available). 
 | 
long | 
getTransponderId()
Polls the sensor. 
 | 
java.lang.String | 
getVersion()
Returns the sensor version number (if available). 
 | 
void | 
setContMode(boolean continuous)
Selects between Single Read and Continous Read mode. 
 | 
public RFIDSensor(SensorPort port)
port - the port where the sensor is plugged-inpublic RFIDSensor()
public java.lang.String getProductID()
public java.lang.String getVersion()
public void setContMode(boolean continuous)
continuous - if true, the sensor is put in Continous Read mode; otherwise
 it is put in Single Read mode.public long getTransponderId()