a2dp_sd_discover.h

来自「实现蓝牙 立体声传送」· C头文件 代码 · 共 87 行

H
87
字号
/****************************************************************************
Copyright (C) Cambridge Silicon Radio Ltd. 2004-2006
Part of BlueLab 3.6.2-release

FILE NAME
    a2dp_sd_discover.h
    
DESCRIPTION
    
*/

#ifndef A2DP_SD_DISCOVER_H
#define A2DP_SD_DISCOVER_H

 
/****************************************************************************
NAME    
    a2dpSdDiscover
    
DESCRIPTION
    We're in the right state so kick off a discovery process.

RETURNS
    void
*/
void a2dpSdDiscover(a2dpSourceDongleTaskData *theApp);


/****************************************************************************
NAME    
    a2dpSdInquiryResult
    
DESCRIPTION
    Have received an inquiry result that matches our criteria, try an 
    SDP search on the device.

RETURNS
    void
*/
void a2dpSdInquiryResult(const bdaddr *bd_addr);


/****************************************************************************
NAME    
    a2dpDiscoverServiceSearchSuccess
    
DESCRIPTION
    Called to indicate that the SDP search on the discovered device
    succeeded, meaning that the device does support the service we're looking
    for.

RETURNS
    void
*/
void a2dpDiscoverServiceSearchSuccess(const CL_SDP_SERVICE_SEARCH_CFM_T *cfm);


/****************************************************************************
NAME    
    a2dpDiscoverServiceSearchFail
    
DESCRIPTION
    The remote device found does not support the AV service so we need to keep
    looking.

RETURNS
    void
*/
void a2dpDiscoverServiceSearchFail(a2dpSourceDongleTaskData *theApp);


/****************************************************************************
NAME    
    a2dpDiscoverTimeout
    
DESCRIPTION
    The discover timeout has fired meaning that we have not succeeded in
    discovering a suitable device to connect to. 

RETURNS
    void
*/
void a2dpDiscoverTimeout(void);


#endif /* A2DP_SD_DISCOVER_H */

⌨️ 快捷键说明

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