Options
All
  • Public
  • Public/Protected
  • All
Menu

Class Linking

Hierarchy

  • Linking

Index

Constructors

constructor

  • new Linking(params: any): Linking
  • Parameters

    • params: any

    Returns Linking

Properties

PRIMARY_SERVICE_UUID_LIST

PRIMARY_SERVICE_UUID_LIST: string[] = ['b3b3690150d34044808d50835b13a6cd','fe4e',]

_discover_status

_discover_status: any

_discover_timer

_discover_timer: any

_discover_wait

_discover_wait: any

_peripherals

_peripherals: any

initialized

initialized: boolean = false

keys

keys: string[]

obniz

obniz: Obniz

onadvertisement

onadvertisement: any

ondiscover

ondiscover: any

periperal

periperal: bleRemotePeripheral | null

requiredKeys

requiredKeys: string[]

Accessors

LinkingAdvertising

LinkingDevice

  • Returns LinkingDevice

Methods

_checkInitialized

  • _checkInitialized(): void
  • Returns void

_discoveredDevice

  • _discoveredDevice(peripheral: bleRemotePeripheral, name_filter: any, id_filter: any): null | LinkingDevice
  • Parameters

    • peripheral: bleRemotePeripheral
    • name_filter: any
    • id_filter: any

    Returns null | LinkingDevice

_scanDevices

  • _scanDevices(): void
  • Returns void

discover

  • discover(p: any): Promise<any[]>
  • deprecated

    Parameters

    • p: any

    Returns Promise<any[]>

discoverWait

  • discoverWait(p: any): Promise<any[]>
  • Parameters

    • p: any

    Returns Promise<any[]>

init

  • init(): Promise<void>
  • deprecated

    Returns Promise<void>

initWait

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

startScan

  • startScan(p: any): void
  • Parameters

    • p: any

    Returns void

stopScan

  • stopScan(): void
  • Returns void

wired

  • wired(obniz: Obniz): void
  • Parameters

    Returns void

Static info

Generated using TypeDoc