SickRfid 1.0.2

dotnet add package SickRfid --version 1.0.2                
NuGet\Install-Package SickRfid -Version 1.0.2                
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="SickRfid" Version="1.0.2" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add SickRfid --version 1.0.2                
#r "nuget: SickRfid, 1.0.2"                
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install SickRfid as a Cake Addin
#addin nuget:?package=SickRfid&version=1.0.2

// Install SickRfid as a Cake Tool
#tool nuget:?package=SickRfid&version=1.0.2                

SICK.RFU610.SDK

This is an SDK to communicate with the SICK RFU610 RFID reader over ethernet. It simplifies communication with the reader by providing an interface to read tags. Developers can use this SDK to integrate the reader into their applications. Features include:

  • Connect to the reader over ethernet
  • Read tags
  • Disconnect from the reader

Eventually, the we would like to support more features such as writing tags, configuring the reader, and more.

Installation

Installation via Package Manager Console in Visual Studio:

PM> Install-Package SickRfid

Installation via .NET CLI:

> dotnet add <TARGET PROJECT> package SickRfid

Usage

The SDK is very easy to use. Here is an example of how to read tags:

using SickRfid;

public class Program
{
    public async static void Main()
    {
        // Replace the IP address with the IP address of your reader
        var disconnectedReader = new SickRfidControllerBuilder("192.168.1.45").Build();
        
        // Connect to the reader
        var connectedReader = await disconnectedReader.ConnectAsync();
        
        // Read a tag. This starts the scanner, reads a tag within the timeout, and stops the scanner.
        var tagId = await connectedReader.ScanRfidAsync();
        
        // Print the tag ID
        Console.WriteLine($"Tag ID: {tagId}");
    }
}

Under the hood, connectedReader.ScanRfidAsync() calls three methods itself. It is possible to call these methods separately if you need more control over the process:

using SickRfid;

public class Program
{
    public async static void Main()
    {
        var disconnectedReader = new SickRfidControllerBuilder("192.168.1.45").Build();
        var connectedReader = await disconnectedReader.ConnectAsync();
        
        // Start the scanner
        await connectedReader.StartAsync();
        
        // Read a tag
        await connectedReader.ReadAsync();
        
        // Stop the scanner
        await connectedReader.StopAsync();     
            
        Console.WriteLine($"Tag ID: {tagId}");
    }
}
Product Compatible and additional computed target framework versions.
.NET net6.0 is compatible.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 is compatible.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
  • net6.0

    • No dependencies.
  • net7.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.2 155 9/9/2024
1.0.1 164 5/6/2024
1.0.0 119 5/6/2024

Initial release