sl_bt_evt_sync_closedSynchronization#

Indicates that periodic advertising synchronization was lost or a synchronization establishment procedure was canceled.

Data Structures#


struct | sl_bt_evt_sync_closed_s | Data structure of the closed event.

Macros#


#define | sl_bt_evt_sync_closed_id 0x014200a0 | Identifier of the closed event.

Detailed Description#

Indicates that periodic advertising synchronization was lost or a synchronization establishment procedure was canceled.

The synchronization establishment procedure can be canceled explicitly by the application by issuing command sl_bt_sync_close, or internally due to synchronization failing. Synchronization can fail for example due to incompatible sync CTE type.


Data Structure Documentation#

◆ sl_bt_evt_sync_closed_s#

struct sl_bt_evt_sync_closed_s#

Data structure of the closed event.

Data Fields#

uint16_t | reason |

Result code

  • 0: success

  • Non-zero: an error has occurred

uint16_t | sync |

Periodic advertising synchronization handle