/*************************************************************************** * * Copyright 2015-2019 BES. * All rights reserved. All unpublished rights reserved. * * No part of this work may be used or reproduced in any form or by any * means, or stored in a database or retrieval system, without prior written * permission of BES. * * Use of this work is governed by a license granted by BES. * This work contains confidential and proprietary information of * BES. which is protected by copyright, trade secret, * trademark and other intellectual property rights. * ****************************************************************************/ #ifndef __BT_IF_H_ #define __BT_IF_H_ #include #include "bluetooth.h" #include "btif_sys_config.h" #include "me_api.h" //Application ID,indentify profle app context #define BTIF_APP_INVALID_ID (0x00000000u) #define BTIF_APP_HFP_PROFILE_ID (0x00000001u) #define BTIF_APP_A2DP_PROFILE_ID (0x00000002u) #define BTIF_APP_AVRCP_PROFILE_ID (0x00000004u) #define BTIF_APP_MAP_PROFILE_ID (0X00000008u) #define BTIF_APP_HID_PROFILE_ID (0X00000010u) #define BTIF_APP_SPP_SERVER_START_ID (0x00000020u) #define BTIF_APP_SPP_SERVER_ID_1 (BTIF_APP_SPP_SERVER_START_ID) #define BTIF_APP_SPP_SERVER_ID_2 (BTIF_APP_SPP_SERVER_START_ID << 1) #define BTIF_APP_SPP_SERVER_ID_3 (BTIF_APP_SPP_SERVER_START_ID << 2) #define BTIF_APP_SPP_SERVER_ID_4 (BTIF_APP_SPP_SERVER_START_ID << 3) #define BTIF_APP_SPP_SERVER_ID_5 (BTIF_APP_SPP_SERVER_START_ID << 4) #define BTIF_APP_SPP_SERVER_ID_6 (BTIF_APP_SPP_SERVER_START_ID << 5) #define BTIF_APP_SPP_SERVER_ID_7 (BTIF_APP_SPP_SERVER_START_ID << 6) #define BTIF_APP_SPP_SERVER_ID_8 (BTIF_APP_SPP_SERVER_START_ID << 7) #define BTIF_APP_SPP_SERVER_ID_9 (BTIF_APP_SPP_SERVER_START_ID << 8) #define BTIF_APP_SPP_SERVER_ID_10 (BTIF_APP_SPP_SERVER_START_ID << 9) #define BTIF_APP_SPP_SERVER_END_ID (BTIF_APP_SPP_SERVER_ID_10) #define BTIF_APP_SPP_SERVER_OFFSET (4) #define BTIF_APP_SPP_SERVER_NUM (10) #define BTIF_APP_SPP_SERVER_MASK (0x000003FF<