Kenji Arai / mbed-os_TYBLE16

Dependents:   TYBLE16_simple_data_logger TYBLE16_MP3_Air

Embed: (wiki syntax)

« Back to documentation index

AttExchangeMTUResponse Struct Reference

AttExchangeMTUResponse Struct Reference

The Exchange MTU Request is used by the client to inform the server of the client’s maximum receive MTU size and request the server to respond with its maximum rx MTU size. More...

#include <AttServerMessage.h>

Inherits ble::pal::AttServerMessage.

Public Member Functions

 AttExchangeMTUResponse (uint16_t server_rx_mtu_)
 Construct an exchange mtu response containing the max rx mtu of the server.

Data Fields

const uint16_t server_rx_mtu
 The max rx mtu the server can handle.
const AttributeOpcode opcode
 Op code used to identify the type of the attribute response.

Detailed Description

The Exchange MTU Request is used by the client to inform the server of the client’s maximum receive MTU size and request the server to respond with its maximum rx MTU size.

Note:
see BLUETOOTH SPECIFICATION Version 5.0 | Vol 3, Part F Section 3.4.2.2

Definition at line 276 of file AttServerMessage.h.


Constructor & Destructor Documentation

AttExchangeMTUResponse ( uint16_t  server_rx_mtu_ )

Construct an exchange mtu response containing the max rx mtu of the server.

Parameters:
server_rx_mtu_The max rx mtu the server can handle.

Definition at line 283 of file AttServerMessage.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.

const uint16_t server_rx_mtu

The max rx mtu the server can handle.

Definition at line 291 of file AttServerMessage.h.