nl::Ble::BleTransportCapabilitiesResponseMessage

Summary

Public attributes

mFragmentSize
uint16_t
BLE transport fragment size selected by peripheral in response to MTU value in BleTransportCapabilitiesRequestMessage and its local observation of the BLE connection MTU.
mSelectedProtocolVersion
uint8_t
The lower 4 bits specify the BLE transport protocol version that the BLE peripheral has selected for this connection.
mWindowSize
uint8_t
The initial and maximum receive window size offered by the peripheral, defined in terms of GATT write payloads.

Public functions

Encode(PacketBuffer *msgBuf) const
Must be able to reserve 20 byte data length in msgBuf.

Public static functions

Decode(const PacketBuffer & msgBuf, BleTransportCapabilitiesResponseMessage & msg)

Public attributes

mFragmentSize

uint16_t mFragmentSize

BLE transport fragment size selected by peripheral in response to MTU value in BleTransportCapabilitiesRequestMessage and its local observation of the BLE connection MTU.

mSelectedProtocolVersion

uint8_t mSelectedProtocolVersion

The lower 4 bits specify the BLE transport protocol version that the BLE peripheral has selected for this connection.

A value of kBleTransportProtocolVersion_None means that no supported protocol version was found in the central's capabilities request. The central should unsubscribe after such a response has been sent to free up the peripheral for connections from devices with supported protocol versions.

mWindowSize

uint8_t mWindowSize

The initial and maximum receive window size offered by the peripheral, defined in terms of GATT write payloads.

Public functions

Encode

BLE_ERROR Encode(
  PacketBuffer *msgBuf
) const 

Must be able to reserve 20 byte data length in msgBuf.

Public static functions

Decode

BLE_ERROR Decode(
  const PacketBuffer & msgBuf,
  BleTransportCapabilitiesResponseMessage & msg
)