nrfxlib API 0.1.0
|
uint8_t sdc_hci_cmd_le_periodic_adv_set_info_transfer | ( | const sdc_hci_cmd_le_periodic_adv_set_info_transfer_t * | p_params, |
sdc_hci_cmd_le_periodic_adv_set_info_transfer_return_t * | p_return | ||
) |
#include <softdevice_controller/include/sdc_hci_cmd_le.h>
LE Periodic Advertising Set Info Transfer.
The description below is extracted from Core_v5.4, Vol 4, Part E, Section 7.8.90
The HCI_LE_Periodic_Advertising_Set_Info_Transfer command is used to instruct the Controller to send synchronization information about the periodic advertising in an advertising set to a connected device.
The Advertising_Handle parameter identifies the advertising set. If the parameters in the advertising set have changed since the periodic advertising was first enabled, the current parameters – not the original ones – are sent.
The Service_Data parameter is a value provided by the Host to identify the periodic advertising train to the peer device. It is not used by the Controller.
The connected device is identified by the Connection_Handle parameter.
If the advertising set corresponding to the Advertising_Handle parameter does not exist, the Controller shall return the error code Unknown Advertising Identifier (0x42).
If periodic advertising is not currently in progress for the advertising set, the Controller shall return the error code Command Disallowed (0x0C).
If the Connection_Handle parameter does not identify a current connection, the Controller shall return the error code Unknown Connection Identifier (0x02).
If the remote device has not indicated support for the Periodic Advertising Sync Transfer - Recipient feature, the Controller shall return the error code Unsupported Remote Feature (0x1A).
Note: This command may complete before the periodic advertising synchronization information is sent. No indication is given as to how the recipient handled the information.
Event(s) generated (unless masked away): When the HCI_LE_Periodic_Advertising_Set_Info_Transfer command has completed, an HCI_Command_Complete event shall be generated.
[in] | p_params | Input parameters. |
[out] | p_return | Extra return parameters. |
0 | if success. |