@@ -91,10 +91,69 @@ typedef struct bt_sal_pa_sync_param {
9191 uint8_t cte : /**< Sync_CTE_Type, e.g., BT_SAL_PA_SYNC_CTE_TYPE_NO_AOA */
9292} bt_sal_pa_sync_param_t ;
9393
94+ /**
95+ * @brief LE Periodic Advertising Create Sync command.
96+ *
97+ * This command is used to synchronize with a single periodic advertising train from an advertiser
98+ * and begin receiving periodic advertising packets.
99+ *
100+ * @param[in] id The Controller ID.
101+ * @param[in] params The parameters used to synchronize the periodic advertising train.
102+ *
103+ * A @ref SYNC_ESTABLISHED event, associated with a @p handle, shall be generated when starting to
104+ * receive periodic advertising packets.
105+ * A @ref SYNC_TERMINATED event shall be generated if the sync fails to establish.
106+ * A @ref SYNC_REPORT event may be generated when a periodic advertising packet is received.
107+ */
94108bt_status_t bt_sal_pa_create_sync (bt_controller_id_t id , const bt_sal_pa_sync_param_t * params );
109+
110+ /**
111+ * @brief LE Periodic Advertising Terminate Sync command.
112+ *
113+ * This command is used to stop reception of the periodic advertising train identified by the
114+ * @p handle.
115+ *
116+ * @param[in] id The Controller ID.
117+ * @param[in] handle The Sync_Handle obtained from the @ref SYNC_ESTABLISHED event.
118+ *
119+ * A @ref SYNC_TERMINATED event shall be generated when this command is completed.
120+ */
95121bt_status_t bt_sal_pa_terminate_sync (bt_controller_id_t id , uint16_t handle );
122+
123+ /**
124+ * @brief LE Add Device To Periodic Advertiser List command.
125+ *
126+ * This command is used to add an entry, consisting of a single device address and SID, to the
127+ * Periodic Advertiser list stored in the Controller.
128+ *
129+ * @param[in] id The Controller ID.
130+ * @param[in] sid The Advertising SID.
131+ * @param[in] addr Public device address, random device address, public identity address, or random
132+ * (static) identity address of the advertiser.
133+ */
96134bt_status_t bt_sal_pa_list_add (bt_controller_id_t id , uint8_t sid , bt_le_address_t addr );
135+
136+ /**
137+ * @brief LE Remove Device From Periodic Advertiser List command.
138+ *
139+ * This command is used to remove one entry from the list of Periodic Advertisers stored in the
140+ * Controller.
141+ *
142+ * @param[in] id The Controller ID.
143+ * @param[in] sid The Advertising SID.
144+ * @param[in] addr Public device address, random device address, public identity address, or random
145+ * (static) identity address of the advertiser.
146+ */
97147bt_status_t bt_sal_pa_list_remove (bt_controller_id_t id , uint8_t sid , bt_le_address_t addr );
148+
149+ /**
150+ * @brief LE Clear Periodic Advertiser List command.
151+ *
152+ * This command is used to remove all entries from the list of periodic advertisers in the
153+ * Controller.
154+ *
155+ * @param[in] id The Controller ID.
156+ */
98157bt_status_t bt_sal_pa_list_clear (bt_controller_id_t id );
99158
100159#endif /* __SAL_PA_SYNC_INTERFACE_H__ */
0 commit comments