diff --git a/include/bluetooth/conn.h b/include/bluetooth/conn.h index b24c825115e..93e37b35350 100644 --- a/include/bluetooth/conn.h +++ b/include/bluetooth/conn.h @@ -114,7 +114,9 @@ struct bt_conn_le_info { #if defined(CONFIG_BLUETOOTH_BREDR) /** BR/EDR Connection Info Structure */ -struct bt_conn_br_info {}; +struct bt_conn_br_info { + const bt_addr_t *dst; /** Destination BR/EDR address */ +}; #endif /** Connection Info Structure */ diff --git a/net/bluetooth/conn.c b/net/bluetooth/conn.c index c37538c39d1..595bf3d087e 100644 --- a/net/bluetooth/conn.c +++ b/net/bluetooth/conn.c @@ -783,6 +783,11 @@ int bt_conn_get_info(const struct bt_conn *conn, struct bt_conn_info *info) info->le.dst = &conn->le.init_addr; } return 0; +#if defined(CONFIG_BLUETOOTH_BREDR) + case BT_CONN_TYPE_BR: + info->br.dst = &conn->br.dst; + return 0; +#endif } return -EINVAL;