A characteristic provided by a service.

interface Characteristic {
    UUID: string;
    descriptors?: any;
    name: string;
    permissions?: any;
    properties?: {
        authenticatedSignedWrites: boolean;
        broadcast: boolean;
        extendedProperties: boolean;
        indicate: boolean;
        notify: boolean;
        read: boolean;
        write: boolean;
        writeWithoutResponse: boolean;
    };
}

Properties

UUID: string

The UUID of the characteristic.

descriptors?: any

ignored for now

name: string

Depending on the service and platform (iOS only) this may be a more friendly description of the characteristic. On Android it's always the same as the UUID.

permissions?: any

ignored for now

properties?: {
    authenticatedSignedWrites: boolean;
    broadcast: boolean;
    extendedProperties: boolean;
    indicate: boolean;
    notify: boolean;
    read: boolean;
    write: boolean;
    writeWithoutResponse: boolean;
}

An object containing characteristic properties like read, write and notify.

Type declaration

  • authenticatedSignedWrites: boolean
  • broadcast: boolean
  • extendedProperties: boolean
  • indicate: boolean
  • notify: boolean
  • read: boolean
  • write: boolean
  • writeWithoutResponse: boolean

Generated using TypeDoc