Reader and System Information
The method rm.GetSystemInfo helps to get the reader system information. This includes Radio Firmware version, FPGA version, Up time, reader name, location, RAM available ,Flash memory available and Serial number
// Get Reader System Information
try
{
SystemInfo readerSystemInfo = readerSystemInfo = rm.GetSystemInfo();
Console.WriteLine("Reader Name : " + readerSystemInfo.ReaderName);
Console.WriteLine("Firmware Version : " + readerSystemInfo.RadioFirmwareVersion);
Console.WriteLine("FPGA Version : " + readerSystemInfo.FPGAVersion);
Console.WriteLine("RAM Available : " + readerSystemInfo.RAMAvailable + "bytes");
Console.WriteLine("Flash Available : " + readerSystemInfo.FlashAvailable + "bytes");
Console.WriteLine("Up Time : " + readerSystemInfo.UpTime);
Console.WriteLine("Reader Location : " + readerSystemInfo.ReaderLocation);
Console.WriteLine("Serial Number : " + readerSystemInfo.SerialNumber);
}
catch (OperationFailureException exception)
{
Console.WriteLine("GetSystemInfo failed " + exception.Message);
}
// Getting and Setting the Reader Information like name, description,
// location and contact information can be done using the property
// ReaderInfo.
// Get Reader Info
ReaderInfo readerInfo = rm.ReaderInfo;
Console.WriteLine("Reader Info");
Console.WriteLine(" Reader Name : " + readerInfo.Name);
Console.WriteLine(" Reader Description : " + readerInfo.Description);
Console.WriteLine(" Reader Location : " + readerInfo.Location);
Console.WriteLine(" Reader Contact : " + readerInfo.Contact);
// Set Reader Info
readerInfo.Description = "API3 Test Reader";
rm.ReaderInfo = readerInfo;