Hierarchy

Constructors

Properties

UUIDS: {
    CHARACTERISTICS: {
        INDICATE: string;
        NOTIFY: string;
        WRITE: string;
        WRITE_WO_RESPONSE: string;
    };
    SERVICE_ID: string;
} = ...

Type declaration

  • Readonly CHARACTERISTICS: {
        INDICATE: string;
        NOTIFY: string;
        WRITE: string;
        WRITE_WO_RESPONSE: string;
    }
    • Readonly INDICATE: string
    • Readonly NOTIFY: string
    • Readonly WRITE: string
    • Readonly WRITE_WO_RESPONSE: string
  • Readonly SERVICE_ID: string
onBatteryLevel: null | ((battery) => void) = null

Battery level event

Type declaration

    • (battery): void
    • Parameters

      • battery: number

      Returns void

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

Double pressed event

Type declaration

    • (): void
    • Returns void

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

Long pressed event

Type declaration

    • (): void
    • Returns void

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

Single pressed event

Type declaration

    • (): void
    • Returns void

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

Status button pressed event

Type declaration

    • (): void
    • Returns void

Accessors

Methods

Generated using TypeDoc