Options
All
  • Public
  • Public/Protected
  • All
Menu

A remote GATT server.

Hierarchy

Index

Constructors

constructor

Properties

Readonly peripheral

peripheral: Peripheral

The peripheral that this GATT server belongs to.

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

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

Abstract discoverServices

toJSON

  • toJSON(): Record<string, unknown>

toString

  • toString(): string

Generated using TypeDoc