sl_bt_evt_sync_transfer_receivedSynchronization

Indicates that synchronization information for a periodic advertising train has been received.

Data Structures

struct  sl_bt_evt_sync_transfer_received_s
 Data structure of the transfer_received event.
 

Macros

#define sl_bt_evt_sync_transfer_received_id   0x034200a0
 Identifier of the transfer_received event.
 

Detailed Description

Indicates that synchronization information for a periodic advertising train has been received.

See PAST Receiver.


Data Structure Documentation

◆ sl_bt_evt_sync_transfer_received_s

struct sl_bt_evt_sync_transfer_received_s

Data structure of the transfer_received event.

Data Fields
uint16_t status

SL_STATUS_OK if synchronization was established. Other values indicate that the sync failed to get established.

uint16_t sync

Periodic advertising synchronization handle

uint16_t service_data

A value provided by the peer device

uint8_t connection

Connection handle of the connection that transferred the sync info

uint8_t adv_sid

Advertising set identifier

bd_addr address

Address of the advertiser

uint8_t address_type

Advertiser address type. Values:

  • 0: Public address
  • 1: Random address
uint8_t adv_phy

Enum sl_bt_gap_phy_t. The advertiser PHY. Values:

  • sl_bt_gap_phy_1m (0x1): 1M PHY
  • sl_bt_gap_phy_2m (0x2): 2M PHY
  • sl_bt_gap_phy_coded (0x4): Coded PHY, 125k (S=8) or 500k (S=2)
uint16_t adv_interval

The periodic advertising interval. Value in units of 1.25 ms

  • Range: 0x06 to 0xFFFF
  • Time range: 7.5 ms to 81.92 s
uint16_t clock_accuracy

Enum sl_bt_sync_advertiser_clock_accuracy_t. The advertiser clock accuracy.

uint8_t bonding

Bonding handle. Values:

  • SL_BT_INVALID_BONDING_HANDLE (0xff): No bonding
  • Other: Bonding handle