FreeCalypso > hg > fc-tourmaline
comparison src/ui/mfw/mfw_bt_private.h @ 3:67bfe9f274f6
src/ui: import of src/ui3 from Magnetite
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Fri, 16 Oct 2020 06:33:10 +0000 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
2:3a14ee9a9843 | 3:67bfe9f274f6 |
---|---|
1 /*******************************************************************************\ | |
2 * * | |
3 * TEXAS INSTRUMENTS ISRAEL PROPRIETARY AND CONFIDENTIAL INFORMATION * | |
4 * * | |
5 * LEGAL NOTE: THE TRANSFER OF THE TECHNICAL INFORMATION IS BEING MADE * | |
6 * UNDER AN EXPORT LICENSE ISSUED BY THE ISRAELI GOVERNMENT AND THAT THE * | |
7 * APPLICABLE EXPORT LICENSE DOES NOT ALLOW THE TECHNICAL INFORMATION TO * | |
8 * BE USED FOR THE MODIFICATION OF THE BT ENCRYPTION OR THE DEVELOPMENT * | |
9 * OF ANY NEW ENCRYPTION. THE INFORMATION CAN BE USED FOR THE INTERNAL * | |
10 * DESIGN AND MANUFACTURE OF TI PRODUCTS THAT WILL CONTAIN THE BT IC. * | |
11 * * | |
12 \*******************************************************************************/ | |
13 /*******************************************************************************\ | |
14 * | |
15 * FILE NAME: mfw_bt_Private.h | |
16 * | |
17 * DESCRIPTION: This file defines the structures needed for BMI BT interface | |
18 * that are not exposed to BT | |
19 * | |
20 * AUTHOR: Anandhi Ramesh | |
21 * | |
22 * Rev 0.1 | |
23 * | |
24 \*******************************************************************************/ | |
25 #ifndef __MFW_BT_PRIVATE | |
26 #define __MFW_BT_PRIVATE | |
27 #include "mfw_fm.h" | |
28 #include "mfw_bt_api.h" | |
29 | |
30 #define BMI_BT_NOTCONNECTED 0 | |
31 #define BMI_BT_CONNECTED 1 | |
32 | |
33 /*---------------------------------------------------------------------------*/ | |
34 /* | |
35 * BMI_BT_CMD_SRCTYPE | |
36 * Contains the types of commands that can occur. | |
37 */ | |
38 /*---------------------------------------------------------------------------*/ | |
39 typedef enum | |
40 { | |
41 BMI_BT_COMMAND_NONE = 0, | |
42 BMI_BT_HANDSET_COMMAND, | |
43 BMI_BT_HEADSET_COMMAND | |
44 }BMI_BT_CMD_SRCTYPE; | |
45 | |
46 /*---------------------------------------------------------------------------*/ | |
47 /* | |
48 * BMI_BT_STRUCTTYPE | |
49 * Global structure that contains the following information | |
50 * Connection status | |
51 * State of audio - play/pause/stop etc | |
52 * Source of the command - could be from headset or handset | |
53 * callback function for BT | |
54 */ | |
55 /*---------------------------------------------------------------------------*/ | |
56 typedef struct | |
57 { | |
58 BOOL bConnected; | |
59 T_FM_AUD_STATE tAudioState; | |
60 BMI_BT_CMD_SRCTYPE tCmdSrc; | |
61 void (*BmiEventCallback)(BmiAvEvent); | |
62 }BMI_BT_STRUCTTYPE; | |
63 | |
64 #endif // __MFW_BT_PRIVATE | |
65 | |
66 |