| S332 SoftDevice v2.0.0 |

Choose documentation: | nRF5 SDK | S130 SoftDevice API | S132 SoftDevice API | S212 SoftDevice API | S332 SoftDevice API

All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
Data Fields
ble_gap_opt_ext_len_t Struct Reference
Structures

Data length extension option. More...

`#include <ble_gap.h>`

## Data Fields
uint8_t | rxtx_max_pdu_payload_size

## Detailed Description

Data length extension option.

       This can be used with @ref sd_ble_opt_set to enable longer data packets.

Note
  An rxtx_max_pdu_payload_size of 0 will result in the default minimum payload size of 27.
  Not supported by SoftDevices for nRF51 Series devices.
  The parameters for a connection are applied when a connection complete event is generated for the host.

Return values

  NRF_SUCCESS | Set successfully.
  NRF_ERROR_INVALID_PARAM | If the payload size is not 0 or a valid link layer PDU payload size.
  NRF_ERROR_NOT_SUPPORTED | If called on a SoftDevice designed for nRF51 (e.g. s130).

## Field Documentation

uint8_t ble_gap_opt_ext_len_t::rxtx_max_pdu_payload_size

Max PDU payload size (in octets).