blob: 9605e5e509f827c90004a7d02298672dc161ded9 [file] [log] [blame]
// Copyright 2018 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.telephony.ril;
/// Power State of the radio
enum RadioPowerState: uint8 {
OFF = 0x00;
ON = 0x01;
};
/// The Standard Fuchsia RIL (FRIL)
interface RadioInterfaceLayer {
/// Connect to the underlying transport |channel|. Most modems will require this
/// to be the first method called to set up the transport layer. Called per-modem,
/// not per client connection.
100: ConnectTransport(handle<channel> channel) -> (bool success);
// TODO more complete identity type
/// Retrieve the identity of the modem (currently |imei| only)
200: GetDeviceIdentity() -> (string imei);
201: RadioPowerStatus() -> (RadioPowerState state);
};