# Modules.BLE.DescriptorRequest
A request that uses the Attribute Protocol (ATT).
# Overview
The class represents Attribute Protocol (ATT) read and write requests from remote central devices (represented by Central objects). Remote centrals use these ATT requests to read and write descriptor's values on local peripherals (represented by PeripheralManager objects). Local peripherals, on the other hand, use the properties of Request objects to respond to the read and write requests appropriately, using the respondToDescriptorRequest() method of the PeripheralManager class.
# Properties
# descriptor READONLY
The descriptor whose value will be read or written.
# responseNeeded READONLY
If the remote device requires a response.
If this property is true then user need to call respondToRequest method.
# Methods
# updateValue
update the data of value field
Parameters
Name | Type | Description |
---|---|---|
value | Titanium.Buffer | Titanium.Buffer object to update data on value |
Returns
- Type
- void