bluetooth: host: EAGAIN when initiating a connection when scanning

Also improve the documentation.

Signed-off-by: Rubin Gerritsen <rubin.gerritsen@nordicsemi.no>
This commit is contained in:
Rubin Gerritsen 2021-03-17 11:22:20 +01:00 committed by Anas Nashif
commit 2affd52339
2 changed files with 4 additions and 1 deletions

View file

@ -600,6 +600,9 @@ struct bt_conn_le_create_param {
*
* This uses the General Connection Establishment procedure.
*
* The application must disable explicit scanning before initiating
* a new LE connection.
*
* @param[in] peer Remote address.
* @param[in] create_param Create connection parameters.
* @param[in] conn_param Initial connection parameters.