Options
All
  • Public
  • Public/Protected
  • All
Menu

Class cir415a

Hierarchy

  • cir415a

Implements

Index

Constructors

constructor

Properties

_peripheral

_peripheral: BleRemotePeripheral | null = null

onAuthenticated

onAuthenticated: (() => void) | null = null

onCardTouch

onCardTouch: ((state: boolean) => void) | null = null

onNotify

onNotify: ((data: number[]) => void) | null = null

Optional ondisconnect

ondisconnect: undefined | ((reason: any) => void)

Methods

connectWait

  • connectWait(): Promise<void>
  • Returns Promise<void>

disconnectWait

  • disconnectWait(): Promise<void>
  • Returns Promise<void>

setAutoPollingWait

  • setAutoPollingWait(enable: boolean): Promise<void>
  • Parameters

    • enable: boolean

    Returns Promise<void>

setMasterKey

  • setMasterKey(key: number[]): void
  • Parameters

    • key: number[]

    Returns void

write

  • write(data: number[]): Promise<void>
  • Parameters

    • data: number[]

    Returns Promise<void>

writeADPU

  • writeADPU(data: number[]): Promise<void>
  • Parameters

    • data: number[]

    Returns Promise<void>

Static info

Static isDevice

  • Parameters

    Returns boolean

Generated using TypeDoc