Instance Method

peripheralManager:didReceiveReadRequest:

Tells the delegate that a local peripheral received an Attribute Protocol (ATT) read request for a characteristic with a dynamic value.

Declaration

- (void)peripheralManager:(CBPeripheralManager *)peripheral didReceiveReadRequest:(CBATTRequest *)request;

Parameters

peripheral

The peripheral manager that received the request.

request

A CBATTRequest object that represents a request to read a characteristic’s value.

Discussion

When you receive this callback, call the respondToRequest:withResult: method of the CBPeripheralManager class exactly once to respond to the read request.

See Also

Receiving Read and Write Requests

- peripheralManager:didReceiveWriteRequests:

Tells the delegate that a local peripheral device received an Attribute Protocol (ATT) write request for a characteristic with a dynamic value.