资源简介
RFID 开发库,尽情笑纳
代码片段和文件信息
package es.deusto.smartlab.rfid;
/**
*@author Xabier Echevarría Espinosa
*/
public interface InterfaceRFID
{
/**
*Initializes the corresponding RFID kit the Texas Instruments‘s or Microchip‘s kit testing the connection with the reader/interrogator and opening the serial port.
*@return Returns success if an RFID kit was successfully initialized.
*/
public boolean init();
/**
*Sets the specific serial port to connect with the reader/interrogator.
*@param port
*Serial port to use.
*/
public void setPort(String port);
/**
*Checks if any tag is present the reader/interrogator searchs for a variety of tags.
*@return Returns a response with the tags found.
*/
public Tag[] findTokens();
/**
*Reads a single memory block. Gets the data from one memory block.
*@param id
*Unique ID of the tag.
*@param blockNumber
*Specifies the block to read.
*@return Returns a response with the tag read. The tag contains the kit used the type of tag its unique ID and the data of the memory block.
*/
public Tag readSingleBlockMemory(byte[] id int blockNumber)
throws RFIDException;
/**
*Reads all the memory blocks. Gets the data from all the memory blocks.
*@return Returns a response with the tags read. Each tag contains the kit used the type of tag its unique ID and the data of all the memory blocks.
*/
public Tag[] readAllBlocksMemory()
throws RFIDException;
/**
*Reads all the memory blocks. Gets the data from all the memory blocks.
*@param id
*Unique ID of the tag.
*@return Returns a response with the tag read. The tag contains the kit used the type of tag its unique ID and the data of all the memory blocks.
*/
public Tag readAllBlocksMemory(byte[] id)
throws RFIDException;
/**
*Reads multiple memory blocks. Gets the data from multiple memory blocks.
*@param id
*Unique ID of the tag.
*@param startBlockNumber
*Specifies the first block to read.
*@param endBlockNumber
*Specifies the end block to read.
*@return Returns a response with the tag read. The tag contains the kit used the type of tag its unique ID and the data of multiple memory blocks.
*/
public Tag readMultipleBlocksMemory(byte[] id int startBlockNumber int endBlockNumber)
throws RFIDException;
/**
*Writes memory blocks. Writes data to memory blocks of the addressed tag.
*@param id
*Unique ID of the tag.
*@param startBlockNumber
*Specifies the first block to write.
*@param data
*Data to be written to specified blocks.
*/
public void writeTokens(byte [] id int startBlockNumber byte [] data)
throws RFIDException;
/**
*Destroys the communication with the reader/interrogator and closes the serial port.
*/
public void d
- 上一篇:android sqlite数据库使用
- 下一篇:java版的日历查看器 + 备忘录
相关资源
- java版的日历查看器 + 备忘录
- 阿里巴巴 Java 开发手册2018最新版
- java 聊天程序 基于SWING的GUI界面
- Java零基础开发桌球小游戏项目(完整
- Java写的木马程序源码,仅供学习参考
- java实现简单通讯录
- java聊天室程序设计报告
- java语言点名系统
- java语言仿真CPU5级流水线源码+报告
- java毕业设计参考文献
- 足球游戏Java
- voronoi泰森多边形算法和delaunay triang
- java写的雷电(代码+论文+幻灯片+效果
- 一个机遇JAVA Web的websocket
- 一个java编写的简易计算器源码 实现简
- 基于网页1对多的聊天室java+servlet+js
- java socket 聊天系统
- java接入微信APP支付/支付宝APP支付
- 幸运大转盘-jQuery+Java实现的抽奖程序
- Java 16年7月基础班+就业班视频
- Java sun audio包
- Java面向对象程序设计课后答案
- java实现的简单仓库管理系统
- java实现FTP服务器
- 个人通讯录管理 JAVA
- Java应用程序的Modbus4j串口通讯
- java源代码:日程管理小程序
- Java模拟交通路况
- 家庭理财系统java简单版
- Java 天气预报 & 万年历(带农历)
评论
共有 条评论