User's Manual

CAENRFIDNotify Class
The CAENRFIDNotify class defines the structure of a notification message.
In Java, Android and C# lanuguages this class is composed by methods while in C language is present as a struct (for
more information see § Overview on SDK pag.8):
C representation:
typedef struct {
byte ID[MAX_ID_LENGTH];
short Length;
char LogicalSource[MAX_LOGICAL_SOURCE_NAME];
char ReadPoint[MAX_READPOINT_NAME];
CAENRFIDProtocol Type;
short RSSI;
byte TID[MAX_TID_SIZE];
short TIDLen;
byte XPC[XPC_LENGTH];
byte PC[PC_LENGTH];
} CAENRFIDNotify;
getDate Method
Description:
This method returns a timestamp representing the time at which the event was generated.
Return value:
The timestamp value.
Syntax:
C# representation:
public DateTime getDate()
Java and Android representation:
public java.util.Date getDate()
getPC Method
Description:
This method represents the PC code in the tag.
Return value:
The tag's Protocol Control code.
Syntax:
C# representation:
public byte[] getPC()
Java and Android representation:
public byte[] getPC()
CAEN RFID API – Reference Manual72