@@ -114,8 +114,8 @@ typedef void (*ble_conn_params_evt_handler_t)(const struct ble_conn_params_evt *
114
114
*
115
115
* @param handler Handler.
116
116
*
117
- * @returns 0 On success.
118
- * @returns -EFAULT If @p handler is @c NULL.
117
+ * @retval 0 On success.
118
+ * @retval -EFAULT If @p handler is @c NULL.
119
119
*/
120
120
int ble_conn_params_evt_handler_set (ble_conn_params_evt_handler_t handler );
121
121
@@ -129,9 +129,9 @@ int ble_conn_params_evt_handler_set(ble_conn_params_evt_handler_t handler);
129
129
* @param conn_handle Connection handle.
130
130
* @param conn_params Connection parameters.
131
131
*
132
- * @returns 0 Connection parameter update initiated successfully.
133
- * @returns -EINVAL If @p conn_handle is invalid.
134
- * @returns -EFAULT If @p conn_params is @c NULL.
132
+ * @retval 0 Connection parameter update initiated successfully.
133
+ * @retval -EINVAL If @p conn_handle is invalid.
134
+ * @retval -EFAULT If @p conn_params is @c NULL.
135
135
*/
136
136
int ble_conn_params_override (uint16_t conn_handle , const ble_gap_conn_params_t * conn_params );
137
137
@@ -152,8 +152,8 @@ int ble_conn_params_override(uint16_t conn_handle, const ble_gap_conn_params_t *
152
152
* @param conn_handle Handle to the connection.
153
153
* @param att_mtu Desired ATT MTU.
154
154
*
155
- * @return 0 On success.
156
- * @return -EINVAL Invalid ATT MTU or connection handle.
155
+ * @retval 0 On success.
156
+ * @retval -EINVAL Invalid ATT MTU or connection handle.
157
157
*/
158
158
int ble_conn_params_att_mtu_set (uint16_t conn_handle , uint16_t att_mtu );
159
159
@@ -163,9 +163,9 @@ int ble_conn_params_att_mtu_set(uint16_t conn_handle, uint16_t att_mtu);
163
163
* @param conn_handle Handle to the connection.
164
164
* @param[out] att_mtu The ATT MTU value.
165
165
*
166
- * @return 0 On success.
167
- * @return -EINVAL Invalid connection handle.
168
- * @return -EFAULT @p att_mtu is @c NULL.
166
+ * @retval 0 On success.
167
+ * @retval -EINVAL Invalid connection handle.
168
+ * @retval -EFAULT @p att_mtu is @c NULL.
169
169
*/
170
170
int ble_conn_params_att_mtu_get (uint16_t conn_handle , uint16_t * att_mtu );
171
171
@@ -178,8 +178,8 @@ int ble_conn_params_att_mtu_get(uint16_t conn_handle, uint16_t *att_mtu);
178
178
* @param conn_handle Handle to the connection.
179
179
* @param data_length Desired GAP data length.
180
180
*
181
- * @return 0 On success.
182
- * @return -EINVAL Invalid data length or connection handle.
181
+ * @retval 0 On success.
182
+ * @retval -EINVAL Invalid data length or connection handle.
183
183
*/
184
184
int ble_conn_params_data_length_set (uint16_t conn_handle , struct ble_conn_params_data_length dl );
185
185
@@ -189,9 +189,9 @@ int ble_conn_params_data_length_set(uint16_t conn_handle, struct ble_conn_params
189
189
* @param conn_handle Handle to the connection.
190
190
* @param[out] data_length The data length value.
191
191
*
192
- * @return 0 On success.
193
- * @return -EINVAL Invalid connection handle.
194
- * @return -EFAULT @p data_length is @c NULL.
192
+ * @retval 0 On success.
193
+ * @retval -EINVAL Invalid connection handle.
194
+ * @retval -EFAULT @p data_length is @c NULL.
195
195
*/
196
196
int ble_conn_params_data_length_get (uint16_t conn_handle , struct ble_conn_params_data_length * dl );
197
197
@@ -204,8 +204,8 @@ int ble_conn_params_data_length_get(uint16_t conn_handle, struct ble_conn_params
204
204
* @param conn_handle Handle to the connection.
205
205
* @param phy_pref Desired GAP radio PHY mode.
206
206
*
207
- * @return 0 On success.
208
- * @return -EINVAL Invalid data length or connection handle.
207
+ * @retval 0 On success.
208
+ * @retval -EINVAL Invalid data length or connection handle.
209
209
*/
210
210
int ble_conn_params_phy_radio_mode_set (uint16_t conn_handle , ble_gap_phys_t phy_pref );
211
211
@@ -215,9 +215,9 @@ int ble_conn_params_phy_radio_mode_set(uint16_t conn_handle, ble_gap_phys_t phy_
215
215
* @param conn_handle Handle to the connection.
216
216
* @param[out] phy_pref The radio PHY mode.
217
217
*
218
- * @return 0 On success.
219
- * @return -EINVAL Invalid connection handle.
220
- * @return -EFAULT @p phy_pref is @c NULL.
218
+ * @retval 0 On success.
219
+ * @retval -EINVAL Invalid connection handle.
220
+ * @retval -EFAULT @p phy_pref is @c NULL.
221
221
*/
222
222
int ble_conn_params_phy_radio_mode_get (uint16_t conn_handle , ble_gap_phys_t * phy_pref );
223
223
0 commit comments