Table of Contents

Class BluetoothCommand

Namespace
TechnologySolutions.Rfid.AsciiProtocol.Commands
Assembly
TechnologySolutions.Rfid.AsciiProtocol.Core.dll

The .bt Bluetooth® functions of the Technology Solutions UK Ltd ASCII 2 Protocol

(.bt) A command to configure of read the Bluetooth parameters

[AsciiCommand(".bt")]
public class BluetoothCommand : ParameterCommandBase, IAsciiCommand
Inheritance
BluetoothCommand
Implements
Inherited Members
Extension Methods

Remarks

The Bluetooth command is currently only supported over USB to change the Bluetooth connection parameters. The command has a default timeout of around 20s

  • Reading the Bluetooth can take about 5 seconds
  • Writing the Bluetooth can take about 10 seconds
  • Resetting the Bluetooth can take about 15 seconds

Constructors

BluetoothCommand()

Initializes a new instance of the BluetoothCommand class

public BluetoothCommand()

Properties

AuthenticationChip

Gets the result of the Authentication chip self test

[AsciiResponse("AC")]
public AuthenticationChipStatus AuthenticationChip { get; }

Property Value

AuthenticationChipStatus

BluetoothAddress

Gets the Bluetooth address as read from the reader

[AsciiResponse("BA")]
public string BluetoothAddress { get; }

Property Value

string

BluetoothEnabled

Gets or sets the four digit pairing code to program to the reader

[AsciiParameter("e")]
public TriState? BluetoothEnabled { get; set; }

Property Value

TriState?

BluetoothFriendlyName

Gets or sets the Bluetooth friendly name to program to the reader

[AsciiParameter("f")]
[AsciiResponse("FN")]
public string BluetoothFriendlyName { get; set; }

Property Value

string

Remarks

Before the command is executed this gets or set the value to set Bluetooth Friendly name of the reader to "-f".

If the command has been executed successfully this returns the Bluetooth Friendly name from the response "FN: {value}" until it is set to different value at which point the response is reset

BluetoothMode

Gets or sets the Bluetooth mode to reset the bluetooth to

[AsciiParameter("m")]
public BluetoothMode? BluetoothMode { get; set; }

Property Value

BluetoothMode?

Remarks

-x is implied as this will apply a full Bluetooth reset to reset the Bluetooth into the selected mode

BluetoothVersion

Gets the firmware version of the Bluetooth module from the reader

[AsciiResponse("BV")]
public string BluetoothVersion { get; }

Property Value

string

BundleIdentifier

Gets or sets the bundle identifier used in iOS applications to program to the reader

[AsciiParameter("bi")]
public string BundleIdentifier { get; set; }

Property Value

string

BundleSeed

Gets or sets the bundle seed identifier used in iOS applications to program to the reader

[AsciiParameter("bs")]
public string BundleSeed { get; set; }

Property Value

string

PairingCode

Gets or sets the four digit pairing code to program to the reader

[AsciiParameter("w")]
public string PairingCode { get; set; }

Property Value

string