S145 SoftDevice for nRF54L15/nRF54L10/nRF54L05 API documentation 10.0.0
Loading...
Searching...
No Matches

◆ sd_ble_gap_evt_trigger_set()

uint32_t sd_ble_gap_evt_trigger_set ( uint8_t role,
uint16_t handle,
uint32_t task_address )

#include <ble_gap.h>

Configure triggering a peripheral task register on the start of a Bluetooth Link Layer event.

When enabled, this feature will trigger the specified peripheral task register right before the first radio activity of a timing-event.

Parameters
[in]roleThe role to start the event trigger for. The following roles are supported on this SoftDevice:
[in]handleThe handle parameter is interpreted depending on role:
[in]task_addressTask to trigger. Set to 0 to stop a previously configured trigger.
Return values
NRF_SUCCESSSuccess.
BLE_ERROR_INVALID_CONN_HANDLEInvalid connection handle supplied.
BLE_ERROR_INVALID_ADV_HANDLEInvalid advertising handle supplied.
NRF_ERROR_INVALID_PARAMInvalid parameter supplied.
NRF_ERROR_INVALID_STATETrying to start event triggering when it is already ongoing.