STM32F7 Ethernet interface for nucleo STM32F767

Embed: (wiki syntax)

« Back to documentation index

SimpleAttReadByGroupTypeResponse Struct Reference

SimpleAttReadByGroupTypeResponse Struct Reference

Simple implementation of ble::pal::AttReadByGroupTypeResponse. More...

#include <SimpleAttServerMessage.h>

Inherits ble::pal::AttReadByGroupTypeResponse.

Public Member Functions

 SimpleAttReadByGroupTypeResponse (uint8_t element_size, ArrayView< const uint8_t > attribute_data)
 Construct an instance of AttReadByGroupTypeResponse from the size of each attribute data and a byte array containing the list of attribute data.
virtual size_t size () const
virtual attribute_data_t operator[] (size_t index) const

Data Fields

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

Detailed Description

Simple implementation of ble::pal::AttReadByGroupTypeResponse.

It should fit for any vendor stack exposing a proper ATT interface.

Definition at line 182 of file SimpleAttServerMessage.h.


Constructor & Destructor Documentation

SimpleAttReadByGroupTypeResponse ( uint8_t  element_size,
ArrayView< const uint8_t >  attribute_data 
)

Construct an instance of AttReadByGroupTypeResponse from the size of each attribute data and a byte array containing the list of attribute data.

Parameters:
element_sizeThe size of each Attribute Data
attribute_dataByte array containing the list of Attribute Data.

Definition at line 189 of file SimpleAttServerMessage.h.


Member Function Documentation

virtual attribute_data_t operator[] ( size_t  index ) const [virtual]
See also:
ble::pal::AttReadByGroupTypeResponse::operator[]

Implements AttReadByGroupTypeResponse.

Definition at line 205 of file SimpleAttServerMessage.h.

virtual size_t size (  ) const [virtual]

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.