资源简介
用来开发Reader speedway API 工具包,java版本。
代码片段和文件信息
package com.example.sdksamples;
import com.impinj.octane.*;
import java.util.Scanner;
// this example shows the different settings for advanced GPO.
public class AdvancedGPO {
public static void main(String[] args) {
try {
String hostname = System.getProperty(SampleProperties.hostname);
if (hostname == null) {
throw new Exception(“Must specify the ‘“
+ SampleProperties.hostname + “‘ property“);
}
ImpinjReader reader = new ImpinjReader();
// Connect
System.out.println(“Connecting to “ + hostname);
reader.connect(hostname);
FeatureSet features = reader.queryFeatureSet();
if (features.getGpoCount() < 4) {
System.out.print(“Must use a reader with at least 4 GPOs to “
+ “run this example“);
System.exit(-2);
}
// Get the default settings
Settings settings = reader.queryDefaultSettings();
GpoConfigGroup gpos = settings.getGpos();
// this gpo will be high when tags inventory is running
gpos.getGpo((short) 1).setMode(GpoMode.ReaderInventoryStatus);
// this will go high when a client app connects
gpos.getGpo((short) 2).setMode(GpoMode.LLRPConnectionStatus);
// this will pulse for a period of time
gpos.getGpo((short) 3).setMode(GpoMode.Pulsed);
gpos.getGpo((short) 3).setGpoPulseDurationMsec(1000);
// just a normal GPO
gpos.getGpo((short) 4).setMode(GpoMode.Normal);
// Apply the new settings
reader.applySettings(settings);
// disconnect and reconnect to show GPO
System.out.println(“Disconnecting from “ + hostname);
reader.disconnect();
try {
Thread.sleep(3000);
} catch (InterruptedException ex) {
// ignore this since its just an example and just keep going
}
System.out.println(“Connecting to “ + hostname);
reader.connect(hostname);
// delay so we can see the GPO state
try {
Thread.sleep(3000);
} catch (InterruptedException ex) {
// ignore this since its just an example and just keep going
}
// don‘t connect a listener so we dont get the reports
// typical applications will still connect a tag listener
// reader.setTagReportListener(new TagReportListenerImplementation());
// Start the reader
System.out.println(“Starting inventory on “ + hostname);
reader.start();
// Set the GPO high every three seconds.
// The GPO will remain high for the period
// specified by GpoPulseDurationMsec.
for (int i = 0; i < 5; i++) {
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2017-09-01 00:54 Octane_SDK_Java_1_28_0_1\
目录 0 2017-09-01 00:54 Octane_SDK_Java_1_28_0_1\documentation\
目录 0 2017-09-01 00:54 Octane_SDK_Java_1_28_0_1\documentation\javadoc\
文件 20317 2017-09-01 00:54 Octane_SDK_Java_1_28_0_1\documentation\javadoc\allclasses-fr
文件 17437 2017-09-01 00:54 Octane_SDK_Java_1_28_0_1\documentation\javadoc\allclasses-nofr
目录 0 2017-09-01 00:54 Octane_SDK_Java_1_28_0_1\documentation\javadoc\com\
目录 0 2017-09-01 00:54 Octane_SDK_Java_1_28_0_1\documentation\javadoc\com\impinj\
目录 0 2017-09-01 00:54 Octane_SDK_Java_1_28_0_1\documentation\javadoc\com\impinj\octane\
文件 8405 2017-09-01 00:54 Octane_SDK_Java_1_28_0_1\documentation\javadoc\com\impinj\octane\AntennaChangeListener.html
文件 22805 2017-09-01 00:54 Octane_SDK_Java_1_28_0_1\documentation\javadoc\com\impinj\octane\AntennaConfig.html
文件 31162 2017-09-01 00:54 Octane_SDK_Java_1_28_0_1\documentation\javadoc\com\impinj\octane\AntennaConfigGroup.html
文件 11629 2017-09-01 00:54 Octane_SDK_Java_1_28_0_1\documentation\javadoc\com\impinj\octane\AntennaEvent.html
文件 15158 2017-09-01 00:54 Octane_SDK_Java_1_28_0_1\documentation\javadoc\com\impinj\octane\AntennaEventType.html
文件 12981 2017-09-01 00:54 Octane_SDK_Java_1_28_0_1\documentation\javadoc\com\impinj\octane\AntennaHubStatus.html
文件 10389 2017-09-01 00:54 Octane_SDK_Java_1_28_0_1\documentation\javadoc\com\impinj\octane\AntennaHubStatusGroup.html
文件 8852 2017-09-01 00:54 Octane_SDK_Java_1_28_0_1\documentation\javadoc\com\impinj\octane\AntennaIds.html
文件 10847 2017-09-01 00:54 Octane_SDK_Java_1_28_0_1\documentation\javadoc\com\impinj\octane\AntennaStatus.html
文件 10519 2017-09-01 00:54 Octane_SDK_Java_1_28_0_1\documentation\javadoc\com\impinj\octane\AntennaStatusGroup.html
文件 13426 2017-09-01 00:54 Octane_SDK_Java_1_28_0_1\documentation\javadoc\com\impinj\octane\AntennaUtilities.html
文件 17273 2017-09-01 00:54 Octane_SDK_Java_1_28_0_1\documentation\javadoc\com\impinj\octane\AutoStartConfig.html
文件 15454 2017-09-01 00:54 Octane_SDK_Java_1_28_0_1\documentation\javadoc\com\impinj\octane\AutoStartMode.html
文件 15409 2017-09-01 00:54 Octane_SDK_Java_1_28_0_1\documentation\javadoc\com\impinj\octane\AutoStopConfig.html
文件 14953 2017-09-01 00:54 Octane_SDK_Java_1_28_0_1\documentation\javadoc\com\impinj\octane\AutoStopMode.html
文件 13114 2017-09-01 00:54 Octane_SDK_Java_1_28_0_1\documentation\javadoc\com\impinj\octane\BackgroundWorker.html
文件 10772 2017-09-01 00:54 Octane_SDK_Java_1_28_0_1\documentation\javadoc\com\impinj\octane\BitPointers.html
文件 12474 2017-09-01 00:54 Octane_SDK_Java_1_28_0_1\documentation\javadoc\com\impinj\octane\BlockPermalockMask.html
文件 17769 2017-09-01 00:54 Octane_SDK_Java_1_28_0_1\documentation\javadoc\com\impinj\octane\BlockPermalockResult.html
文件 7659 2017-09-01 00:54 Octane_SDK_Java_1_28_0_1\documentation\javadoc\com\impinj\octane\BufferOverflowEvent.html
文件 8574 2017-09-01 00:54 Octane_SDK_Java_1_28_0_1\documentation\javadoc\com\impinj\octane\BufferOverflowListener.html
文件 10214 2017-09-01 00:54 Octane_SDK_Java_1_28_0_1\documentation\javadoc\com\impinj\octane\BufferWarningEvent.html
文件 8558 2017-09-01 00:54 Octane_SDK_Java_1_28_0_1\documentation\javadoc\com\impinj\octane\BufferWarningListener.html
............此处省略198个文件信息
相关资源
- CTP接口c/C#/jAVA/MATLAB
- JAVA校友录的设计与实现
- 餐厅管理系统(java-web项目)
- 基于java的快递打印系统
- JavaWeb SQL 超市管理系统
- JavaEE电子购物网站
- java jsp代码生成器
- java链接hive需要的jar
- 基于JAVA WEB 的论坛网站开发工程
- 网上订餐系统毕业设计完整版jsp+ser
- Echarts连接数据库
- 北大青鸟 超市账单管理项目Java代码
- 销售税面试题java实现
- java相册管理系统
- 使用JSP+Servlet+JavaBean(MVC)设计的网上
- 软件工程课程设计图书馆管理系统
- 基于Java-web的音乐网站设计与实现
- java 3D 1.5 For Windows
- 学生信息管理系统 Java+sql server
- JAVA-计算机操作系统 多级反馈队列调
- JavaWEB 图书购物车管理系统源码
- javaee之信息管理后台
- Java课程设计超级万年历文档
- 打印机管理网Java Web+Bootstrap
- bbs论坛完整源码 jsp+servlet
- JAVA连接SQL2008Microsoft SQL Server JDBC
- 基于java Web的网上商城的设计与实现的
- java selenium chromedriver win32 win64
- 自行车租赁管理系统
- Java写的KTV管理系统Swing界面,含源码
评论
共有 条评论