1/* 2 * Copyright 2022 The Android Open Source Project 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * http://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 17package hardware.google.bluetooth.ccc@1.1; 18 19import types; 20import @1.0::Address; 21import @1.0::Direction; 22import @1.0::LmpEventId; 23import @1.0::IBluetoothCccCallback; 24 25interface IBluetoothCccCallback extends @1.0::IBluetoothCccCallback { 26 /** 27 * Callback when monitored LMP event involked. 28 * 29 * @param timestamp Timestamp when the LMP event involked 30 * @param address Remote bluetooth address that involke LMP event 31 * @param direction Direction of the involked LMP event 32 * @param lmpEventId LMP event id that bluetooth chip involked 33 * @param connEventCounter counter incremented by one for each new connection event 34 */ 35 onEventGenerated_1_1(Timestamp timestamp, Address address, Direction direction, 36 LmpEventId lmpEventId, uint16_t connEventCounter); 37}; 38