Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependents: TYBLE16_simple_data_logger TYBLE16_MP3_Air
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, Span< 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, |
Span< 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 101 of file AttServerMessage.h.
Generated on Tue Jul 12 2022 13:55:42 by
