Home
Car DVD BT Module User Manual
Contents
1. SS Dec em 00 _ _ __ _ ___ _zz gt 5 QaLt oHR doo o _ _ gt gt __ gt gt gt _z _ _ _ zE zI lt lt ti O Sunplus Technology Co Ltd PAGE 7 V0 1 Feb 25 2008 SUNPLUS ud BLUE TOOTH U U 0000 U U U U D 0 U D DTMFOOO o N 0 U 0 0 000000 0 U 00000 U Sunplus Technology Co Ltd B Nokia va PAGE 8 V0 1 Feb 25 2008 SUNPLUS 4 How To Add A New BT Item 4 1 Introduce Br 0 D 0 0000000 00 DUDUDU Br 00000 00 DUDU BT 0 DD 000 0 00 U SPHE8202X U 0000000 UID D 0 D 0 0 0 0 D 0 0 0 BT item 4 2 Create UI mode 1 0 0 DD DD DDD D 0 0 0 UD D 0 D 0 TOUCH Button 2 00 0 U TOUCH Button O0 O 0 0 U0 const BT menu object BT menu pos const BT menu object BT dial page button 3 D D D 0 D D D D D D D D show XX ur UD 0 D D D D D D D 0 0000000000 00000000 TOUCH Button 0 D D LI U 4000000000 ICON BMP I L D O O O include BT UI icon inc O 5 User Interface Function 5 1 show dial ui U U U 0 U Function Required Header show_dial_ui BT_UI_Draw h void show_dial_ui void Parameter NULL Return Values NULL 5 2 show_BT_menu_ui O BTO UNO Function Required Header show_BT_menu_ui BT UI Draw h void show BT menu ui void K AAA AAA o tt Sunplus Technology Co Ltd PAGE 9 V0 1
2. EZ SUNPLUS Car DVD BT Module User Manual V0 1 Feb 15 2008 19 Innovation First Road e Science Park e Hsin Chu e Taiwan 300 e R O C Tel 886 3 578 6005 Fax 886 3 578 4418 Web www sunplus com SUNPLUS Important Notice SUNPLUS TECHNOLOGY CO reserves the right to change this documentation without prior notice Information provided by SUNPLUS TECHNOLOGY CO is believed to be accurate and reliable However SUNPLUS TECHNOLOGY CO makes no warranty for any errors which may appear in this document Contact SUNPLUS TECHNOLOGY CO to obtain the latest version of device specifications before placing your order No responsibility is assumed by SUNPLUS TECHNOLOGY CO for any infringement of patent or other rights of third parties which may result from its use In addition SUNPLUS products are not authorized for use as critical components in life support systems or aviation systems where a malfunction or failure of the product may reasonably be expected to result in significant injury to the user without the express written approval of Sunplus i ti Sunplus Technology Co Ltd PAGE 1 V0 1 Feb 25 2008 SUNPLUS Revision Histor Page Number s Revision Date V0 1 2008 02 15 All Sunplus Technology Co Ltd PAGE 2 V0 1 Feb 25 2008 SUNPLUS Table of Content PAGE LE La de Lo U o3 To ese ani anan ae aan gaga NSS EE aaa A 4 1 1 General Descript
3. Feb 25 2008 SUNPLUS 5 3 5 4 5 5 Parameter NULL Return Values NULL show install ui D U 0 0000 U Function Required Header show_install_ui BT_UI_Draw h void show_install_ui void Parameter NULL Return values NULL show_device_ui U U 0 U D 0000 U Function Required Header show_device_ui BT_UI_Draw h void show_device_ui void Parameter NULL Return values NULL show_BT_menu_content U U BT menu object 00 UI BUTTON jBG du gH dH B B D Button D 0 0 BMP O O LU O D Button n 0 0 0 DU D Function Required Header show BT menu content void show BT menu content const BT menu object pos menu Sunplus Technology Co Ltd V0 1 Feb 25 2008 SUNPLUS 5 6 5 7 5 8 Parameter const BT menu object pos menu 1 7 000 Button 1 0 D U Return values NULL show BT button O U BT menu object O O UI BUTTON H H DH D LU UU Buton 0 0 O Button O 1 D 0000000000000 BMPrHTITIU DO DI Function Required Header show BT button void show BT button const BT menu object pos menu Parameter const BT menu object pos menu 1 7000 Button 1 0 D O Return values NULL show BT Phone vpp button U U U Butonp 00000000000 VPPBMP D D U Function Required Header show BT Phone vpp button void show BT Phone vpp button const BT menu o
4. 46 define HBCP_CMD_AV_NEXT_AUDIO unsigned char 0x47 define HBCP_CMD_SET_BC_NAME unsigned char 0x50 define HBCP_ CMD SET BC FNAME unsigned char 0x51 define HBCP CMD SET BC TITLE unsigned char 0x52 define HBCP_CMD_SET_BC_BIRTH unsigned char 0x53 define HBCP_CMD_SET_BC_ADDR unsigned char 0x54 define HBCP_CMD_SET_BC_ORG unsigned char 0x55 define HBCP_CMD_SET_BC_URL unsigned char 0x56 define HBCP_CMD_SET_BC_TEL unsigned char 0x57 define HBCP_CMD_SET_BC_MOBILE unsigned char 0x58 define HBCP_CMD_SET_BC_FAX unsigned char 0x59 define HBCP_CMD_SET_BC_EMAIL unsigned char 0x5a O Sunplus Technology Co Ltd PAGE 15 V0 1 Feb 25 2008 s SUNPLUS define HBCP_CMD_SET_BC_TZ unsigned char 0x5b define HBCP CMD SET BC REV unsigned char 0x5c define HBCP CMD CONNECT SPP BY ADDR unsigned char 0x60 define HBCP_CMD_CONNECT_LAST_SPP unsigned char 0x61 define HBCP_CMD_DISCONNECT_SPP unsigned char 0x62 define HBCP_CMD_SPP_DATA unsigned char 0x63 7 Limits and Suggestions Some limits exist in this Setup module We list them as following O Sunplus Technology Co Ltd PAGE 16 V0 1 Feb 25 2008
5. VAR bt_var Sunplus Technology Co Ltd PAGE 5 V0 1 Feb 25 2008 SUNPLUS Attribute Introduce BT menu object position 000000 CONDU 0 0 0 D U const BYTE bmp U DD DDD ICONO D BMP DATA OO ICON D D C 0 D CI 0 0 0 D str id O00000 CON D D 0 D D D D D ICONO D D OD 0000 void Touch_Function UINT32 Touch x UINT32 Touch_y UINT32 gEvent_ID OD IGON D D 0 0 0 D 0 0 0 0 EXTERN BLUETOOTH VAR bt Yar 0000000 BTStatus O0 00000000 sParameter MAX_DIAL_NUM HOoOg ucLength O sParameter L L U U x buf 00000000000000 gHBCP Rx D D D D 0000000000 gHBCP Rx Buf D 0 0 D 0 0 D D D D D D D U rxBuf D D D 0 D 0 D D 0 D D D 0 D gTxSeq 00000000 parse rxBuf 000000 rxIn rxOut D D D D D B 0 D 0 0 D U pair device namef f 00000000000 Device 1 connect device name 0000000000 Device I BT hfp volume 000 BT emd 0000000 U U U 0 D D 0 D D D 0 D U 0 D U 00000 BLUETOOTH VAR bt va D D D D 0 0 0 0 D 0 0 0 0 U U U U U U 0 U D 000000 000 U DU U U U BT menu object Ul HL H D DH y _ _ LR JA e T3c Qs D nw vt Sunplus Technology Co Ltd PAGE 6 V0 1 Feb 25 2008 SUNPLUS 3 BT Function Explain 3 1 BTU 0 T BLUE TOOTH R samsung soh czee 00 ud DEVICE LIST meom mecum mcum
6. bject pos menu Parameter const BT menu object pos menu 1 7 000 Button 1 0 D U Return values NULL create BT keybd button DU D Keyboard Button 0 0 0000000 Button 0 D 0 D Buttenn 00000000 Function Required Header create BT keybd button void create BT keybd button const BT menu object pos menu Sunplus Technology Co Ltd PAGE 11 V0 1 Feb 25 2008 SUNPLUS Parameter const BT menu object pos menu 1 7 000 Button 1 0 0 00 Return values NULL 5 9 BT key OO Br 0 U Function Required Header BT key BT global h void BT key BYTE cmd Parameter BYTE cmd 70000000 Return values NULL 5 10 HandleCommand U U 0 UD 000000 U Function Required Header HandleCommand BT_global h void HandleCommand UINT16 command Parameter UINT16 command 10000000 Return values NULL 5 11 UartDrv Rx U U 0 U D 0000 U Function Required Header UartDrv_Rx BT_global h void UartDrv Rx BYTE mm buf UINT16 buf len UINT16 in len Sunplus Technology Co Ltd PAGE 12 V0 1 Feb 25 2008 SUNPLUS Parameter in buff D D D D D D UD Buffer buf len Buffer O O O in len 000000000000 Return values NULL 5 12 HBCP Receive U U U DUDUDU Function Required Header HBCP_Receive BT_HBCP h void HBCP_Receive BYTE ucLen unsigned char pStr Parameter BYTE
7. d char 0x11 define HBCP_CMD_HSHF_SEND_DTMF unsigned char 0x12 define HBCP_CMD_HSHF_INQUIRY unsigned char 0x16 sxg 20070105 define HBCP_CMD_HSHF_CANCEL_INQUIRY unsigned char 0x17 sxg 20070105 define HBCP_CMD_HSHF_GET_STATUS unsigned char 0x18 define HBCP_CMD_HSHF_GET_CONNECTED_DEVICE_NAME unsigned char 0x19 Sunplus Technology Co Ltd PAGE 14 V0 1 Feb 25 2008 s SUNPLUS define HBCP_CMD_SYNC unsigned char 0x25 define HBCP_CMD_HSHF_BLUECORE_ON_OFF unsigned char 0x27 define HBCP_CMD_HSHF_CONNECT unsigned char 0x2A define HBCP_CMD_HSHF_DISCONNECT unsigned char 0x2B define HBCP_CMD_HSHF_CALL_TRANS_TO_AG unsigned char 0x2C define HBCP_CMD_HSHF_CALL_TRANS_TO_HF unsigned char 0x2D define HBCP_CMD_HSHF_DELETE_PAIR unsigned char 0x31 define HBCP_CMD_HSHF_CONNECT_AG_BY_ADDR unsigned char 0x13 define HBCP_CMD_HSHF_CALL_SWAP unsigned char 0x10 define HBCP_CMD_HSHF_REL_ACT_ACC_OTH unsigned char 0x2E define HBCP_CMD_HSHF_REL_HOL_REJ_WAIT unsigned char 0x2F define HBCP CMD HSHF ADD HOLD CALL unsigned char 0x30 define HBCP CMD HSHF MUTE unsigned char 0x3A define HBCP CMD HSHF GET PAIR DEVY NAME unsigned char Ox3C define HBCP CMD HSHF RESTORE FACTORY unsigned char Ox3D define HBCP CMD AV STOP AUDIO unsigned char 0x44 define HBCP_CMD_AV_PLAY_PAUSE_AUDIO unsigned char 0x45 define HBCP_CMD_AV_PREVIOUS_AUDIO unsigned char 0x
8. g 0 BYTE uart receive end receive one HBCP data package end flag 0 BYTE uart receive num how many bytes haved been read from one received HBCP data package end flag 0 endif BYTE sync_send lis the flag of sending sync cmd to BT core BYTE sync OK is the flag of BT core send sync OK to host UINT16 cmd delay send timer use this timer to send some cmd to BT core some BT core data useful for user like paired device name incoming call NO address list BYTE pair device name MAX DEVICE NUMIIMAX DEVICE NAME store the paired device name BYTE connect device name MAX DEVICE NAME BYTE BT hfp volume BYTE BT av volume user system ui other var BYTE BT_cmd BT user command ifdef POWER_ON_BT_ON BYTE BT init mainly used to identify the BT core has been power on or not 0 endif ifdef BT AUTO SEARCH 08 01 16 temp added for auto search remove soon BYTE BT_init_timer endif BYTE call_coming_in_other_state a flag just like the var name 0 BYTE BT_ui_state a flag just like the var name BT_STATE_IDLE BYTE BT_ui_state_old save the prev BT_ui_state ifdef SIMPLE OSD DEMO BT BYTE BT state strIMAX STATE STR NUM endif BYTE force_refresh force system ui refresh the BT state it afford for thought maybe removed soon BYTE pair_device_num BYTE latest_call_num BYTE miss_call_num BYTE command_ready BYTE show_title_ready BYTE connect_by_ag BLUETOOTH_VAR EXTERN BLUETOOTH_
9. ion aran 4 2 Data Struct ee 4 nn ie lea ea 4 3 BT Function 1 cT nennen ANG ANA NG ENG a naga NE Ngan 7 3 41 BI U ID cased aan anaa elta en id 7 32 BT HD ED aa er ae ee een 8 4 How To Add A New BT Iter rere eren neun anna nam nah anna anna a nun Dann Danna a KENEN NGNE 9 4 1 INtroduce 2 oe E Ho dnd Secs end ri ees eee 9 4 2 Create Ul mode i e roe nir o e n Er ee E Rx Rx tint 9 5 User Interface Function s eee 9 em inre dial Uie HT 9 5 2 SHOW BT menu Dee tacet in oos E eisernen 9 Ke eleu TT T IN saa dana nda 10 5 4 show device ut 10 5 5 show _BT menu Content id 10 5 6 Show CH RE TU e eie eot Ere Pho s rim Eom eie ets ordo od 11 5 7 show BT Phone vpp button sise 11 5 8 create BT keybd button sise 11 IMP SD 12 5 10 Handleommand sine 12 patt Wart Div OMEN 12 5412 BCP eT 13 5 13 HBCP HevPackel iR a ga ANGE ege OH ec Rani pa a na dag a a ei rade tent 13 5 14 HBCP Gend Commande 13 6 BT Command St dadaan it nes 14 7 Limits and Suggestions usnuusnansnnnennnnnnnnnnnnnnnnnnnnnnanennnnnannnnnnnnnnnennnnnnnnen nennen snnnenensnnnennn nn 16 EE tt Sunplus Technology Co Lid PAGE 3 V0 1 Feb 25 2008 SUNPLUS 1 Introduction 1 1 General Description This guide describes the functionality and user API of BT Module for SPHE8202T CAR DVD system 2 Data Struct Introduce 21 DO00000 Struct typedef struct UINT16 xStar
10. t UINT16 yStart UINT16 xSize UINT16 ySize BT pos typedef struct BI pos position const BYTE bmp BYTE sir id void Touch Function UINT32 Touch x UINT32 Touch_y UINT32 gEvent ID BT menu object const BT menu object BT menu posl const BT menu object BT dial page button const BT menu object BT dial vpp button const BT menu object BT Vol button const BT menu object BT keybd button typedef struct BYTE BTStatus the BT macro state NONE BYTE sParameter MAX DIAL NUM this var save the info which user wanna BYTE ucLength follow up the length of sParameter 0 TX_BUF tx_buf structed the HBCP raw transfered data package Sunplus Technology Co Ltd PAGE 4 V0 1 Feb 25 2008 SUNPLUS HBCP RX INFO gHBCP Rx structed the HBCP raw received data package BYTE gHBCP Rx Buf RX BUE MAX SIZE store the the HBCP data package BYTE rxBuf RX BUE MAX SIZE BYTE gTxSeq 0 tx sequencial number BYTE gRxSeq 0 rx sequencial number ifdef NEW RX PROCESS BYTE parse rxBuf RX BUE MAX SIZE mapping with rxBuf we copy rxBuf to UINT16 rxin the rxBuf data write point writed by UART UINT16 rxOut the rxBuf data read point read by user that s copy to parse rxBuf UINT16 rxSize Ino use now UINT16 gRx_chk_sum sum of all rx data UINT16 gRx data sum Ae sum data sent from BlueCore else BYTE uart receive start receive one HBCP data package start fla
11. ucLen 0000000000 unsigned char pStr D H1 D B D U D Return values NULL 5 13 HBCP RcvPacket U U 0 U D 00 00000 0 000000 000 U D U 0 U D U Function Required Header HBCP_RcvPacket BT_global h void HBCP_RcvPacket void Parameter NULL Return values NULL 5 14 HBCP Send Command podo00000 sPHeseeexn 000000000 Function Required Header O Sunplus Technology Co Ltd PAGE 13 V0 1 Feb 25 2008 SUNPLUS HBCP Send Command BT HBCP h void HBCP Send Command BYTE ucCmd int ucLen BYTE parameter Parameter BYTE uccmd D 00000000000 BYTE parameter D D D 0 D D D D 0 D 0 0 D 00000000000 intucLenJ D D D D 0 D D D B D D D U Return values NULL 6 BT Command list define HBCP_CMD HSHF ENTER PAIR unsigned char 0x01 define HBCP CMD HSHF EXIT PAIR unsigned char 0x02 define HBCP_CMD HSHF SET PIN unsigned char 0x03 define HBCP CMD HSHF CALL ACCEPT unsigned char 0x05 define HBCP CMD HSHF CALL REJECT unsigned char 0x06 define HBCP CMD HSHF VOL UP unsigned char 0x07 define HBCP CMD HSHF VOL DOWN unsigned char 0x08 define HBCP CMD HSHF DIAL LAST unsigned char 0x09 define HBCP_CMD_HSHF_DIAL_NUM unsigned char 0x0A define HBCP_CMD_HSHF_DIAL_VOICE unsigned char 0x0B define HBCP_CMD_HSHF_CALL_END unsigned char 0x0C define HBCP_CMD_HSHF_GET_LIST unsigned char 0x0D define HBCP_CMD_HSHF_SET_STORAGE unsigne
Download Pdf Manuals
Related Search
Related Contents
Samsung HT-Q100 Felhasználói kézikönyv a81000tnw0 en freezer user manual SINGULUS STANGL SOLAR GmbH Terms and conditions (Work Panasonic C-HDM-101 mounting kit Manuale art. EC1.24 このたびは Dea`s Gamen 製品をお買い上げいだだき、 ありがとうござい Manual de Instalación Servidor y Configuración Page 1 Page 2 『ウーウーカンカンカン 火事です 火事です』 と鳴ったとき Copyright © All rights reserved.
Failed to retrieve file