headset_a2dp_connection.h
来自「bc5_stereo:bluetooth stereo Headset CODE」· C头文件 代码 · 共 77 行
H
77 行
/****************************************************************************
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 + =
减小字号Ctrl + -
显示快捷键?