Sync PAST#

Sync PAST.

Transfer the synchronization information of a synchronized periodic advertising train to a remote device using Periodic Advertising Synchronization Transfer (PAST) over a connection.

Functions#

sl_status_t
sl_bt_sync_past_transfer(uint8_t connection, uint16_t service_data, uint16_t sync)

Macros#

#define
sl_bt_cmd_sync_past_transfer_id 0x005b0020
#define
sl_bt_rsp_sync_past_transfer_id 0x005b0020

Function Documentation#

sl_bt_sync_past_transfer#

sl_status_t sl_bt_sync_past_transfer (uint8_t connection, uint16_t service_data, uint16_t sync)
Parameters
TypeDirectionArgument NameDescription
uint8_t[in]connection

Connection handle of the connection used to transmit the sync transfer

uint16_t[in]service_data

A value provided by the application for use by the peer device.

uint16_t[in]sync

Handle of the periodic advertising synchronization to transfer

Transfer the synchronization information of a periodic advertising train for which a sync has been established.

Returns

  • SL_STATUS_OK if successful. Error code otherwise.