1/* 2 * Copyright 2021 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.0; 18 19import types; 20 21interface IBluetoothCccCallback { 22 /** 23 * Callback when monitored LMP event involked. 24 * 25 * @param timestamp Timestamp when the LMP event involked 26 * @param address Remote bluetooth address that involke LMP event 27 * @param direction Direction of the involked LMP event 28 * @param lmpEventId LMP event id that bluetooth chip involked 29 * @param connEventCounter counter incremented by one for each new connection event 30 */ 31 onEventGenerated(Timestamp timestamp, Address address, Direction direction, 32 LmpEventId lmpEventId, uint16_t connEventCounter); 33}; 34