Welcome To Our Support Portal

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


Submit a request

Reading tags over TCP/IP socket using Speedway Connect software [VIDEO]

Follow


Speedway Connect software offers the ability to collect tag data from the Impinj Speedway Revolution RFID reader regardless of operating system or development platform.

By running Speedway Connect on the reader and configuring it to export tag reads over TCP/IP, any device which supports opening TCP/IP connections, or sockets, can import tag data.

Here is a video in which Speedway Connect software is configured to export tag data from the Speedway Revolution reader over a TCP/IP port. A simple Ruby script is then created to open a socket and import tag data.

NOTE: The following video shows connecting to the Speedway Connect web UI using the following URL:

http://<reader host name>:8080.  

For more recent Speedway Connect versions (version 1.0.4 and newer), you need to use the following URL to access the Speedway Connect web UI:

https://<reader host name>

Notice, this is now a secure (https://) connection and the port (:8080) is no longer needed.  The first time you connect to the Speedway Connect web UI, your browser will inform you that the SSL certificate is self-signed (not signed by a trusted third party). To get around this, just click “Add an exception” in your browser and once you add it to your approved list, you should not see that message again.

 

 

Here is some C# sample code which would allow you to do the same in a .NET application:

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Net.Sockets;
using System.Net;
 
namespace RshellScripting
{   
class Program  
{
static Socket socket;       
static void Main(string[] args)       
{           
int count;
string str;           
byte[] buffer = new byte[1024];
// Replace READER_HOSTNAME with your reader's host name or IP address
const string READER_HOSTNAME = "SpeedwayR-10-54-f9.local";           
 
try           
{               
// Create a new socket               
socket = new Socket(AddressFamily.InterNetwork, SocketType.Stream, ProtocolType.IP);
// Get the IP address of the reader by hostname
IPAddress[] ip = Dns.GetHostAddresses(READER_HOSTNAME);
// Create an IP endpoint using the IP address
IPEndPoint ep = new IPEndPoint(ip[0], 23);
// Connect to the telnet socket on the reader
socket.Connect(ep);
count = socket.Receive(buffer);
//Ouput socket buffer to console
Console.WriteLine(System.Text.Encoding.ASCII.GetString(buffer,0,count));
 
}           
catch (SocketException ex)
{               
Console.WriteLine("A socket exception occurred : " + ex.Message);
}            
Console.WriteLine("Press enter to exit");
Console.ReadLine();
}   
}
}
 

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

Comments

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.