Instance Method

peripheralManager:didReceiveReadRequest:

Invoked when a local peripheral device receives an Attribute Protocol (ATT) read request for a characteristic that has a dynamic value.

Declaration

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

Parameters

peripheral

The peripheral manager providing this information.

request

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

Discussion

Each time this method is invoked, you 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:

Invoked when a local peripheral device receives an Attribute Protocol (ATT) write request for a characteristic that has a dynamic value.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software