Class

CBATTRequest

A request that uses the Attribute Protocol (ATT).

Declaration

@interface CBATTRequest : NSObject

Overview

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 respondToRequest:withResult: method of the CBPeripheralManager class.

Topics

Requesting to Read and Write Characteristic Values

central

The remote central device that originated the request.

characteristic

The characteristic to read or write the value of.

value

The data that the central reads from or writes to the peripheral.

offset

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

Relationships

Inherits From

See Also

Supporting Types

CBManager

The abstract base class for managing central and peripheral objects.

CBPeer

An object that represents a remote device.

CBUUID

A universally unique identifier, as defined by Bluetooth standards.