Logical Labs Bluetooth Low Energy Module for iOS

API Docs for: 1.2.7
Show:

Characteristic Class

Module: Readme

Represents a local or remote service's characteristic.

Methods

equals

()

Available since 1.1.0

Tests whether two Characteristic objects refer to the same entity.

Properties

descriptors

Array of Descriptor objects

Available since 1.0.0

A list of the Descriptor objects that have so far been discovered in this characteristic. It is writeable if this JavaScript object represents a mutable characteristic.

isBroadcasted

Boolean read-only

Available since 1.0.0

Whether the characteristic is currently broadcasted or not.

isMutable

Boolean read-only

Available since 1.0.0

Indicates whether this characteristic is mutable.

isNotifying

Boolean read-only

Available since 1.0.0

Whether the characteristic is currently notifying or not.

permissions

Number

Available since 1.0.0

The permissions of the characteristic value. It is only present if this JavaScript object represents a mutable characteristic.

properties

Number

Available since 1.0.0

The properties of the characteristic as a bitfield. See also the CHAR_PROP_* constants attached to the module object.

service

Service read-only

Available since 1.0.0

The service this characteristic belongs to.

subscribedCentrals

Array of Central objects

Available since 1.1.0

For notifying characteristics, the set of currently subscribed centrals.

UUID

String

Available since 1.0.0

The UUID of the characteristic.

value

TiBuffer

Available since 1.0.0

The value of the characteristic.