Rtos API example
SimpleAttReadByTypeResponse Struct Reference
Simple implementation of ble::pal::AttReadByTypeResponse. More...
#include <SimpleAttServerMessage.h>
Inherits ble::pal::AttReadByTypeResponse.
Public Member Functions | |
| SimpleAttReadByTypeResponse (uint8_t element_size, ArrayView< const uint8_t > attribute_data) | |
| Construct an AttReadByTypeResponse from the size of each attribute handle-value pair and a 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::AttReadByTypeResponse.
It should fit for any vendor stack exposing a proper ATT interface.
Definition at line 132 of file SimpleAttServerMessage.h.
Constructor & Destructor Documentation
| SimpleAttReadByTypeResponse | ( | uint8_t | element_size, |
| ArrayView< const uint8_t > | attribute_data | ||
| ) |
Construct an AttReadByTypeResponse from the size of each attribute handle-value pair and a list of attribute data.
- Parameters:
-
element_size The size of each attribute-handle pair. attribute_data Raw bytes array containing the list of attribute data.
Definition at line 140 of file SimpleAttServerMessage.h.
Member Function Documentation
| virtual attribute_data_t operator[] | ( | size_t | index ) | const [virtual] |
- See also:
- ble::pal::AttReadByTypeResponse::operator[]
Implements AttReadByTypeResponse.
Definition at line 156 of file SimpleAttServerMessage.h.
| virtual size_t size | ( | ) | const [virtual] |
Implements AttReadByTypeResponse.
Definition at line 149 of file SimpleAttServerMessage.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.
Generated on Sun Jul 17 2022 08:25:43 by
1.7.2