Access a descriptor on Bluetooth Low Energy peripheral device
A descriptor
object represents a descriptor of a Bluetooth® Low Energy peripheral device. If read or write are supported in the object
Attributes
property, you can read data using read
or write
data using write
.
creates an object that represents the descriptor specified by its name. Identify
d
= descriptor(c
,descriptorName
)descriptorName
by viewing the Descriptors
property of the characteristic
object c
.
creates an object that represents the descriptor specified by its UUID. Identify
d
= descriptor(c
,descriptorUUID
)descriptorUUID
by viewing the Descriptors
property of the characteristic
object c
.
characteristic
| read
| write