nrfxlib API 3.3.99
Loading...
Searching...
No Matches

◆ sdc_hci_cmd_le_periodic_adv_terminate_sync()

uint8_t sdc_hci_cmd_le_periodic_adv_terminate_sync ( const sdc_hci_cmd_le_periodic_adv_terminate_sync_t * p_params)

#include <softdevice_controller/include/sdc_hci_cmd_le.h>

LE Periodic Advertising Terminate Sync.

The description below is extracted from Core_v6.3, Vol 4, Part E, Section 7.8.69

This command is used to stop reception of the periodic advertising train identified by the Sync_Handle parameter.

Following successful completion of this command the Sync_Handle is destroyed.

Errors:

See Section 4.5.2 for a list of error types and descriptions.

Type   Condition                                                 Error code
MC     Sync_Handle does not identify an existing periodic        Unknown Advertising
       advertising train.                                        Identifier (0x42)

Event(s) generated (unless masked away):

When the HCI_LE_Periodic_Advertising_Terminate_Sync command has completed, an HCI_Command_Complete event shall be generated.

Parameters
[in]p_paramsInput 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.