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
AttPrepareWriteResponse Struct Reference
Response to a Prepare Write Request. More...
#include <AttServerMessage.h>
Inherits ble::pal::AttServerMessage.
Public Member Functions | |
AttPrepareWriteResponse (attribute_handle_t handle_, uint16_t offset_, Span< const uint8_t > value_) | |
Construct a prepare write response. | |
Data Fields | |
const attribute_handle_t | attribute_handle |
The handle of the attribute to be written. | |
const uint16_t | offset |
The offset of the first octet to be writen. | |
const Span< const uint8_t > | partial_value |
The value of the attribute to be written at the offset indicated. | |
const AttributeOpcode | opcode |
Op code used to identify the type of the attribute response. |
Detailed Description
Response to a Prepare Write Request.
It acknowledges the client that the value has been successfully received and placed in the write queue.
The response contains the same values as the one present in the request.
- Note:
- see BLUETOOTH SPECIFICATION Version 5.0 | Vol 3, Part F Section 3.4.6.2
Definition at line 642 of file AttServerMessage.h.
Constructor & Destructor Documentation
AttPrepareWriteResponse | ( | attribute_handle_t | handle_, |
uint16_t | offset_, | ||
Span< const uint8_t > | value_ | ||
) |
Construct a prepare write response.
- Parameters:
-
handle_ The handle of the attribute to be written. offset_,: The offset of the first octet to be writen. value_,: The value of the attribute to be written at the offset indicated.
Definition at line 650 of file AttServerMessage.h.
Field Documentation
The handle of the attribute to be written.
Definition at line 663 of file AttServerMessage.h.
const uint16_t offset |
The offset of the first octet to be writen.
Definition at line 668 of file AttServerMessage.h.
const AttributeOpcode opcode [inherited] |
Op code used to identify the type of the attribute response.
Definition at line 101 of file AttServerMessage.h.
const Span<const uint8_t> partial_value |
The value of the attribute to be written at the offset indicated.
Definition at line 673 of file AttServerMessage.h.
Generated on Tue Jul 12 2022 13:55:41 by
