Rtos API example
SimpleAttFindInformationResponse Struct Reference
Simple implementation of ble::pal::AttFindInformationResponse. More...
#include <SimpleAttServerMessage.h>
Inherits ble::pal::AttFindInformationResponse.
Public Types | |
enum | Format { FORMAT_16_BIT_UUID = 0x01, FORMAT_128_BIT_UUID = 0x02 } |
Format of the UUID in the response. More... | |
Public Member Functions | |
SimpleAttFindInformationResponse (Format format, ArrayView< const uint8_t > information_data) | |
Construct an AttFindInformationResponse from format and an array of bytes containing the information data. | |
virtual size_t | size () const |
virtual information_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::AttFindInformationResponse.
It should fit for any vendor stack exposing a proper ATT interface.
Definition at line 29 of file SimpleAttServerMessage.h.
Member Enumeration Documentation
enum Format |
Format of the UUID in the response.
Definition at line 33 of file SimpleAttServerMessage.h.
Constructor & Destructor Documentation
SimpleAttFindInformationResponse | ( | Format | format, |
ArrayView< const uint8_t > | information_data | ||
) |
Construct an AttFindInformationResponse from format and an array of bytes containing the information data.
- Parameters:
-
format The format of the information data. information_data The information data whose format is determined by the Format field
Definition at line 45 of file SimpleAttServerMessage.h.
Member Function Documentation
virtual information_data_t operator[] | ( | size_t | index ) | const [virtual] |
- See also:
- ble::pal::AttFindInformationResponse::operator[]
Implements AttFindInformationResponse.
Definition at line 62 of file SimpleAttServerMessage.h.
virtual size_t size | ( | ) | const [virtual] |
Implements AttFindInformationResponse.
Definition at line 55 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