Problems connecting RFD8500 scanner via Bluetooth for C# WPF app

V Vedsatx Saddvv 1 year 8 months ago
17 0 0

The API documentation (Zebra RFID SDK for Windows Overview) is outdated and sample app crashes, and doesn't compile from the source code (Windows.Desktop.DemoApp.Src_v3.0.23.zip)

Environment:
Windows 10 21H2
Visual Studio Pro 2022
.NET 4.8 C# WFP project

When following the SDK instructions: (From Page 9 - "Connecting to an RFID Reader")
Create an IRemoteReaderManagement interface instance by using the RfidSdk.RemoteReaderManagementServicesFactory class. Create the method as follows:
IRemoteReaderManagement readerManagement =RfidSdk.RemoteReaderManagementServicesFactory.Create();

Visual Studio complains that "RemoteReaderManagementServicesFactory" is obselete and to use ReaderManagementServicesFactory instead.
So, off I got, and find out I need to supply a ReaderCommunicationMode, which I discover from the Sample app code mentioned above to be passed as "ReaderCommunicationMode.Bluetooth" so my code now looks like this...

IRemoteReaderManagement readerManagement =RfidSdk.RemoteReaderManagementServicesFactory.Create(ReaderCommunicationMode.Bluetooth);

If I run this, it crashes out with:
System.ArgumentException: 'Value does not fall within the expected range.'

Can anyone help me with this, it's so frustrating, have I overlooked something? Is it a dev environment issue? Does anyone have an updated API or sample code that compiles out of the box that reads RFID tags via Bluetooth?.

My end goal is to create a windows C# .Net 4.x app that reads surrounding RFID tag numbers using a RFD8500 scanner, which is connected to Windows PC via Bluetooth.

Thanks

CONTACT
Can’t find what you’re looking for?