nrfxlib API 0.1.0
Loading...
Searching...
No Matches

◆ sdc_hci_cmd_le_set_periodic_sync_subevent()

uint8_t sdc_hci_cmd_le_set_periodic_sync_subevent ( const sdc_hci_cmd_le_set_periodic_sync_subevent_t p_params,
sdc_hci_cmd_le_set_periodic_sync_subevent_return_t p_return 
)

#include <softdevice_controller/include/sdc_hci_cmd_le.h>

LE Set Periodic Sync Subevent.

The description below is extracted from Core_v5.4, Vol 4, Part E, Section 7.8.127

The HCI_LE_Set_Periodic_Sync_Subevent command is used to instruct the Controller to synchronize with a subset of the subevents within a PAwR train identified by the Sync_Handle parameter, listen for packets sent by the peer device and pass any received data up to the Host. If the Controller is synchro- nized with any subevents that are not in the subset of subevents in this command, then the Controller shall no longer synchronize with those subev- ents.

The Periodic_Advertising_Properties parameter indicates which fields should be included in the AUX_SYNC_SUBEVENT_RSP PDUs.

The Num_Subevents parameter identifies the number of values in the sub- events parameter.

The Subevents arrayed parameter identifies the subevents that the Controller shall synchronize with.

Event(s) generated (unless masked away): When the HCI_LE_Set_Periodic_Sync_Subevent command has completed, an HCI_Command_Complete event shall be generated.

Parameters
[in]p_paramsInput parameters.
[out]p_returnExtra return parameters.
Return values
0if success.
Returns
Returns value between 0x01-0xFF in case of error. See Vol 2, Part D, Error for a list of error codes and descriptions.