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
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 306 of file AttServerMessage.h.
Constructor & Destructor Documentation
Base constructor, setup the OpCode of the response.
Definition at line 317 of file AttServerMessage.h.
| virtual ~AttFindInformationResponse | ( | ) |  [virtual] | 
virtual destructor to overide if the sub class needs it.
Definition at line 324 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 101 of file AttServerMessage.h.
Generated on Tue Jul 12 2022 13:55:41 by
 1.7.2
 1.7.2