sl_bt_evt_sync_openedSynchronization#

Indicates that a periodic advertising synchronization has been opened.

Data Structures#


struct | sl_bt_evt_sync_opened_s | Data structure of the opened event.

Macros#


#define | sl_bt_evt_sync_opened_id 0x004200a0 | Identifier of the opened event.

Detailed Description#

Indicates that a periodic advertising synchronization has been opened.


Data Structure Documentation#

◆ sl_bt_evt_sync_opened_s#

struct sl_bt_evt_sync_opened_s#

Data structure of the opened event.

Data Fields#

uint16_t | sync |

Periodic advertising synchronization handle

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