Welcome To Our Support Portal

Browse Impinj resources for help with FAQ, downloads, quick links, and more.


Submit a request

Octane SDK

Follow


This post contains two versions of Octane SDK.  Click the links below to read more details about each one.

  1. Octane SDK .NET
  2. Octane SDK Java

 

 

Octane SDK .NET

Starting with the Octane SDK .NET version 2.26.1 and LTK .NET version 10.26.1, Impinj is providing these libraries via NuGet.org. NuGet is the package manager for the Microsoft development platform. 

In order to download the latest Octane SDK .NET and LTK .NET, choose a method and follow the steps outlined below.

  • Method 1: Download libraries directly from Visual Studio
  • Method 2: Download libraries via web browser

 

Method 1: Download Octane SDK and Impinj LTK libraries directly from Visual Studio

Note: If your Visual Studio is older than 2012, please upgrade to the latest version or use Method 2.

1) Launch Visual Studio and open your current SDK or LTK project. If this is the first time downloading the SDK or the LTK, create a new project in Visual Studio.

2) In Solution Explorer, right click on the project name and select Manage NuGet Packages...

3) In the next page, click on Browse at the top left corner, enter "llrp" in the search field, and press the Enter key.

1.png

You will see the Octane SDK and the LTK packages, such as below.

2.png

4) Click on the library you want to download. Install button becomes activated toward right. You can confirm the contents of the package, as shown below.

3.png

Note:  Make sure to check Dependencies (in the red rectangle above) before you install the Octane SDK or the LTK.

In this example, the Octane SDK requires .NET framework 4.6.1 or newer. If your current project is using .NET framework that is older than 4.6.1, you may receive an error as below.

4.png

If you receive an error similar to the above screenshot, you will need to change your project's Target framework to 4.6.1 or newer.

5) Click Install button to start installation.

6) You will be asked to accept the license terms. Review the license then click the I Accept button to proceed.

5.png

7) When successful, you will see a message similar to the following screenshot in the Output window:

Successfully installed 'OctaneSDK x.xx.x' to 'your_project_name'

6.png

Changing Project's Target Framework

1) In the Solution Explorer, right click on your project name and select Properties.

2) Select Application in the left column.

3) In Target framework dropdown, select .NET Framework 4.6.1

7.png

 

Method 2: Download Octane SDK and Impinj LTK libraries via web browser

If you want to download the Octane SDK Nuget package without Visual Studio to obtain the libraries, sample code, and documentation, please follow these steps:

1) Visit the Impinj NuGet page and choose the package (either Octane SDK or LLRP LTK .NET) you wish to download.

2) Click the "Download" link on the package page to download the nupkg file (e.g. octanesdk.2.28.0.nupkg) to your computer.

1.png

3) Once the Nuget package is downloaded to your computer, open the archive using 7-Zip or similar zip utility (e.g. 7-Zip is available on http://www.7-zip.org/).

2.png

4) Once you unzip file package, the files in the Nuget package should look something like this:

3.png

5) From the 7-Zip utility, drag and drop the Examples and Docs folders to a folder on your computer. The Docs folder contains the class library documentation.

4.png


6) The Examples folder contains each of the examples and a lib folder which contains the Octane SDK dll’s.
5.png 

 

Download previous Octane SDK .NET Libraries and ExamplesDownload File

 

 

 

 

Octane SDK Java 

Download Octane SDK Java (version 1.28.0):

Download Octane SDK Java Bundles and ExamplesDownload File

Download previous Octane SDK Java Bundles and ExamplesDownload File

 

This is the latest released version of Octane SDK libraries for Java. Please read EULA prior to using software.

 

Using Octane SDK Java with one of the following IDE:

- Eclipse

- Netbeans

 

Using Octane SDK Java with Command Line:

1) Open a command window and check the Java JDK Version to ensure you have version 1.7 or later.

C:>java –version
java version "1.7.0_67"
Java(TM) SE Runtime Environment (build 1.7.0_67-b01)
Java HotSpot(TM) 64-Bit Server VM (build 24.65-b04, mixed mode)

2) Download Octane SDK Java zip file

Download into a folder on your system (e.g. c:\temp\JavaSDK)

3) Extract the zip file

4) Build the Octane SDK Java Samples:

c:\temp\javaSDK\samples> javac com\example\sdksamples\*.java -classpath ..\lib\OctaneSDKJava-1.22.0.30-jar-with-dependencies.jar;.

5) Execute the SDK Java Samples:

XX-XX-XX is based on your Reader's Mac address

c:\temp\javaSDK> java -Dhostname=speedwayr-XX-XX-XX -classpath ..\lib\OctaneSDKJava-1.22.0.30-jar-with-dependencies.jar;. com.example.sdksamples.ReadTags

The output will look like:

Connecting
log4j:WARN No appenders could be found for logger org.apache.mina.filter.executor.ExecutorFilter).
log4j:WARN Please initialize the log4j system properly.
Applying Settings
Starting
Press Enter to exit.
EPC: 3008 33B2 DDD9 0140 0000 0000 Reader_ip: xarray-XX-XX-XX.impinj.com antenna: 1
EPC: 3008 33B2 DDD9 0140 0000 0000 Reader_ip: xarray-XX-XX-XX.impinj.com antenna: 1
EPC: 3008 33B2 DDD9 0140 0000 0000 Reader_ip: xarray-XX-XX-XX.impinj.com antenna: 1
…

 5) Get rid of the log4j warning messages:

      1. Create a log4jproperties file (e.g. “c:\temp\javaSDK\samples\log4j.properties”) with the following contents to save to a log file:
# Root logger option
log4j.rootLogger=INFO, file
# Direct log messages to a log file log4j.appender.file=org.apache.log4j.RollingFileAppender log4j.appender.file.File=C:\\temp\\javaSDK\\log.out log4j.appender.file.MaxFileSize=10MB log4j.appender.file.MaxBackupIndex=10 log4j.appender.file.layout=org.apache.log4j.PatternLayout log4j.appender.file.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} %-5p %c{1}:%L - %m%n
      1. Define log4j.configuration on the java command line:
c:\temp\javaSDK\samples> java -Dlog4j.configuration=file:log4j.properties -Dhostname=speedwayr-XX-XX-XX -classpath ..\lib\OctaneSDKJava-1.22.0.30-jar-with-dependencies.jar;. com.example.sdksamples.ReadTags

 

6) Look at all of the Octane SDK for Java Samples

      • All of the Octane Java SDK samples can be seen by doing a directory listing on the samples folder:
C:\temp\JavaSDK\samples> dir com\example\sdksamples\*.java

Now you are ready to develop Octane SDK Java applications!


Was this article helpful?
0 out of 0 found this helpful

Comments

  • Avatar
    Mike Lenehan

    Posted new Octane SDK for Java (version 1.26.2).

  • Avatar
    Mike Lenehan

    Posted new Octane SDKs for .NET (version 2.28.0) and Java (version 1.28.0).

Impinj (NASDAQ: PI) wirelessly connects billions of everyday items such as apparel, medical supplies, and automobile parts to consumer and business applications such as inventory management, patient safety, and asset tracking. The Impinj platform uses RAIN RFID, delivering information about items to the digital world and enabling the Internet of Things.