blob: 73e2a8d496b108632ed0c286c9c0e19b0d14d2d7 [file] [log] [blame] [edit]
// Copyright 2021 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.demo;
/// The protocol provides access to functions of the driver.
@discoverable
protocol Demo {
/// Returns a number
GetNumber() -> (struct {
response uint32;
});
};
/// The service enables the driver framework to offer the Demo protocol to
/// other components.
service Service {
demo client_end:Demo;
};