Search This Blog

Wednesday, February 16, 2011

DLP RFID1 .NET DLL

DLP RFID 1 API for IEEE15693 C# .NET

 

Download Here

RFIDCardDotNet.zip

I have been working on a project for the special education school. My project involves the use of RFID reader from DLP Design (http://www.dlpdesign.com/rf/rfid1.shtml). Being a typical .NET programmer, I wanted to develop my application in C# windows application using DLP RFID1 reader. I took the sample code from the DLP site (http://www.dlpdesign.com/rfrdr/) which was given in C++. I tried to write a wrapper around the existing library, but then came across a site/blog (http://www.electricrock.co.nz/tools/dlp-rfid1-library-for-linux/) who wrote about the details of the communication protocol. So I wrote according the to document and it worked!!! My system had a card already made and it runs on IEEE5693. So I wrote my DLP RFID1 .NET library only for this type of tag. I am attaching the download link for the library and also giving a screenshot tutorial of the library usage.

Add Reference as shown…

addreference

Add the files that you downloaded

addfiles

And here is the code

..


using System;


using System.Text;


using RFIDCard;


..



if (!CardReader.DetectReader())


Console.WriteLine(CardReader.ErrorMsg);


else


Console.WriteLine(CardReader.ReadRFCard());



 


Sorry for poor documentation.


There are only 2 usable functions and 1 string variable.



Functions (static):



image


String Variable for error feedback (static):



image


 


Download Here


RFIDCardDotNet.zip


 




Leave comments.





No comments:

Post a Comment