Rtos API example
AttFindInformationResponse Struct Reference
The Find Information Response is sent in reply to a received Find Information Request and contains information about this server. More...
#include <AttServerMessage.h>
Inherits ble::pal::AttServerMessage.
Inherited by SimpleAttFindInformationResponse.
Data Structures | |
struct | information_data_t |
handle-uuid pair More... | |
Public Member Functions | |
AttFindInformationResponse () | |
Base constructor, setup the OpCode of the response. | |
virtual | ~AttFindInformationResponse () |
virtual destructor to overide if the sub class needs it. | |
virtual size_t | size () const =0 |
Returns the number of information_data_t present in the response. | |
virtual information_data_t | operator[] (size_t index) const =0 |
Access to information_data_t elements present in the response. | |
Data Fields | |
const AttributeOpcode | opcode |
Op code used to identify the type of the attribute response. |
Detailed Description
The Find Information Response is sent in reply to a received Find Information Request and contains information about this server.
The Find Information Response contains a sequence of handle-uuid pairs in ascending order if attribute handles.
This class has to be subclassed by an implementation specific class defining the member function size and the subscript operator.
- Note:
- see BLUETOOTH SPECIFICATION Version 5.0 | Vol 3, Part F Section 3.4.3.2
Definition at line 307 of file AttServerMessage.h.
Constructor & Destructor Documentation
Base constructor, setup the OpCode of the response.
Definition at line 318 of file AttServerMessage.h.
virtual ~AttFindInformationResponse | ( | ) | [virtual] |
virtual destructor to overide if the sub class needs it.
Definition at line 325 of file AttServerMessage.h.
Member Function Documentation
virtual information_data_t operator[] | ( | size_t | index ) | const [pure virtual] |
Access to information_data_t elements present in the response.
- Note:
- Out of range access is undefined.
Implemented in SimpleAttFindInformationResponse.
virtual size_t size | ( | ) | const [pure virtual] |
Returns the number of information_data_t present in the response.
Implemented in SimpleAttFindInformationResponse.
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