comparison src/ui3/bmi/mmiBtips.h @ 420:e8ddbb0837ed

src/ui3: initial import of TCS3/LoCosto BMI & MFW code
author Mychaela Falconia <falcon@freecalypso.org>
date Sun, 21 Jan 2018 03:09:00 +0000
parents
children
comparison
equal deleted inserted replaced
419:59143cd42ec7 420:e8ddbb0837ed
1 #ifndef _MMIBTIPS_H_
2 #define _MMIBTIPS_H_
3
4 /* =========================================================
5 * Texas Instruments OMAP(TM) Platform Software
6 * (c) Copyright Texas Instruments, Incorporated. All Rights Reserved.
7 *
8 * Use of this software is controlled by the terms and conditions found
9 * in the license agreement under which this software has been supplied.
10 * ========================================================== */
11 /*
12 $Project name: Basic Bluetooth MMI
13 $Project code:
14 $Module: Bluetooth BMG APPlication
15 $File: MmiBtipsBmg.h
16 $Revision: 1.0
17 $Author: Texas Instruments
18 $Date: 26/06/07
19
20 ********************************************************************************
21
22 Description:
23
24 This module provides the BTIPS BMG APPlication functionality.
25
26 ********************************************************************************
27 $History: MmiBtipsBmg.h
28
29 26/06/07 Sasken original version
30
31 $End
32
33 *******************************************************************************/
34 #include "Bttypes.h"
35
36 typedef struct _MMI_Btips_data
37 {
38 int ipBtipsHandle;
39 /*Editor for Pincode request*/
40 T_MFW_HND pinCode_editor;
41 /*Global Data related to BTIPS Application Statemachine*/
42 U8 incomingPinRequestState; //TRUE for incoming and FALSE for bond request(out-going)
43 BD_ADDR bd_addr_incomingPinReq;
44 U8 deviceName[BT_MAX_REM_DEV_NAME + 1]; //of the current Bonding (IN/OUT) device
45 } MMI_Btips_data;
46
47 /*******************************************************************************
48
49 Public methods
50
51 *******************************************************************************/
52
53 T_MFW_HND mfw_btips_create(T_MFW_HND hWin, T_MFW_EVENT event, MfwTyp type, T_MFW_CB cbfunc);
54 GLOBAL MfwHnd mmi_btips_app_show_info(T_MFW_HND parent, int str1, int str2,int timer, T_VOID_FUNC callback);
55 MfwHnd mmi_btips_app_show_text(T_MFW_HND parent, char * str1, char * str2, T_VOID_FUNC callback);
56 T_MFW_HND mmi_btips_app_ask_info(T_MFW_HND parent, char * str1, char * str2, T_VOID_FUNC callback);
57
58 #endif