⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 headset_a2dp_connection.h

📁 bc5_stereo:bluetooth stereo Headset CODE 支持A2DP HSP 和 HSP 。可作为车载免提。BlueLab 2007环境下编译
💻 H
字号:
/****************************************************************************
Copyright (C) Cambridge Silicon Radio Ltd. 2004-2007
Part of Stereo-Headset-SDK Q1-2007.Release

FILE NAME
    headset_a2dp_connection.h
    
DESCRIPTION
    Handles a2dp connection.
    
*/
#ifndef HEADSET_A2DP_CONNECTION_H
#define HEADSET_A2DP_CONNECTION_H

#include <message.h>
#include "headset_private.h"


/****************************************************************************
  FUNCTIONS
*/


/*************************************************************************
NAME    
    a2dpGetLastUsedSource
    
DESCRIPTION
    Retrieve bdaddr and sep of last used A2DP source. 
	Return value of FALSE indicates no such device.
*/
bool a2dpGetLastUsedSource(bdaddr *addr, a2dp_sep_type *sep_type);


/*************************************************************************
NAME    
     a2dpReconnectProcedure
    
DESCRIPTION
     Connect to the last A2DP source. Need to see if media has to be connected
	 as well as the signalling.
*/
void a2dpReconnectProcedure(hsTaskData *app);


/*************************************************************************
NAME    
     a2dpConnectRequest
    
DESCRIPTION
     Connect to the last AV source the headset was connected to.
*/
void a2dpConnectRequest(hsTaskData *app, bool connect_media);


/*************************************************************************
NAME    
     a2dpDisconnectRequest
    
DESCRIPTION
     Disconnect from the AV source.
*/
void a2dpDisconnectRequest(hsTaskData *app);


/*************************************************************************
NAME    
     a2dpIsConnecting
    
DESCRIPTION
     Is the headset currently connecting A2DP.
*/
bool a2dpIsConnecting ( hsTaskData * pApp );
		

#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -