A service provided by a periperhal.

interface Service {
    characteristics?: Characteristic[];
    name?: string;
    UUID: string;
}

Properties

characteristics?: Characteristic[]

A list of service characteristics a client can interact with by reading, writing, subscribing, etc.

name?: string

Depending on the peripheral and platform this may be a more friendly description of the service.

UUID: string

The UUID of the service.