| S132 SoftDevice v3.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
Modules | Macros
Defines
Events, type definitions and API calls

## Modules
| User Memory Types
| Vendor Specific UUID counts

## Macros
#define | BLE_EVTS_PTR_ALIGNMENT 4
| Required pointer alignment for BLE Events.
#define | BLE_EVTS_LEN_MAX(ATT_MTU)
| Maximum possible length for BLE Events. More...

## Detailed Description

## Macro Definition Documentation

#define BLE_EVTS_LEN_MAX | ( |  | ATT_MTU | ) |

Value:
(MAX( \
sizeof(ble_evt_t), \
MAX( \
offsetof(ble_evt_t, evt.gattc_evt.params.rel_disc_rsp.includes) + ((ATT_MTU) - 2) / 6 * sizeof(ble_gattc_include_t), \
offsetof(ble_evt_t, evt.gattc_evt.params.attr_info_disc_rsp.info.attr_info16) + ((ATT_MTU) - 2) / 4 * sizeof(ble_gattc_attr_info16_t) \
) \
))

Maximum possible length for BLE Events.

Note
  Value of ble_gatt_enable_params_t::att_mtu shall be used as a parameter. If that value is set to 0 then GATT_MTU_SIZE_DEFAULT must be used instead.