如何通过wifi从RFID阅读器获取数据?
问题描述:
我有wifi端口支持RFID阅读器,我想读取身份证并将其存储在文本文件或数据库中
我尝试过:
我试图对SDK代码进行逆向工程以改变其功能但是它很不相同
I have RFID reader supported by wifi port and i want to read ID card and store it in text file or database
What I have tried:
I tried to do reverse engineering for SDK code to change its functionality but it was diffecult
答
您好,如果您的RFID阅读器能够使用Wi-Fi,那么可以为其分配IP地址。现在,您可以通过Wi-Fi访问RFID阅读器。要从RFID阅读器读取数据,您必须使用其IP地址和PORT编号为RFID阅读器创建虚拟COM端口,这必须在托管阅读应用程序的地方完成。创建虚拟COM端口后,您可以通过串行端口通信在c#应用程序中访问它。要创建虚拟COM端口,请使用虚拟COM端口软件,例如免费软件虚拟COM端口仿真器
Hello, if your RFID reader is capable of working with wi-fi, then it can be assigned with an IP address for it. Now you can access your RFID reader over wi-fi. To read data from RFID reader, you have to create virtual COM port for the RFID reader with its IP address and PORT number, this must be done where your reading application is hosted. After creating the Virtual COM port, you can access this in your c# application through Serial Port communication. To create Virtual COM port, use Virtual COM port software like, Freeware Virtual COM Ports Emulator