Options
All
  • Public
  • Public/Protected
  • All
Menu

@modum-io/modblue - v12.0.7

Index

Type aliases

AddressType

AddressType: "public" | "random" | "unknown"

The type of MAC address as defined by the Bluetooth Core spec.

GattCharacteristicProperty

GattCharacteristicProperty: "broadcast" | "read" | "write-without-response" | "write" | "notify" | "indicate" | "authenticated-signed-writes" | "extended-properties" | "reliable-write" | "writable-auxiliaries" | "authorize"

PeripheralState

PeripheralState: "connecting" | "connected" | "disconnecting" | "disconnected"

The current state of the peripheral.

ReadFunction

ReadFunction: (offset: number) => Promise<Buffer>

Type declaration

    • (offset: number): Promise<Buffer>
    • Parameters

      • offset: number

      Returns Promise<Buffer>

WriteFunction

WriteFunction: (offset: number, data: Buffer, withoutResponse: boolean) => Promise<number>

Type declaration

    • (offset: number, data: Buffer, withoutResponse: boolean): Promise<number>
    • Parameters

      • offset: number
      • data: Buffer
      • withoutResponse: boolean

      Returns Promise<number>

Variables

CUSTOM

CUSTOM: symbol = ...

Generated using TypeDoc