Class: HIDData

HIDData

Provides representations of data read from a HID reader.


See:

Members


<readonly> bytes :Array.<number>

The value as an array of bytes. These are the raw, unprocessed bytes read during the scan.

Type:
  • Array.<number>
Since:
  • 1.0 (WAT 1.0)

<readonly> H10301 :object

The value expressed in H10301. H10301 breaks the number into a facility code and an ID.

Type:
  • object
Properties:
Name Type Description
facility number

Facility code from the original value

id number

ID from the original value

Since:
  • 1.0 (WAT 1.0)

<readonly> H10302 :number

The value expressed as a single number in H10302. H10302 is composed of bits 1-35 from the original (bits 0 and 36 are not used).

Type:
  • number
Since:
  • 1.0 (WAT 1.0)

<readonly> str :string

The value expressed as a hexadecimal string. E.g. 0001A2B3C4D5.

Type:
  • string
Since:
  • 1.0 (WAT 1.0)