1 /****************************************************************************** 2 * 3 * Copyright 2004-2012 Broadcom Corporation 4 * 5 * Licensed under the Apache License, Version 2.0 (the "License"); 6 * you may not use this file except in compliance with the License. 7 * You may obtain a copy of the License at: 8 * 9 * http://www.apache.org/licenses/LICENSE-2.0 10 * 11 * Unless required by applicable law or agreed to in writing, software 12 * distributed under the License is distributed on an "AS IS" BASIS, 13 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 14 * See the License for the specific language governing permissions and 15 * limitations under the License. 16 * 17 ******************************************************************************/ 18 19 /****************************************************************************** 20 * 21 * This is the interface file for pan call-in functions. 22 * 23 ******************************************************************************/ 24 #ifndef BTA_PAN_CI_H 25 #define BTA_PAN_CI_H 26 27 #include <cstdint> 28 29 #include "bta/include/bta_pan_api.h" 30 #include "stack/include/bt_hdr.h" 31 #include "types/raw_address.h" 32 33 /***************************************************************************** 34 * Function Declarations 35 ****************************************************************************/ 36 37 /******************************************************************************* 38 * 39 * Function bta_pan_ci_readbuf 40 * 41 * Description This function is called by the phone to read data from PAN 42 * when the TX path is configured to use a pull interface. 43 * The caller must free the buffer when it is through 44 * processing the buffer. 45 * 46 * 47 * Returns void 48 * 49 ******************************************************************************/ 50 BT_HDR* bta_pan_ci_readbuf(uint16_t handle, RawAddress& src, RawAddress& dst, uint16_t* p_protocol, 51 bool* p_ext, bool* p_forward); 52 53 #endif /* BTA_PAN_CI_H */ 54