Class

CBATTRequest

The CBATTRequest class represents Attribute Protocol (ATT) read and write requests from remote central devices (represented by CBCentral objects). Remote centrals use these ATT requests to read and write characteristic values on local peripherals (represented by CBPeripheralManager objects). Local peripherals, on the other hand, use the properties of CBATTRequest objects to respond to the read and write requests appropriately, using the respond(to:withResult:) method of the CBPeripheralManager class.

Symbols

Requesting to Read and Write Characteristic Values

var central: CBCentral

The remote central device that originated the request.

var characteristic: CBCharacteristic

The characteristic whose value is to be read or written.

var value: Data?

The data being read or written.

var offset: Int

The zero-based index of the first byte for the read or write request.

Relationships

Inherits From

Conforms To