![]() |
S145 SoftDevice for nRF54L15/nRF54L10/nRF54L05 API documentation 10.0.0
|
| 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.
| [in] | role | The role to start the event trigger for. The following roles are supported on this SoftDevice: |
| [in] | handle | The handle parameter is interpreted depending on role:
|
| [in] | task_address | Task to trigger. Set to 0 to stop a previously configured trigger. |
| NRF_SUCCESS | Success. |
| BLE_ERROR_INVALID_CONN_HANDLE | Invalid connection handle supplied. |
| BLE_ERROR_INVALID_ADV_HANDLE | Invalid advertising handle supplied. |
| NRF_ERROR_INVALID_PARAM | Invalid parameter supplied. |
| NRF_ERROR_INVALID_STATE | Trying to start event triggering when it is already ongoing. |