Rtos API example

Embed: (wiki syntax)

« Back to documentation index

AttReadMultipleResponse Struct Reference

AttReadMultipleResponse Struct Reference

Response to a Read Multiple Request. More...

#include <AttServerMessage.h>

Inherits ble::pal::AttServerMessage.

Public Member Functions

 AttReadMultipleResponse (ArrayView< const uint8_t > data_)
 Construct a Resd Multiple Response from the set of value received.
size_t size () const
 Return the number of octets presents in the response set of value.
uint8_t operator[] (size_t index) const
 Return the octet of the set of value read at the specified index.

Data Fields

const AttributeOpcode opcode
 Op code used to identify the type of the attribute response.

Detailed Description

Response to a Read Multiple Request.

It contains the values of the attributes that have been read.

If the set of values that has been read is longer than (mtu - 1) then only the first (mtu - 1) octets are included in the response.

Note:
see BLUETOOTH SPECIFICATION Version 5.0 | Vol 3, Part F Section 3.4.4.8

Definition at line 538 of file AttServerMessage.h.


Constructor & Destructor Documentation

AttReadMultipleResponse ( ArrayView< const uint8_t >  data_ )

Construct a Resd Multiple Response from the set of value received.

Definition at line 542 of file AttServerMessage.h.


Member Function Documentation

uint8_t operator[] ( size_t  index ) const

Return the octet of the set of value read at the specified index.

Note:
Out of range access is undefined.

Definition at line 557 of file AttServerMessage.h.

size_t size (  ) const

Return the number of octets presents in the response set of value.

Definition at line 549 of file AttServerMessage.h.


Field Documentation

const AttributeOpcode opcode [inherited]

Op code used to identify the type of the attribute response.

Definition at line 102 of file AttServerMessage.h.