GattCharacteristic


class GattCharacteristic


Represents a Bluetooth characteristic.

Summary

Constants

const Int

It permits broadcasts of the characteristic.

const Int

Additional characteristic properties are defined.

const Int

It permits indications of a characteristic value with acknowledgment.

const Int

It permits notifications of a characteristic value without acknowledgment.

const Int

It permits reads of the characteristic.

const Int

It permits signed writes to the characteristic value.

const Int

It permits writes of the characteristic with response.

const Int

It permits writes of the characteristic without response.

Public constructors

GattCharacteristic(uuid: UUID, properties: Int)

Public properties

Int

The properties of the characteristic.

UUID

The UUID of the characteristic.

Constants

PROPERTY_BROADCAST

const val PROPERTY_BROADCASTInt

It permits broadcasts of the characteristic.

PROPERTY_EXTENDED_PROPS

const val PROPERTY_EXTENDED_PROPSInt

Additional characteristic properties are defined.

PROPERTY_INDICATE

const val PROPERTY_INDICATEInt

It permits indications of a characteristic value with acknowledgment.

PROPERTY_NOTIFY

const val PROPERTY_NOTIFYInt

It permits notifications of a characteristic value without acknowledgment.

PROPERTY_READ

const val PROPERTY_READInt

It permits reads of the characteristic.

PROPERTY_SIGNED_WRITE

const val PROPERTY_SIGNED_WRITEInt

It permits signed writes to the characteristic value.

PROPERTY_WRITE

const val PROPERTY_WRITEInt

It permits writes of the characteristic with response.

PROPERTY_WRITE_NO_RESPONSE

const val PROPERTY_WRITE_NO_RESPONSEInt

It permits writes of the characteristic without response.

Public constructors

GattCharacteristic

Added in 1.0.0-alpha02
GattCharacteristic(uuid: UUID, properties: Int)

Public properties

properties

Added in 1.0.0-alpha02
val propertiesInt

The properties of the characteristic.

uuid

Added in 1.0.0-alpha02
val uuidUUID

The UUID of the characteristic.