Namespace TechnologySolutions.Rfid.AsciiProtocol.Transports
This namespace provides a new connection management API for TSL Technology Solutions UK Ltd ASCII 2 Protocol readers
An IAsciiTransportsManager provides a number of IAsciiTransportEnumerator which enumerate a list of IAsciiTransport. Each IAsciiTransportEnumerator enumerates a particular PhysicalTransport.
The IAsciiTransport provides a connect method to connect to a reader. This returns a IAsciiConnection which can be assigned to an AsciiCommander to communicate with the reader.
There should be a single @TechnologySolutions.Rfid.AsciiProtocol.IAsciiTransportsManger instance for the application. Once any additional enumerators have been added, each enumerator should be started and left running. All changes to IAsciiTransport are notified through the manager.
The manager provides a IBluetoothSecurity instance to allow connections to be made to Bluetooth devices with a known Bluetooth MAC address. The Bluetooth MAC address of Technology Solutions readers can be obtained by scanning the 2D barcode on the main body or by NFC by touching an NFC reader to the NFC logo on the label.
Classes
- AsciiTransportsManagerExtensions
Helper methods for the IAsciiTransportsManager
- TransportStateChangedEventArgs
EventArgs raised when the ConnectionState of an State changes
Interfaces
- IAsciiConnection
Represents an open connection to an ASCII Protocol reader.
- IAsciiTransport
Information about a potential IAsciiConnection to a reader using a specified PhysicalTransport
- IAsciiTransportEnumerator
Provides methods to identify available IAsciiTransports to use to connect to ASCII Protocol readers
- IAsciiTransportsManager
Provides a central interface to manage transports available to ASCII Protocol readers
- INotifyTransportChanged
Reports changes in ASCII transports to the application
Enums
- ConnectionState
The states of the reader connection (extended from ReaderConnectionState) ReaderConnectionState
- EnumerationState
Reports the state of the enumerator
- PhysicalTransport
Identifies the type of transport used