/*! * Copyright (c) 2016, Freescale Semiconductor, Inc. * Copyright 2016-2021 NXP * All rights reserved. * * SPDX-License-Identifier: BSD-3-Clause */ @output_dir("erpc_outputs") program test; import "../common/unit_test_common.erpc" enum enumColor{red = 1, green = 10, blue} enum enumColor2{yellow, black, pink = 20} enum {eRed = 2, eGray = 8, eOrange = 9} enum bleResult_t { gBleStatusBase_c = 0x0000, gBleSuccess_c = gBleStatusBase_c | 0x00 } enum enumErrorCode { ERROR_NONE = 0, ERROR_UNKNOWN = -1 } interface EnumsService { oneway test_enumColor_in(enumColor a) test_enumColor_in2(in enumColor b) -> void test_enumColor_out(out enumColor c) -> void test_enumColor_inout(inout enumColor e) -> void test_enumColor_return() -> enumColor test_enumColor_allDirection(enumColor a, in enumColor b, out enumColor c, inout enumColor e) -> enumColor test_enumColor2_allDirection(enumColor2 a, in enumColor2 b, out enumColor2 c, inout enumColor2 e) -> enumColor2 test_enumErrorCode_allDirection(enumErrorCode a, in enumErrorCode b, out enumErrorCode c, inout enumErrorCode e) -> enumErrorCode }