亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? handsfree_private.h

?? 藍(lán)牙HANDFREE軟件源代碼
?? H
字號(hào):
#ifndef _HF_PRIVATE_H
#define _HF_PRIVATE_H

#include <csrtypes.h>

#include "handsfree_types.h"
#include <cm_rfcomm.h>
#include <hshf_lib.h>
#include <timer.h>


/* Used to send messages to the headset framework and get messages from it */
#define HEADSET_FRAMEWORK_TASK 1
#define HANDSFREE_TASK 2

/* Timeout values */
#define MASTER_CONNECT_TIMEOUT  D_SEC(300) 
#define SLAVE_CONNECT_TIMEOUT   D_NEVER

#define MUTE_BEEP_DELAY        D_SEC(3)


/* Increment value for one press of the volume UP button */
#define VGS_VOLUME_UP 1

/* Increment value for one press of the volume DOWN button */
#define VGS_VOLUME_DOWN -1

/* 
    The volume change comand sets either the gain i.e. absolute speaker 
    volume, OR the increment by which to increase/ decrease the speaker volume
*/

#define VGS_ZERO_GAIN       0
#define VGS_ZERO_INCREMENT  0


/*
    Enumeration defining the current state of the handsfree device.
    idle - awaiting user input or an incoming call
    connectingAsMaster - initiating an RFCOMM connection to the audio gateway
    connectingAsSlave - awaiting the audio gateway to initiate the RFCOMM connection
    connected - connected to another device
    pairing - engaged in the pairing procedure with a remote device
*/

enum
{
    idle,
    connectingAsMaster,
    connectingAsSlave,
    connected,
    pairing,
    scoConnected
};


/* store the necessary pairing data in this */
typedef struct 
{
    Delay pairing_timeout;
    framework_role_t pairing_role;
} hf_pair_data_t;


typedef struct
{
    uint16 connectState: 4; /* the current state of the handsfree */
    framework_role_t applicationRole:3;
    uint16 connectAsMasterPending:1;
    uint16 dialNumberPending:1;
    uint16 dialMemoryPending:1;
    uint16 dialLastNumberPending:1;
    uint16 audioTransferPending:1;
    uint16 voiceDialPending:1;
    uint16 ringing:1;
    uint16 inBandRingEnabled:1;
    uint16 microphoneMute:1;            
    uint16 hfCallActive:1;
    uint16 hfCallSetup:2;
    uint16 SCOpktType;
    hf_pair_data_t *pair_data;
    uint16 numberLength;
    uint8  *numberToDial;
    uint16 AudioRingHandle;
} HandsFreeState ;



/* call.c - called when there is an incoming caller id indication */
void hfCallerIdInd(const HANDSFREE_CALLER_ID_IND_T *ind);

/* cmd.c - called when the Audio Gateway has sent us an unrecognized AT command */
void hfCmdInd(const HS_CMD_IND_T *ind);

/* connect.c - called when the connect operation has completed */
void hfConnectCfm(const HS_CONNECT_CFM_T * cfm);

/* connect.c - called when the RFCOMM channel is disconnected. */
void hfConnectStatusInd(HS_CONNECT_STATUS_IND_T * ind);

/* connect.c - send a disconnect message to the libs */
void hfSendDisconnectMessage(hf_link_type_t link);

/* dial.c - called once a connection is established to send any penidng dial cmds */
void hfCheckDialPendingFlags(void);

/* error.c - indicates that an error has ocurred and includes a reason code to indicate what*/
void hfErrorInd(const HS_ERROR_IND_T *ind);

/* hal.c - set the speaker gain */
void hfHalSetSpeakerGain(uint8  vol);

/* hal.c - set the microphone gain */
void hfHalSetMicrophoneGain(uint8 gain);

/* hfalloc.c - allocate some memory and Panic if null returned */
void *hfAlloc(uint16 sz);

/* indicators.c - message from core framework containing the status of the indicators */
void hfIndicatorStatusInd(const HANDSFREE_INDICATOR_STATUS_IND_T *ind);

/* localState.c - use this function to update the current state of the hands free */
void setLocalState(uint16 new_state);

/* microphone.c - handle a mic gain ind message */
void hfMicrophoneInd(const HS_MIC_IND_T *ind);

/* open.c - called when the open request operation has completed */
void hfOpenCfm(const HS_OPEN_CFM_T* cfm);

/* pair.c - called when the pairing operation has completed */
void hfPairCfm(const HS_PAIR_CFM_T * cfm);

/* reset.c - confirmation reset has completed */
void hfResetCfm(const HS_RESET_CFM_T *req);

/* reset.c - reset all flags to do with an SLC */
void hfResetConnectionState(void);

/* ring.c - called when there is an incoming ring indication */
void hfRingInd(const HS_RING_IND_T *ind);

/* ring.c - in band ring tone enable/ disable indication */
void hfInBandRingEnable(const HANDSFREE_IN_BAND_RING_IND_T *ind);

/* sco.c - send the create SCO message */
void createSCO(uint16 pkt_type);

/* sco.c - called when there is a change in status of a SCO connection. */
void hfScoStatusInd(const HS_SCO_STATUS_IND_T * ind);

/* voice.c - handle the voice dial enabled/disabled indicator from the lib */
void hfVoiceDialEnableInd(const HANDSFREE_VOICE_DIAL_ENABLE_IND_T *ind);

/* volume.c - called when the user presses a volume button and sets the volume */
void hfVolumeInd(const HS_VGS_IND_T * ind);

/* volume.c - called when a connection is initially established to set up the default volume level */
void hfSendInitialVolume(void);


#endif

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
成人高清视频在线观看| 亚洲一区二区视频| 国产一区二区按摩在线观看| 日韩美女主播在线视频一区二区三区| 久久精品国产77777蜜臀| 欧美成人性福生活免费看| 国产一区二区三区免费| 国产精品成人免费在线| 欧美三电影在线| 免费亚洲电影在线| 国产偷国产偷精品高清尤物| 成人视屏免费看| 亚洲一区二区在线免费看| 3751色影院一区二区三区| 国产一区二区精品久久| 亚洲人成电影网站色mp4| 欧美日韩在线一区二区| 精品制服美女丁香| 成人欧美一区二区三区黑人麻豆 | 麻豆视频观看网址久久| 久久精品水蜜桃av综合天堂| 91麻豆产精品久久久久久| 首页国产欧美日韩丝袜| 欧美国产97人人爽人人喊| 欧美日韩一卡二卡三卡| 国产综合久久久久久久久久久久| 中文字幕日韩一区| 欧美日韩中文一区| 不卡免费追剧大全电视剧网站| 天天做天天摸天天爽国产一区| 久久久国产精品不卡| 欧美日韩免费高清一区色橹橹| 国产经典欧美精品| 日韩av午夜在线观看| 17c精品麻豆一区二区免费| 欧美一区二区三区在线电影| 91视频国产资源| 久久国产三级精品| 亚洲大片免费看| 国产精品久久久久久福利一牛影视| 欧美一区二区精品在线| 91色porny| 成人激情黄色小说| 久88久久88久久久| 亚洲www啪成人一区二区麻豆| 国产欧美一区二区精品仙草咪| 在线成人小视频| 色婷婷精品久久二区二区蜜臀av| 国产一区二区0| 免费视频一区二区| 亚洲高清一区二区三区| 中文字幕在线一区免费| 久久一留热品黄| 日韩午夜av一区| 欧美日韩成人一区二区| 91黄视频在线| 91视频精品在这里| 99久久久国产精品| 成人av小说网| 丁香婷婷综合网| 国产福利电影一区二区三区| 久久国产婷婷国产香蕉| 青青草原综合久久大伊人精品| 亚洲制服丝袜在线| 一卡二卡欧美日韩| 亚洲日本成人在线观看| 综合自拍亚洲综合图不卡区| 国产欧美视频在线观看| 久久一留热品黄| 久久久久久99精品| 欧美国产精品劲爆| 国产精品每日更新在线播放网址| 欧美激情中文不卡| 国产精品乱码妇女bbbb| 国产精品三级久久久久三级| 国产精品欧美一区二区三区| 国产精品久久久久久久久晋中| 国产精品丝袜黑色高跟| 自拍视频在线观看一区二区| 亚洲色图制服丝袜| 一区二区三区欧美激情| 洋洋av久久久久久久一区| 一区二区三区在线观看视频| 亚洲国产精品麻豆| 日本aⅴ免费视频一区二区三区| 日韩精品高清不卡| 国内外成人在线视频| 国产suv一区二区三区88区| 丁香激情综合国产| 色视频一区二区| 欧美精品在线观看播放| 欧美成人r级一区二区三区| 国产午夜精品一区二区三区视频| 国产精品人妖ts系列视频| 亚洲视频免费观看| 性欧美疯狂xxxxbbbb| 蜜臀av一区二区在线免费观看| 国产麻豆精品在线| 色哟哟日韩精品| 91精品国产色综合久久不卡蜜臀| 久久亚洲综合色一区二区三区| 国产精品美女久久久久久久 | 国产精品视频免费| 亚洲视频精选在线| 日本aⅴ精品一区二区三区| 国产精品一二三四五| 色婷婷精品久久二区二区蜜臂av| 欧美日韩高清一区二区不卡| 精品久久久久久久久久久久包黑料| 欧美国产日本韩| 午夜不卡av免费| 国产91丝袜在线播放| 欧美日韩国产一区二区三区地区| 久久青草国产手机看片福利盒子| 亚洲色图丝袜美腿| 国产专区综合网| 欧美色男人天堂| 国产欧美视频一区二区| 午夜一区二区三区在线观看| 国产精品一二三在| 4438x亚洲最大成人网| 日韩一区中文字幕| 激情综合亚洲精品| 欧美色精品天天在线观看视频| 久久亚洲一区二区三区四区| 亚洲福利国产精品| 成人一区二区在线观看| 制服丝袜av成人在线看| 国产精品国产三级国产aⅴ入口| 欧美bbbbb| 欧洲一区在线观看| 国产精品无圣光一区二区| 日本不卡免费在线视频| 日本高清视频一区二区| 久久久久久亚洲综合| 日本中文字幕不卡| 91黄视频在线| 国产精品高清亚洲| 国产一区不卡在线| 日韩欧美一级片| 亚洲一区二区三区美女| zzijzzij亚洲日本少妇熟睡| 精品国产伦理网| 亚洲成年人网站在线观看| 91免费在线看| 综合av第一页| 99国产精品久久| 欧美激情一区二区在线| 国产一区二区成人久久免费影院| 91麻豆精品国产91久久久资源速度| 洋洋av久久久久久久一区| 91视频免费观看| 亚洲欧美成aⅴ人在线观看 | 奇米影视一区二区三区小说| 欧美亚洲综合在线| 亚洲日本va午夜在线影院| 99久久久精品| 1区2区3区国产精品| 91天堂素人约啪| 成人免费在线播放视频| 91丨porny丨在线| 亚洲美腿欧美偷拍| 91老司机福利 在线| 亚洲视频一区在线观看| 色婷婷综合久久久| 亚洲精品伦理在线| 欧美怡红院视频| 亚洲成人自拍网| 91精品国产入口| 九九久久精品视频| 国产欧美中文在线| av在线一区二区| 专区另类欧美日韩| 欧美午夜影院一区| 秋霞午夜av一区二区三区| 日韩天堂在线观看| 国产成人综合在线播放| 国产精品久久久久久久久免费相片| 福利电影一区二区| 亚洲精品自拍动漫在线| 欧美在线你懂的| 蜜桃视频第一区免费观看| 精品久久久网站| jvid福利写真一区二区三区| 亚洲久草在线视频| 欧美一区二区大片| 国产成人在线电影| 一区二区欧美在线观看| 在线播放欧美女士性生活| 狠狠色狠狠色合久久伊人| 国产精品国产馆在线真实露脸 | 午夜日韩在线电影| 精品国产91九色蝌蚪| www.色精品| 日韩av不卡在线观看| 久久久久综合网| 欧美午夜在线观看| 国产精品一区二区三区四区| 亚洲精品国产一区二区精华液| 在线播放国产精品二区一二区四区 |