Skip to main content

Class IDxxLA

RFID reader for ID-2LA, ID-12LA and ID-20LA serial readers.

Assembly: IDxxLA.dll​
View Source​
Declaration
public class IDxxLA : IRfidReader, IObservable<byte[]>, IDisposable

Implements:
Meadow.Foundation.Sensors.Radio.Rfid.IRfidReader, System.IObservable<System.Byte[]>, System.IDisposable

Properties​

LastRead​

A cached copy of the last successfully read RFID tag.

View Source​
Declaration
public byte[]? LastRead { get; }

Fields​

BaudRate​

The baud rate (9600)

View Source​
Declaration
public const int BaudRate = 9600

DataBits​

Data bits (7)

View Source​
Declaration
public const int DataBits = 7

Methods​

Dispose()​

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

View Source​
Declaration
public void Dispose()

StartReading()​

Start reading for RFID tags.

View Source​
Declaration
public void StartReading()

StopReading()​

Stop reading for RFID tags.

View Source​
Declaration
public void StopReading()

Subscribe(IObserver<byte[]>)​

Subscribe to RFID tag reads. Observer will only receive valid reads, with invalid reads triggering an OnError call. OnComplete will be called if this instance is disposed. This call is thread-safe.

View Source​
Declaration
public IDisposable Subscribe(IObserver<byte[]> observer)
Returns​

System.IDisposable: Disposable unsubscriber

Parameters​
TypeNameDescription
System.IObserver<System.Byte[]>observerThe observer to subscribe

Events​

RfidRead​

Event fired when an RFID tag is read. Check the read status to see if the read was successful.

View Source​
Declaration
public event RfidReadEventHandler RfidRead
Event Type​

Meadow.Foundation.Sensors.Radio.Rfid.RfidReadEventHandler

Implements​