blob: b00d0d3874e8e96467e367d0c82efef41144cb53 [file] [log] [blame]
// Copyright 2019 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
library fuchsia.hardware.bluetooth;
using zx;
[ForDeprecatedCBindings]
protocol Hci {
/// Opens a command/event channel on the provided handle. The zircon channel
/// is closed in the event of an error opening the hci channel or if the hci
/// channel is already associated with a handle to another zircon channel.
OpenCommandChannel(zx.handle:CHANNEL channel);
/// Opens a acl data channel on the provided handle. The zircon channel is
/// closed in the event of an error opening the hci channel or if the hci
/// channel is already associated with a handle to another zircon channel.
OpenAclDataChannel(zx.handle:CHANNEL channel);
/// Opens a snoop channel on the provided handle. The zircon channel is
/// closed in the event of an error opening the hci channel or if the hci
/// channel is already associated with a handle to another zircon channel.
OpenSnoopChannel(zx.handle:CHANNEL channel);
};