Options
All
  • Public
  • Public/Protected
  • All
Menu

A local or remote GATT server.

Hierarchy

Index

Constructors

Properties

Accessors

Methods

Constructors

constructor

Properties

Readonly services

services: Map<string, GattService> = ...

The services that belong to this GATT server, mapped by UUID. If this is a remote GATT use discoverServices to discover them.

Accessors

Abstract isRemote

  • get isRemote(): boolean

mtu

  • get mtu(): number
  • Local: The maximum MTU that will be agreed upon during negotiation. Remote: The MTU that was agreed upon during negotiation.

    Returns number

Methods

toJSON

  • toJSON(): Record<string, unknown>

toString

  • toString(): string

Generated using TypeDoc