Options
All
  • Public
  • Public/Protected
  • All
Menu

Hierarchy

  • ObnizBLEHci

Index

Constructors

Properties

Methods

Constructors

constructor

  • Parameters

    • Obniz: any

    Returns ObnizBLEHci

Properties

Obniz

Obniz: any

timeout

timeout: number = 5 * 60 * 1000

Methods

end

  • end(): void
  • Deinitalize BLE HCI module

    Returns void

init

  • init(): void
  • Initialize BLE HCI module

    Returns void

onread

  • onread(data: any): void
  • Callback on HCI command received.

    Parameters

    • data: any

    Returns void

readWait

  • readWait(binaryFilter: number[], option?: any): Promise<Buffer>
  • Parameters

    • binaryFilter: number[]
    • Optional option: any

    Returns Promise<Buffer>

write

  • write(hciCommand: number[]): void
  • write HCI command to HCI module

    Parameters

    • hciCommand: number[]

    Returns void

Generated using TypeDoc