S115 SoftDevice for nRF54LS05 API documentation 10.0.0
Loading...
Searching...
No Matches

◆ BLE_EVT_LEN_MAX

#define BLE_EVT_LEN_MAX ( ATT_MTU)

#include <ble.h>

Value:
( \
offsetof(ble_evt_t, evt.gattc_evt.params.prim_srvc_disc_rsp.services) + ((ATT_MTU) - 1) / 4 * sizeof(ble_gattc_service_t) \
)
ble_gattc_evt_t gattc_evt
Definition ble.h:220
Common BLE Event type, wrapping the module specific event reports.
Definition ble.h:214
ble_gattc_service_t services[1]
Definition ble_gattc.h:214
ble_gattc_evt_prim_srvc_disc_rsp_t prim_srvc_disc_rsp
Definition ble_gattc.h:356
union ble_gattc_evt_t::@5 params
GATT service.
Definition ble_gattc.h:152

Maximum possible length for BLE Events.

Note
The highest value used for ble_gatt_conn_cfg_t::att_mtu in any connection configuration shall be used as a parameter. If that value has not been configured for any connections then BLE_GATT_ATT_MTU_DEFAULT must be used instead.