Table of Contents

Class BatteryStatusCommand

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

The .bl Battery Level Command of the Technology Solutions UK Ltd ASCII 2 Protocol

(.bl) A command to query the reader for battery status information Note: This does not yet expose the charging status via a property but the 'CH:' line is captured in the response property

[AsciiCommand(".bl")]
public class BatteryStatusCommand : AsciiCommandBase, IAsciiCommand
Inheritance
BatteryStatusCommand
Implements
Inherited Members
Extension Methods

Constructors

BatteryStatusCommand()

Initializes a new instance of the BatteryStatusCommand class

public BatteryStatusCommand()

Properties

BatteryHealth

Gets the battery health report retrieved from the reader when the ReportBatteryHealth

[AsciiResponse("BH")]
public BatteryHealth BatteryHealth { get; }

Property Value

BatteryHealth

BatteryLevel

Gets the battery level retrieved from the reader.

[AsciiResponse("BP")]
public int BatteryLevel { get; }

Property Value

int

ChargeStatus

Gets the charge status retrieved from the reader.

[AsciiResponse("CH")]
public ChargeStatus ChargeStatus { get; }

Property Value

ChargeStatus

ReportBatteryHealth

Gets or sets a value indicating whether to include the battery health data (where available)

[AsciiParameter("bh", "battery status")]
public bool ReportBatteryHealth { get; set; }

Property Value

bool

Remarks

When set and available an additional BH header will be reported with battery health status