blob: 56cd55f034de852dc530d4874dca4cdc9ba4f5dc [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.telephony.transport;
using zx;
using fuchsia.telephony.snoop as qmi_snoop;
[Layout = "Simple"]
protocol Qmi {
/// Give a channel handle that transports bi-directional QMI messages
SetChannel(handle<channel> transport) -> () error zx.status;
/// Configure the network used by the transport
/// Currently only sets network up/down
SetNetwork(bool connected) -> ();
/// Pass an interface for QMI message snooping
SetSnoopChannel(qmi_snoop.Publisher interface) -> () error zx.status;
};