Bluetooth: Add reference to BT_HCI_ERR_* for disconnect reason
Add reference to BT_HCI_ERR_* for ACL and ISO disconnect reason. Signed-off-by: Emil Gydesen <emil.gydesen@nordicsemi.no>
This commit is contained in:
parent
37f5fe5e82
commit
f8c20ec76a
2 changed files with 2 additions and 2 deletions
|
@ -811,7 +811,7 @@ struct bt_conn_cb {
|
|||
* increase @kconfig{CONFIG_BT_MAX_CONN}.
|
||||
*
|
||||
* @param conn Connection object.
|
||||
* @param reason HCI reason for the disconnection.
|
||||
* @param reason BT_HCI_ERR_* reason for the disconnection.
|
||||
*/
|
||||
void (*disconnected)(struct bt_conn *conn, uint8_t reason);
|
||||
|
||||
|
|
|
@ -416,7 +416,7 @@ struct bt_iso_chan_ops {
|
|||
* rejected.
|
||||
*
|
||||
* @param chan The channel that has been Disconnected
|
||||
* @param reason HCI reason for the disconnection.
|
||||
* @param reason BT_HCI_ERR_* reason for the disconnection.
|
||||
*/
|
||||
void (*disconnected)(struct bt_iso_chan *chan, uint8_t reason);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue