1 // Copyright 2015-2016 Espressif Systems (Shanghai) PTE LTD 2 // 3 // Licensed under the Apache License, Version 2.0 (the "License"); 4 // you may not use this file except in compliance with the License. 5 // You may obtain a copy of the License at 6 7 // http://www.apache.org/licenses/LICENSE-2.0 8 // 9 // Unless required by applicable law or agreed to in writing, software 10 // distributed under the License is distributed on an "AS IS" BASIS, 11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 12 // See the License for the specific language governing permissions and 13 // limitations under the License. 14 15 #ifndef __BTC_GATT_COMMON_H__ 16 #define __BTC_GATT_COMMON_H__ 17 18 #include "osi/future.h" 19 #include "stack/bt_types.h" 20 #include "bta/bta_api.h" 21 #include "btc/btc_main.h" 22 #include "btc/btc_task.h" 23 24 typedef enum { 25 BTC_GATT_ACT_SET_LOCAL_MTU = 0, 26 } btc_gatt_com_act_t; 27 28 /* btc_ble_gattc_args_t */ 29 typedef union { 30 //BTC_GATT_ACT_SET_LOCAL_MTU, 31 struct set_mtu_arg { 32 uint16_t mtu; 33 } set_mtu; 34 } btc_ble_gatt_com_args_t; 35 36 void btc_gatt_com_call_handler(btc_msg_t *msg); 37 #endif /* __BTC_GATT_COMMON_H__ */ 38