# Modules.BLE.Characteristic

A characteristic of a remote peripheral’s service.

Availability
1.0.0

# Overview

It represent the characteristics of a remote peripheral’s service. A characteristic contains a single value and any number of descriptors describing that value. The properties of a characteristic determine how you can use a characteristic’s value, and how you access the descriptors.

# Properties

# descriptors

Availability
1.0.0
descriptors :Array<Modules.BLE.Descriptor>

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.


# isMutable

Availability
1.0.0
isMutable :Boolean

Indicates whether this characteristic is mutable.

For android, this property will always return false.


# isMutable

Availability
1.0.0
isMutable :Boolean

Indicates whether this characteristic is mutable.


# isNotifying

Availability
1.0.0
isNotifying :Boolean

Whether the characteristic is currently notifying or not.


# properties

Availability
1.0.0
properties :Number

The properties of the characteristic as a bitfield.

See also CHARACTERISTIC_PROPERTY_* module constants for the possible return values of this property.


# service

Availability
1.0.0

The service this characteristic belongs to.


# uuid

Availability
1.0.0
uuid :String

The Bluetooth-specific UUID of the attribute.


# value

Availability
1.0.0

The value of the characteristic.

# Methods

# equal

Availability
1.0.0
equal(characteristic) Boolean

tests whether two characteristics are same or not.

Parameters

Name Type Description
characteristic Modules.BLE.Characteristic

the characteristic that will be compared.

Returns

Type
Boolean