SickRfid 1.0.0
See the version list below for details.
dotnet add package SickRfid --version 1.0.0
NuGet\Install-Package SickRfid -Version 1.0.0
<PackageReference Include="SickRfid" Version="1.0.0" />
paket add SickRfid --version 1.0.0
#r "nuget: SickRfid, 1.0.0"
// Install SickRfid as a Cake Addin #addin nuget:?package=SickRfid&version=1.0.0 // Install SickRfid as a Cake Tool #tool nuget:?package=SickRfid&version=1.0.0
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 Baseflow.SICK.RFU610.SDK
Installation via .NET CLI:
> dotnet add <TARGET PROJECT> package Baseflow.SICK.RFU610.SDK
Usage
The SDK is very easy to use. Here is an example of how to read tags:
using Baseflow.SICK.RFU610.SDK;
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 Baseflow.SICK.RFU610.SDK;
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 | Versions 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. |
-
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.
Initial release