RDK Documentation (Open Sourced RDK Components)
|
Typedefs | |
typedef enBTRCoreRet(* | fPtr_BTRCore_LeStatusUpdateCb) (stBTRCoreLeGattInfo *apstBtrLeInfo, const char *apBtDevAddr, void *apUserData) |
Functions | |
void * | BtrCore_BTInitGetConnection (void) |
This API Initializes the Bluetooth core and fetches DBus connection and returns a handle to the instance. More... | |
int | BtrCore_BTDeInitReleaseConnection (void *apBtConn) |
This API DeInitializes the Bluetooth core and releases the DBus connection. More... | |
char * | BtrCore_BTGetAgentPath (void *apBtConn) |
Using this API, a default Path is assigned to the Bluetooth Agent. More... | |
int | BtrCore_BTReleaseAgentPath (void *apBtConn) |
Using this API the path assigned to the Bluetooth Agent is released. More... | |
int | BtrCore_BTRegisterAgent (void *apBtConn, const char *apBtAdapter, const char *apBtAgentPath, const char *capabilities) |
using this API, DBus object path is registered with bluetooth agent path and current adapter's path. More... | |
int | BtrCore_BTUnregisterAgent (void *apBtConn, const char *apBtAdapter, const char *apBtAgentPath) |
Using this API, DBus object path is unregistered with bluetooth agent path and current adapter's path. More... | |
int | BtrCore_BTGetAdapterList (void *apBtConn, unsigned int *apBtNumAdapters, char *apcArrBtAdapterPath[4]) |
This API obtains adapter list from Dbus object path. More... | |
char * | BtrCore_BTGetAdapterPath (void *apBtConn, const char *apBtAdapter) |
Using this API adapter path is fetched from Dbus object path. More... | |
int | BtrCore_BTReleaseAdapterPath (void *apBtConn, const char *apBtAdapter) |
Using this API the path assigned to the current Bluetooth Adapter is released. More... | |
int | BtrCore_BTGetIfceNameVersion (void *apBtConn, char *apBtOutIfceName, char *apBtOutVersion) |
using this API, Bluetooth interface version is obtained from bluetooth daemon of the kernel and default name "Bluez" is assigned as interface name. More... | |
int | BtrCore_BTGetProp (void *apBtConn, const char *apcOpIfcePath, enBTOpIfceType aenBtOpIfceType, unBTOpIfceProp aunBtOpIfceProp, void *apvVal) |
This API gets different properties of different BT devices and services. More... | |
int | BtrCore_BTSetProp (void *apBtConn, const char *apcOpIfcePath, enBTOpIfceType aenBtOpIfceType, unBTOpIfceProp aunBtOpIfceProp, void *apvVal) |
This API sets different properties of different BT devices and services. More... | |
int | BtrCore_BTStartDiscovery (void *apBtConn, const char *apBtAdapter, const char *apBtAgentPath) |
This API is used to discover the Bluetooth adapter. More... | |
int | BtrCore_BTStopDiscovery (void *apBtConn, const char *apBtAdapter, const char *apBtAgentPath) |
This API is used to stop discovering Bluetooth adapter. More... | |
int | BtrCore_BTStartLEDiscovery (void *apBtConn, const char *apBtAdapter, const char *apBtAgentPath) |
This API is used to discover the low energy Bluetooth adapter. More... | |
int | BtrCore_BTStopLEDiscovery (void *apBtConn, const char *apBtAdapter, const char *apBtAgentPath) |
This API is used to stop discovering low energy Bluetooth adapter. More... | |
int | BtrCore_BTStartClassicDiscovery (void *apBtConn, const char *apBtAdapter, const char *apBtAgentPath) |
This API is used to discover the Classic Bluetooth Devices. More... | |
int | BtrCore_BTStopClassicDiscovery (void *apBtConn, const char *apBtAdapter, const char *apBtAgentPath) |
This API is used to stop discovering Classic Bluetooth Devices. More... | |
int | BtrCore_BTGetPairedDevices (void *apBtConn, const char *apBtAdapter, unsigned int *apui32PairedDevCnt, char **apcArrPairedDevPath) |
This API fetches all the paired devices' paths and number of paired devices. More... | |
int | BtrCore_BTGetPairedDeviceInfo (void *apBtConn, const char *apBtAdapter, stBTPairedDeviceInfo *pPairedDeviceInfo) |
This API fetches all BT paired devices' device information. More... | |
int | BtrCore_BTDiscoverDeviceServices (void *apBtConn, const char *apcDevPath, stBTDeviceSupportedServiceList *pProfileList) |
This API is used to discover the supported services and fetch the profiles of all those devices. More... | |
int | BtrCore_BTFindServiceSupported (void *apBtConn, const char *apcDevPath, const char *apcSearchString, char *apcDataString) |
This API is used to find all supported services and fetch the profiles of all those devices. More... | |
int | BtrCore_BTPerformAdapterOp (void *apBtConn, const char *apBtAdapter, const char *apBtAgentPath, const char *apcDevPath, enBTAdapterOp aenBTAdpOp) |
This API is used to perform BT adapter operations. More... | |
int | BtrCore_BTIsDeviceConnectable (void *apBtConn, const char *apcDevPath) |
This API is used to run device connectable command. More... | |
int | BtrCore_BTConnectDevice (void *apBtConn, const char *apDevPath, enBTDeviceType aenBTDevType) |
This API is used to establish the connection with a BT device. More... | |
int | BtrCore_BTDisconnectDevice (void *apBtConn, const char *apDevPath, enBTDeviceType aenBTDevType) |
This API is used to diconnect a BT device. More... | |
int | BtrCore_BTEnableEnhancedRetransmissionMode (void *apstBtIfceHdl) |
This API is used to Enable Enhanced Retransmission on all BT adapter. More... | |
int | BtrCore_BTDisableEnhancedRetransmissionMode (void *apstBtIfceHdl) |
This API is used to Disable Enhanced Retransmission on all BT adapter. More... | |
int | BtrCore_BTRegisterMedia (void *apBtConn, const char *apBtAdapter, enBTDeviceType aenBTDevType, enBTMediaType aenBTMediaType, const char *apBtUUID, void *apBtMediaCapabilities, int apBtMediaCapabilitiesSize, int abBtMediaDelayReportEnable) |
This API is used to register a media device. More... | |
int | BtrCore_BTUnRegisterMedia (void *apBtConn, const char *apBtAdapter, enBTDeviceType aenBTDevType, enBTMediaType aenBTMediaType) |
This API is used to unregister the media device. More... | |
int | BtrCore_BTAcquireDevDataPath (void *apBtConn, char *apcDevTransportPath, int *dataPathFd, int *dataReadMTU, int *dataWriteMTU) |
This API is used to acquire device data path. More... | |
int | BtrCore_BTReleaseDevDataPath (void *apBtConn, char *apcDevTransportPath) |
This API is used to release the acquired device data path. More... | |
int | BtrCore_BTSetDevDataAckTimeout (void *apBtConn, unsigned int aui32AckTOutms) |
This API is used to release the acquired device data path. More... | |
char * | BtrCore_BTGetMediaPlayerPath (void *apBtConn, const char *apBtDevPath) |
A Path is assigned to Media player using Bluetooth device path. More... | |
int | BtrCore_BTDevMediaControl (void *apBtConn, const char *apmediaPlayerPath, enBTMediaControlCmd aenBTMediaOper) |
This API is used to control the media device. More... | |
int | BtrCore_BTGetTransportState (void *apBtConn, const char *apBtDataPath, void *state) |
This API is used to get the state of the BT device . More... | |
int | BtrCore_BTGetMediaPlayerProperty (void *apBtConn, const char *apBtObjectPath, const char *mediaProperty, void *mediaPropertyValue) |
This API is used to get media player property value using the object path of BT device and media property. More... | |
int | BtrCore_BTGetMediaFolderNumberOfItems (void *apBtConn, const char *apBtMediaPlayerPath, unsigned int *aui32NumberOfItems) |
This API is used to get the number of items in the current media folder. More... | |
int | BtrCore_BTSetMediaProperty (void *apBtConn, const char *apBtAdapterPath, char *mediaProperty, char *pValue) |
This API is used to set the media property of the BT device . More... | |
int | BtrCore_BTGetTrackInformation (void *apBtConn, const char *apBtmediaPlayerObjectPath, stBTMediaTrackInfo *lpstBTMediaTrackInfo) |
This API is used to retrieve the information about the track that is being played on BT media device. More... | |
int | BtrCore_BTChangeMediaFolder (void *apstBtIfceHdl, const char *apBtmediaPlayerObjectPath, const char *apBtdestMediaFolderPath) |
This API is used to change from the current media folder path to another path. More... | |
int | BtrCore_BTSelectMediaFolderItems (void *apstBtIfceHdl, const char *apBtMediaPlayerObjectPath, unsigned int apBtMediaFolderStartIndex, unsigned int apBtMediaFolderEndIndex, const char *apBtMediaFilter, int apBtMediaFilterSize) |
This API is used to list the media items in the current folder. More... | |
int | BtrCore_BTPlayMediaTrackItem (void *apstBtIfceHdl, const char *apBtMediaItemObjectPath) |
This API is used to Play the mentioned media track. More... | |
tBTMediaItemId | BtrCore_BTGetCommonParentMediaItemId (tBTMediaItemId aBTcurrMediaItemId, tBTMediaItemId aBTdestMediaItemId) |
This API is used to get the mediaItemID of the node which is the immediate common parent of the src and dest nodes. More... | |
int | BtrCore_BTRegisterLeAdvertisement (void *apstBtIfceHdl, const char *apBtAdapter) |
This API is used to invoke the bluez API advertisement method call RegisterAdvertisment. More... | |
int | BtrCore_BTRegisterLeGatt (void *apBtConn, const char *apBtAdapter) |
This API is used to invoke the bluez API gatt service method call RegisterApplication. More... | |
int | BtrCore_BTUnRegisterLeGatt (void *apBtConn, const char *apBtAdapter) |
This API is used to invoke the bluez API gatt service method call UnRegisterApplication. More... | |
int | BtrCore_BTPerformLeGattOp (void *apBtConn, const char *apBtLePath, enBTOpIfceType aenBTOpIfceType, enBTLeGattOp aenBTLeGattOp, char *apLeGatOparg1, char *apLeGatOparg2, char *rpLeOpRes) |
This API is used to perform gatt services of the BT device . More... | |
int | BtrCore_BTSendReceiveMessages (void *apBtConn) |
This API is used to read, write and dispatch BT device information. More... | |
int | BtrCore_BTRegisterAdapterStatusUpdateCb (void *apBtConn, fPtr_BtrCore_BTAdapterStatusUpdateCb afpcBAdapterStatusUpdate, void *apUserData) |
int | BtrCore_BTRegisterDevStatusUpdateCb (void *apBtConn, fPtr_BtrCore_BTDevStatusUpdateCb afpcBDevStatusUpdate, void *apUserData) |
int | BtrCore_BTRegisterMediaStatusUpdateCb (void *apBtConn, fPtr_BtrCore_BTMediaStatusUpdateCb afpcBMediaStatusUpdate, void *apUserData) |
int | BtrCore_BTRegisterConnIntimationCb (void *apBtConn, fPtr_BtrCore_BTConnIntimCb afpcBConnIntim, void *apUserData) |
int | BtrCore_BTRegisterConnAuthCb (void *apBtConn, fPtr_BtrCore_BTConnAuthCb afpcBConnAuth, void *apUserData) |
int | BtrCore_BTRegisterNegotiateMediaCb (void *apBtConn, const char *apBtAdapter, fPtr_BtrCore_BTNegotiateMediaCb afpcBNegotiateMedia, void *apUserData) |
int | BtrCore_BTRegisterTransportPathMediaCb (void *apBtConn, const char *apBtAdapter, fPtr_BtrCore_BTTransportPathMediaCb afpcBTransportPathMedia, void *apUserData) |
int | BtrCore_BTRegisterMediaPlayerPathCb (void *apBtConn, const char *apBtAdapter, fPtr_BtrCore_BTMediaPlayerPathCb afpcBTMediaPlayerPath, void *apUserData) |
int | BtrCore_BTRegisterMediaBrowserUpdateCb (void *apBtConn, fPtr_BtrCore_BTMediaBrowserPathCb afpcBTMediaBrowserPath, void *apUserData) |
int | BtrCore_BTRegisterLEGattInfoCb (void *apBtConn, const char *apBtAdapter, fPtr_BtrCore_BTLeGattPathCb afpcBLeGattPath, void *apUserData) |
int | BtrCore_BTRegisterLEAdvInfoCb (void *apBtConn, const char *apBtAdapter, fPtr_BtrCore_BTLeAdvertisementCb afpcBLeAdvPath, void *apUserData) |
enBTRCoreRet | BTRCore_Init (tBTRCoreHandle *phBTRCore) |
This API connects to a bus daemon and registers the client with it. More... | |
enBTRCoreRet | BTRCore_DeInit (tBTRCoreHandle hBTRCore) |
This APi deinitialzes and free BTRCore. More... | |
enBTRCoreRet | BTRCore_RegisterAgent (tBTRCoreHandle hBTRCore, int iBTRCapMode) |
This API registers an agent handler. More... | |
enBTRCoreRet | BTRCore_UnregisterAgent (tBTRCoreHandle hBTRCore) |
This unregisters the agent that has been previously registered. More... | |
enBTRCoreRet | BTRCore_GetListOfAdapters (tBTRCoreHandle hBTRCore, stBTRCoreListAdapters *pstListAdapters) |
Returns list of adapter object paths under /org/bluez. More... | |
enBTRCoreRet | BTRCore_SetAdapterPower (tBTRCoreHandle hBTRCore, const char *pAdapterPath, unsigned char powerStatus) |
This API sets the bluetooth adapter power as ON/OFF. More... | |
enBTRCoreRet | BTRCore_GetAdapterPower (tBTRCoreHandle hBTRCore, const char *pAdapterPath, unsigned char *pAdapterPower) |
This API returns the value of org.bluez.Adapter.powered . More... | |
enBTRCoreRet | BTRCore_GetAdapters (tBTRCoreHandle hBTRCore, stBTRCoreGetAdapters *pstGetAdapters) |
This API returns the value of org.bluez.Manager.Getadapters . More... | |
enBTRCoreRet | BTRCore_GetAdapter (tBTRCoreHandle hBTRCore, stBTRCoreAdapter *apstBTRCoreAdapter) |
This API returns the bluetooth adapter path. More... | |
enBTRCoreRet | BTRCore_SetAdapter (tBTRCoreHandle hBTRCore, int adapter_number) |
This API sets Current Bluetooth Adapter to use. More... | |
enBTRCoreRet | BTRCore_EnableAdapter (tBTRCoreHandle hBTRCore, stBTRCoreAdapter *apstBTRCoreAdapter) |
This API enables specific adapter. More... | |
enBTRCoreRet | BTRCore_DisableAdapter (tBTRCoreHandle hBTRCore, stBTRCoreAdapter *apstBTRCoreAdapter) |
This API disables specific adapter. More... | |
enBTRCoreRet | BTRCore_GetAdapterAddr (tBTRCoreHandle hBTRCore, unsigned char aui8adapterIdx, char *apui8adapterAddr) |
This API gets Address of BT Adapter. More... | |
enBTRCoreRet | BTRCore_SetAdapterDiscoverable (tBTRCoreHandle hBTRCore, const char *pAdapterPath, unsigned char discoverable) |
This API sets adapter as discoverable. More... | |
enBTRCoreRet | BTRCore_SetAdapterDiscoverableTimeout (tBTRCoreHandle hBTRCore, const char *pAdapterPath, unsigned short timeout) |
This API sets how long the adapter is discoverable. More... | |
enBTRCoreRet | BTRCore_GetAdapterDiscoverableStatus (tBTRCoreHandle hBTRCore, const char *pAdapterPath, unsigned char *pDiscoverable) |
This API checks whether the discovery is in progress or not. More... | |
enBTRCoreRet | BTRCore_SetAdapterDeviceName (tBTRCoreHandle hBTRCore, stBTRCoreAdapter *apstBTRCoreAdapter, char *apcAdapterDeviceName) |
This API sets a friendly name to BT adapter device. More... | |
enBTRCoreRet | BTRCore_SetAdapterName (tBTRCoreHandle hBTRCore, const char *pAdapterPath, const char *pAdapterName) |
This API sets a friendly name to BT adapter. More... | |
enBTRCoreRet | BTRCore_GetAdapterName (tBTRCoreHandle hBTRCore, const char *pAdapterPath, char *pAdapterName) |
This API gets the name of BT adapter. More... | |
enBTRCoreRet | BTRCore_ResetAdapter (tBTRCoreHandle hBTRCore, stBTRCoreAdapter *apstBTRCoreAdapter) |
This API resets specific adapter. More... | |
enBTRCoreRet | BTRCore_GetVersionInfo (tBTRCoreHandle hBTRCore, char *apcBtVersion) |
This API gets BT Version. More... | |
enBTRCoreRet | BTRCore_StartDiscovery (tBTRCoreHandle hBTRCore, const char *pAdapterPath, enBTRCoreDeviceType aenBTRCoreDevType, unsigned int aui32DiscDuration) |
This method starts the device discovery session. More... | |
enBTRCoreRet | BTRCore_StopDiscovery (tBTRCoreHandle hBTRCore, const char *pAdapterPath, enBTRCoreDeviceType aenBTRCoreDevType) |
This method will cancel any previous StartDiscovery transaction. More... | |
enBTRCoreRet | BTRCore_GetListOfScannedDevices (tBTRCoreHandle hBTRCore, stBTRCoreScannedDevicesCount *pListOfScannedDevices) |
This API returns the number of devices scanned. More... | |
enBTRCoreRet | BTRCore_PairDevice (tBTRCoreHandle hBTRCore, tBTRCoreDevId aBTRCoreDevId) |
This API initiates the pairing of the device. More... | |
enBTRCoreRet | BTRCore_UnPairDevice (tBTRCoreHandle hBTRCore, tBTRCoreDevId aBTRCoreDevId) |
This API removes the remote device object at the given path. More... | |
enBTRCoreRet | BTRCore_GetListOfPairedDevices (tBTRCoreHandle hBTRCore, stBTRCorePairedDevicesCount *pListOfDevices) |
Gets the paired devices list. More... | |
enBTRCoreRet | BTRCore_FindDevice (tBTRCoreHandle hBTRCore, tBTRCoreDevId aBTRCoreDevId) |
This API checks the device entry in the scanned device list. More... | |
enBTRCoreRet | BTRCore_FindService (tBTRCoreHandle hBTRCore, tBTRCoreDevId aBTRCoreDevId, const char *UUID, char *XMLdata, int *found) |
This API is used to confirm if a given service exists on a device. More... | |
enBTRCoreRet | BTRCore_GetSupportedServices (tBTRCoreHandle hBTRCore, tBTRCoreDevId aBTRCoreDevId, stBTRCoreSupportedServiceList *pProfileList) |
This API retuns the list of services supported by the device. More... | |
enBTRCoreRet | BTRCore_IsDeviceConnectable (tBTRCoreHandle hBTRCore, tBTRCoreDevId aBTRCoreDevId) |
This API checks the device is connectable. More... | |
enBTRCoreRet | BTRCore_ConnectDevice (tBTRCoreHandle hBTRCore, tBTRCoreDevId aBTRCoreDevId, enBTRCoreDeviceType aenBTRCoreDevType) |
This method connect any profiles the remote device supports. More... | |
enBTRCoreRet | BTRCore_DisconnectDevice (tBTRCoreHandle hBTRCore, tBTRCoreDevId aBTRCoreDevId, enBTRCoreDeviceType aenBTRCoreDevType) |
This method gracefully disconnects all connected profiles and then terminates connection. More... | |
enBTRCoreRet | BTRCore_GetDeviceConnected (tBTRCoreHandle hBTRCore, tBTRCoreDevId aBTRCoreDevId, enBTRCoreDeviceType aenBTRCoreDevType) |
This method checks the current device that is connected. More... | |
enBTRCoreRet | BTRCore_GetDeviceDisconnected (tBTRCoreHandle hBTRCore, tBTRCoreDevId aBTRCoreDevId, enBTRCoreDeviceType aenBTRCoreDevType) |
This method checks the current device that is disconnected. More... | |
enBTRCoreRet | BTRCore_GetDeviceTypeClass (tBTRCoreHandle hBTRCore, tBTRCoreDevId aBTRCoreDevId, enBTRCoreDeviceType *apenBTRCoreDevTy, enBTRCoreDeviceClass *apenBTRCoreDevCl) |
This API returns current media info that includes the codec info, channel modes, subbands etc. More... | |
enBTRCoreRet | BTRCore_GetDeviceMediaInfo (tBTRCoreHandle hBTRCore, tBTRCoreDevId aBTRCoreDevId, enBTRCoreDeviceType aenBTRCoreDevType, stBTRCoreDevMediaInfo *apstBTRCoreDevMediaInfo) |
This API returns current media info that includes the codec info, channel modes, subbands etc. More... | |
enBTRCoreRet | BTRCore_AcquireDeviceDataPath (tBTRCoreHandle hBTRCore, tBTRCoreDevId aBTRCoreDevId, enBTRCoreDeviceType aenBTRCoreDevType, int *aiDataPath, int *aidataReadMTU, int *aidataWriteMTU, unsigned int *apui32Delay) |
This API returns the bluetooth device address. More... | |
enBTRCoreRet | BTRCore_ReleaseDeviceDataPath (tBTRCoreHandle hBTRCore, tBTRCoreDevId aBTRCoreDevId, enBTRCoreDeviceType enDeviceType) |
This API release the bluetooth device address. More... | |
enBTRCoreRet | BTRCore_SetDeviceDataAckTimeout (tBTRCoreHandle hBTRCore, unsigned int aui32AckTOutms) |
This API release the bluetooth device address. More... | |
enBTRCoreRet | BTRCore_MediaControl (tBTRCoreHandle hBTRCore, tBTRCoreDevId aBTRCoreDevId, enBTRCoreDeviceType aenBTRCoreDevType, enBTRCoreMediaCtrl aenBTRCoreMediaCtrl, stBTRCoreMediaCtData *apstBTRCoreMediaCData) |
This API is used to perform media control operations like play, pause, NExt, Previous, Rewind etc. More... | |
enBTRCoreRet | BTRCore_GetMediaTrackInfo (tBTRCoreHandle hBTRCore, tBTRCoreDevId aBTRCoreDevId, enBTRCoreDeviceType aenBTRCoreDevType, stBTRCoreMediaTrackInfo *apstBTMediaTrackInfo) |
This API is used to retrieve the media track information. More... | |
enBTRCoreRet | BTRCore_GetMediaElementTrackInfo (tBTRCoreHandle hBTRCore, tBTRCoreDevId aBTRCoreDevId, enBTRCoreDeviceType aenBTRCoreDevType, tBTRCoreMediaElementId aBtrMediaElementId, stBTRCoreMediaTrackInfo *apstBTMediaTrackInfo) |
This API is used to retrieve the media track information. More... | |
enBTRCoreRet | BTRCore_GetMediaPositionInfo (tBTRCoreHandle hBTRCore, tBTRCoreDevId aBTRCoreDevId, enBTRCoreDeviceType aenBTRCoreDevType, stBTRCoreMediaPositionInfo *apstBTMediaPositionInfo) |
This API returns the duration and the current position of the media. More... | |
enBTRCoreRet | BTRCore_GetMediaProperty (tBTRCoreHandle hBTRCore, tBTRCoreDevId aBTRCoreDevId, enBTRCoreDeviceType aenBTRCoreDevType, const char *mediaPropertyKey, void *mediaPropertyValue) |
This API returns the media file properties of the Bluetooth device. More... | |
enBTRCoreRet | BTRCore_SetMediaElementActive (tBTRCoreHandle hBTRCore, tBTRCoreDevId aBTRCoreDevId, tBTRCoreMediaElementId aBtrMediaElementId, enBTRCoreDeviceType aenBTRCoreDevType, eBTRCoreMedElementType aeBTRCoreMedElementType) |
This API sets the mentioned media list active/in_scope at the lower to allow further operations on the elements in the list. More... | |
enBTRCoreRet | BTRCore_GetMediaElementList (tBTRCoreHandle hBTRCore, tBTRCoreDevId aBTRCoreDevId, tBTRCoreMediaElementId aBtrMediaElementId, unsigned short aui16BtrMedElementStartIdx, unsigned short aui16BtrMedElementEndIdx, enBTRCoreDeviceType aenBTRCoreDevType, eBTRCoreMedElementType aenBTRCoreMedElementType, stBTRCoreMediaElementInfoList *apstMediaElementListInfo) |
This API returns the mentioned media list. More... | |
enBTRCoreRet | BTRCore_SelectMediaElement (tBTRCoreHandle hBTRCore, tBTRCoreDevId aBTRCoreDevId, tBTRCoreMediaElementId aBtrMediaElementId, enBTRCoreDeviceType aenBTRCoreDevType, eBTRCoreMedElementType aenBTRCoreMedElementType) |
This API performs operation according to the element type selected. More... | |
enBTRCoreRet | BTRCore_GetLEProperty (tBTRCoreHandle hBTRCore, tBTRCoreDevId aBTRCoreDevId, const char *apcBTRCoreLEUuid, enBTRCoreLeProp aenBTRCoreLeProp, void *apvBTRCorePropVal) |
This API returns the Low energy profile device name and address. More... | |
enBTRCoreRet | BTRCore_PerformLEOp (tBTRCoreHandle hBTRCore, tBTRCoreDevId aBTRCoreDevId, const char *apcBTRCoreLEUuid, enBTRCoreLeOp aenBTRCoreLeOp, char *apLeOpArg, char *rpLeOpRes) |
This API is used to perform read, write, notify operations on LE devices. More... | |
enBTRCoreRet | BTRCore_StartAdvertisement (tBTRCoreHandle hBTRCore) |
This API is used to start advertisement registration. More... | |
enBTRCoreRet | BTRCore_StopAdvertisement (tBTRCoreHandle hBTRCore) |
This API is used to stop advertisement registration. More... | |
enBTRCoreRet | BTRCore_SetAdvertisementType (tBTRCoreHandle hBTRCore, char *aAdvtType) |
This API is used to set advertisement type. More... | |
enBTRCoreRet | BTRCore_SetServiceUUIDs (tBTRCoreHandle hBTRCore, char *aUUID) |
This API is used to set service UUIDs. More... | |
enBTRCoreRet | BTRCore_SetManufacturerData (tBTRCoreHandle hBTRCore, unsigned short aManfId, unsigned char *aDeviceDetails, int aLenManfData) |
This API is used to set manufacturer data. More... | |
enBTRCoreRet | BTRCore_SetEnableTxPower (tBTRCoreHandle hBTRCore, BOOLEAN lTxPower) |
This API is used to Enable Tx Power transmission. More... | |
enBTRCoreRet | BTRCore_GetPropertyValue (tBTRCoreHandle hBTRCore, char *aUUID, char *aValue, enBTRCoreLeProp aElement) |
This API is used to Get Property value. More... | |
enBTRCoreRet | BTRCore_SetServiceInfo (tBTRCoreHandle hBTRCore, char *aUUID, BOOLEAN aServiceType) |
This API is used to Set Service Info value. More... | |
enBTRCoreRet | BTRCore_SetGattInfo (tBTRCoreHandle hBTRCore, char *aParentUUID, char *aCharUUID, unsigned short aFlags, char *aValue, enBTRCoreLeProp aElement) |
This API is used to Set Gatt Info value. More... | |
enBTRCoreRet | BTRCore_SetPropertyValue (tBTRCoreHandle hBTRCore, char *aUUID, char *aValue, enBTRCoreLeProp aElement) |
This API is used to Set Property value. More... | |
enBTRCoreRet | BTRCore_RegisterDiscoveryCb (tBTRCoreHandle hBTRCore, fPtr_BTRCore_DeviceDiscCb afpcBBTRCoreDeviceDiscovery, void *apUserData) |
enBTRCoreRet | BTRCore_RegisterStatusCb (tBTRCoreHandle hBTRCore, fPtr_BTRCore_StatusCb afpcBBTRCoreStatus, void *apUserData) |
enBTRCoreRet | BTRCore_RegisterMediaStatusCb (tBTRCoreHandle hBTRCore, fPtr_BTRCore_MediaStatusCb afpcBBTRCoreMediaStatus, void *apUserData) |
enBTRCoreRet | BTRCore_RegisterConnectionIntimationCb (tBTRCoreHandle hBTRCore, fPtr_BTRCore_ConnIntimCb afpcBBTRCoreConnAuth, void *apUserData) |
enBTRCoreRet | BTRCore_RegisterConnectionAuthenticationCb (tBTRCoreHandle hBTRCore, fPtr_BTRCore_ConnAuthCb afpcBBTRCoreConnAuth, void *apUserData) |
enBTRCoreRet | BTRCore_AVMedia_Init (tBTRCoreAVMediaHdl *phBTRCoreAVM, void *apBtConn, const char *apBtAdapter) |
This API Initializes the media device by registering both source and sink. More... | |
enBTRCoreRet | BTRCore_AVMedia_DeInit (tBTRCoreAVMediaHdl hBTRCoreAVM, void *apBtConn, const char *apBtAdapter) |
This API DeInitializes the media device by unregistering both source and sink. More... | |
enBTRCoreRet | BTRCore_AVMedia_GetCurMediaInfo (tBTRCoreAVMediaHdl hBTRCoreAVM, const char *apBtDevAddr, stBTRCoreAVMediaInfo *apstBtrCoreAVMediaInfo) |
This API gets current media information of the media device by unregistering both source and sink. More... | |
enBTRCoreRet | BTRCore_AVMedia_AcquireDataPath (tBTRCoreAVMediaHdl hBTRCoreAVM, const char *apBtDevAddr, int *apDataPath, int *apDataReadMTU, int *apDataWriteMTU, unsigned int *apui32Delay) |
This API acquires the data path and MTU of a media device. More... | |
enBTRCoreRet | BTRCore_AVMedia_ReleaseDataPath (tBTRCoreAVMediaHdl hBTRCoreAVM, const char *apBtDevAddr) |
This API releases the acquired data path of the media device. More... | |
enBTRCoreRet | BTRCore_AVMedia_MediaControl (tBTRCoreAVMediaHdl hBTRCoreAVM, const char *apBtDevAddr, enBTRCoreAVMediaCtrl aenBTRCoreAVMediaCtrl, eBTRCoreAVMediaFlow aenBTRCoreAVMediaFlow, stBTRCoreAVMediaCtData *apstBTRCoreAVMediaCtrlData) |
This API is used to control the media device. BTRCore_MediaControl() invokes this API. More... | |
enBTRCoreRet | BTRCore_AVMedia_GetTrackInfo (tBTRCoreAVMediaHdl hBTRCoreAVM, const char *apBtDevAddr, stBTRCoreAVMediaTrackInfo *apstBTAVMediaTrackInfo) |
This API is used to retrieve the information about the track that is being played on the media device. More... | |
enBTRCoreRet | BTRCore_AVMedia_GetElementTrackInfo (tBTRCoreAVMediaHdl hBTRCoreAVM, const char *apBtDevAddr, tBTRCoreAVMediaElementId aBtrAVMediaElementId, stBTRCoreAVMediaTrackInfo *apstBTAVMediaTrackInfo) |
This API is used to retrieve the information about the track that is being played on the media device. More... | |
enBTRCoreRet | BTRCore_AVMedia_GetPositionInfo (tBTRCoreAVMediaHdl hBTRCoreAVM, const char *apBtDevAddr, stBTRCoreAVMediaPositionInfo *apstBTAVMediaPositionInfo) |
This API is used to retrieve the position information about the media device. More... | |
enBTRCoreRet | BTRCore_AVMedia_GetMediaProperty (tBTRCoreAVMediaHdl hBTRCoreAVM, const char *apBtDevAddr, const char *mediaPropertyKey, void *mediaPropertyValue) |
This API is used to get media property value using the device address and media property key. More... | |
enBTRCoreRet | BTRCore_AVMedia_ChangeBrowserLocation (tBTRCoreAVMediaHdl hBTRCoreAVM, const char *apBtDevAddr, tBTRCoreAVMediaElementId aBtrAVMediaElementId, eBTRCoreAVMElementType aeBtrAVMElementType) |
This API is used to change the media browsing location in the connected AudioIn device. More... | |
enBTRCoreRet | BTRCore_AVMedia_SelectMediaBrowserElements (tBTRCoreAVMediaHdl hBTRCoreAVM, const char *apBtDevAddr, unsigned short aui16StartIdx, unsigned short aui16EndIdx) |
This API is used to List(implicitly) the media elements in the current browsing location of the connected AudioIn device. More... | |
enBTRCoreRet | BTRCore_AVMedia_GetMediaElementList (tBTRCoreAVMediaHdl hBTRCoreAVM, const char *apBtDevAddr, tBTRCoreAVMediaElementId aBtrAVMediaElementId, unsigned short aui16StartIdx, unsigned short aui16EndIdx, eBTRCoreAVMElementType aeBtrAVMElementType, stBTRCoreAVMediaElementInfoList *aAVMediaElementInfoList) |
This API is used to fetch the media item list. More... | |
enBTRCoreRet | BTRCore_AVMedia_PlayTrack (tBTRCoreAVMediaHdl hBTRCoreAVM, const char *apBtDevAddr, tBTRCoreAVMediaElementId aBtrAVMediaElementId) |
This API starts playing the mentioned media item. More... | |
enBTRCoreRet | BTRCore_AVMedia_SelectTrack (tBTRCoreAVMediaHdl hBTRCoreAVM, const char *apBtDevAddr, tBTRCoreAVMediaElementId aBtrAVMediaElementId) |
This API select track the mentioned media item. More... | |
enBTRCoreRet | BTRCore_AVMedia_IsMediaElementPlayable (tBTRCoreAVMediaHdl hBTRCoreAVM, const char *apBtDevAddr, tBTRCoreAVMediaElementId aBtrAVMediaElementId, char *isPlayable) |
This API is used to find if a MediaElement is Playable or Non-Playable. More... | |
enBTRCoreRet | BTRCore_AVMedia_RegisterMediaStatusUpdateCb (tBTRCoreAVMediaHdl hBTRCoreAVM, fPtr_BTRCore_AVMediaStatusUpdateCb afpcBBTRCoreAVMediaStatusUpdate, void *apcBMediaStatusUserData) |
enBTRCoreRet | BTRCore_LE_Init (tBTRCoreLeHdl *phBTRCoreLe, void *apBtConn, const char *apBtAdapter) |
This API registers the callback function that has to be called when the LE device are added or removed. More... | |
enBTRCoreRet | BTRCore_LE_DeInit (tBTRCoreLeHdl hBTRCoreLe, void *apBtConn, const char *apBtAdapter) |
This API deinitializes the LE device. More... | |
enBTRCoreRet | BTRCore_LE_GetGattProperty (tBTRCoreLeHdl hBTRCoreLe, tBTRCoreDevId atBTRCoreDevId, const char *apBtUuid, enBTRCoreLEGattProp aenBTRCoreLEGattProp, void *apBtPropValue) |
This API fetches the GATT property value that is supported. More... | |
enBTRCoreRet | BtrCore_LE_PerformGattOp (tBTRCoreLeHdl hBTRCoreLe, tBTRCoreDevId atBTRCoreDevId, const char *apBtUuid, enBTRCoreLEGattOp aenBTRCoreLEGattOp, char *apLeOpArg, char *rpLeOpRes) |
This API is used to perform read, write, notify operations on LE devices. More... | |
enBTRCoreRet | BTRCore_LE_StartAdvertisement (tBTRCoreLeHdl hBTRCoreLe, void *apBtConn, const char *apBtAdapter) |
This API is used to invoke method calls to RegisterAdvertisement and RegisterApplication to begin LE advertising. More... | |
enBTRCoreRet | BTRCore_LE_SetAdvertisementType (tBTRCoreLeHdl hBTRCoreLe, char *aAdvtType) |
This API is used to store the advertisement type supported by device. More... | |
enBTRCoreRet | BTRCore_LE_SetServiceUUIDs (tBTRCoreLeHdl hBTRCoreLe, char *aUUID) |
This API is used to store the UUIDs that would be advertised by the device during the advertisement. More... | |
enBTRCoreRet | BTRCore_LE_SetManufacturerData (tBTRCoreLeHdl hBTRCoreLe, unsigned short aManfId, unsigned char *aDeviceDetails, int aLenManfData) |
This API is used to store the manufacturer data to be sent with the advertisement. More... | |
enBTRCoreRet | BTRCore_LE_SetEnableTxPower (tBTRCoreLeHdl hBTRCoreLe, BOOLEAN aTxPower) |
This API is used to enable/disable sending tranmission power with the advertisement data. More... | |
enBTRCoreRet | BTRCore_LE_StopAdvertisement (tBTRCoreLeHdl hBTRCoreLe, void *apBtConn, const char *apBtAdapter) |
This API is used to invoke method calls to UnRegisterAdvertisement and UnRegisterApplication to stop LE advertising. More... | |
int * | BTRCore_LE_AddGattServiceInfo (tBTRCoreLeHdl hBTRCoreLe, const char *apBtAdapter, char *aBtdevAddr, char *aUUID, BOOLEAN aServiceType, int *aNumGattServices) |
This API is used to add service info for the advertisement. More... | |
int * | BTRCore_LE_AddGattCharInfo (tBTRCoreLeHdl hBTRCoreLe, const char *apBtAdapter, char *aBtdevAddr, char *aParentUUID, char *aUUID, unsigned short aCharFlags, char *aValue) |
This API is used to add gatt characteristic info for the advertisement. More... | |
int * | BTRCore_LE_AddGattDescInfo (tBTRCoreLeHdl hBTRCoreLe, const char *apBtAdapter, char *aBtdevAddr, char *aParentUUID, char *aUUID, unsigned short aDescFlags, char *aValue) |
This API is used to add gatt descriptor info for the advertisement. More... | |
enBTRCoreRet | BTRCore_LE_SetPropertyValue (tBTRCoreLeHdl hBTRCoreLe, char *aUUID, char *aValue, enBTRCoreLEGattProp aElement) |
This API Returns the specified property value associated with the UUID. More... | |
enBTRCoreRet | BTRCore_LE_RegisterStatusUpdateCb (tBTRCoreLeHdl hBTRCoreLe, fPtr_BTRCore_LeStatusUpdateCb afPtr_BTRCore_LeStatusUpdateCb, void *apUserData) |
Variables | |
enBTAdapterProp | _unBTOpIfceProp::enBtAdapterProp |
enBTDeviceProp | _unBTOpIfceProp::enBtDeviceProp |
enBTMediaTransportProp | _unBTOpIfceProp::enBtMediaTransportProp |
enBTMediaControlProp | _unBTOpIfceProp::enBtMediaControlProp |
enBTMediaPlayerProp | _unBTOpIfceProp::enBtMediaPlayerProp |
enBTMediaFolderProp | _unBTOpIfceProp::enBtMediaFolderProp |
enBTGattServiceProp | _unBTOpIfceProp::enBtGattServiceProp |
enBTGattCharProp | _unBTOpIfceProp::enBtGattCharProp |
enBTGattDescProp | _unBTOpIfceProp::enBtGattDescProp |
char | _stBTAdapterInfo::pcAddress [256] |
char | _stBTAdapterInfo::pcName [256] |
char | _stBTAdapterInfo::pcAlias [256] |
unsigned int | _stBTAdapterInfo::ui32Class |
int | _stBTAdapterInfo::bPowered |
int | _stBTAdapterInfo::bDiscoverable |
int | _stBTAdapterInfo::bPairable |
unsigned int | _stBTAdapterInfo::ui32PairableTimeout |
unsigned int | _stBTAdapterInfo::ui32DiscoverableTimeout |
int | _stBTAdapterInfo::bDiscovering |
char | _stBTAdapterInfo::ppcUUIDs [32][64] |
char | _stBTAdapterInfo::pcModalias [256] |
char | _stBTAdapterInfo::pcPath [64] |
char | _stBTAdServiceData::pcUUIDs [64] |
uint8_t | _stBTAdServiceData::pcData [32] |
size_t | _stBTAdServiceData::len |
int | _stBTDeviceInfo::bPaired |
int | _stBTDeviceInfo::bConnected |
int | _stBTDeviceInfo::bTrusted |
int | _stBTDeviceInfo::bBlocked |
int | _stBTDeviceInfo::bServiceResolved |
unsigned short | _stBTDeviceInfo::ui16Vendor |
unsigned short | _stBTDeviceInfo::ui16VendorSource |
unsigned short | _stBTDeviceInfo::ui16Product |
unsigned short | _stBTDeviceInfo::ui16Version |
unsigned int | _stBTDeviceInfo::ui32Class |
int | _stBTDeviceInfo::i32RSSI |
unsigned short | _stBTDeviceInfo::ui16Appearance |
char | _stBTDeviceInfo::pcName [256] |
char | _stBTDeviceInfo::pcAddress [256] |
char | _stBTDeviceInfo::pcAlias [256] |
char | _stBTDeviceInfo::pcIcon [256] |
char | _stBTDeviceInfo::aUUIDs [32][64] |
char | _stBTDeviceInfo::pcDevicePrevState [256] |
char | _stBTDeviceInfo::pcDeviceCurrState [256] |
char | _stBTDeviceInfo::pcDevicePath [64] |
stBTAdServiceData | _stBTDeviceInfo::saServices [32] |
unsigned short | _stBTPairedDeviceInfo::numberOfDevices |
char | _stBTPairedDeviceInfo::devicePath [32][64] |
stBTDeviceInfo | _stBTPairedDeviceInfo::deviceInfo [32] |
unsigned int | _stBTDeviceSupportedService::uuid_value |
char | _stBTDeviceSupportedService::profile_name [256] |
int | _stBTDeviceSupportedServiceList::numberOfService |
stBTDeviceSupportedService | _stBTDeviceSupportedServiceList::profile [32] |
char | _stBTMediaTrackInfo::pcAlbum [256] |
char | _stBTMediaTrackInfo::pcGenre [256] |
char | _stBTMediaTrackInfo::pcTitle [256] |
char | _stBTMediaTrackInfo::pcArtist [256] |
unsigned int | _stBTMediaTrackInfo::ui32TrackNumber |
unsigned int | _stBTMediaTrackInfo::ui32Duration |
unsigned int | _stBTMediaTrackInfo::ui32NumberOfTracks |
enBTOpIfceType | _stBTMediaStatusUpdate::aenBtOpIfceType |
unBTOpIfceProp | _stBTMediaStatusUpdate::aunBtOpIfceProp |
enBTMediaTransportState | _stBTMediaStatusUpdate::m_mediaTransportState |
unsigned char | _stBTMediaStatusUpdate::m_mediaTransportVolume |
enBTMediaPlayerType | _stBTMediaStatusUpdate::enMediaPlayerType |
enBTMediaPlayerSubtype | _stBTMediaStatusUpdate::enMediaPlayerSubtype |
enBTMediaPlayerEqualizer | _stBTMediaStatusUpdate::enMediaPlayerEqualizer |
enBTMediaPlayerShuffle | _stBTMediaStatusUpdate::enMediaPlayerShuffle |
enBTMediaPlayerScan | _stBTMediaStatusUpdate::enMediaPlayerScan |
enBTMediaPlayerRepeat | _stBTMediaStatusUpdate::enMediaPlayerRepeat |
enBTMediaPlayerStatus | _stBTMediaStatusUpdate::enMediaPlayerStatus |
unsigned char | _stBTMediaStatusUpdate::m_mediaPlayerBrowsable |
unsigned char | _stBTMediaStatusUpdate::m_mediaPlayerSearchable |
unsigned char | _stBTMediaStatusUpdate::m_mediaPlayerConnected |
unsigned int | _stBTMediaStatusUpdate::m_mediaPlayerPosition |
stBTMediaTrackInfo | _stBTMediaStatusUpdate::m_mediaTrackInfo |
char | _stBTMediaStatusUpdate::m_mediaPlayerPath [256] |
char | _stBTMediaStatusUpdate::m_mediaPlayerName [256] |
char | _stBTMediaStatusUpdate::m_mediaFolderName [256] |
unsigned int | _stBTMediaStatusUpdate::m_mediaFolderNumberOfItems |
union { | |
enBTMediaTransportState | m_mediaTransportState |
unsigned char | m_mediaTransportVolume |
enBTMediaPlayerType | enMediaPlayerType |
enBTMediaPlayerSubtype | enMediaPlayerSubtype |
enBTMediaPlayerEqualizer | enMediaPlayerEqualizer |
enBTMediaPlayerShuffle | enMediaPlayerShuffle |
enBTMediaPlayerScan | enMediaPlayerScan |
enBTMediaPlayerRepeat | enMediaPlayerRepeat |
enBTMediaPlayerStatus | enMediaPlayerStatus |
unsigned char | m_mediaPlayerBrowsable |
unsigned char | m_mediaPlayerSearchable |
unsigned char | m_mediaPlayerConnected |
unsigned int | m_mediaPlayerPosition |
stBTMediaTrackInfo | m_mediaTrackInfo |
char | m_mediaPlayerPath [256] |
char | m_mediaPlayerName [256] |
char | m_mediaFolderName [256] |
unsigned int | m_mediaFolderNumberOfItems |
}; | |
char | _stBTMediaBrowserUpdate::pcMediaItemName [256] |
char | _stBTMediaBrowserUpdate::pcMediaItemPath [256] |
enBTMediaItemType | _stBTMediaBrowserUpdate::eMediaItemType |
enBTMediaFolderType | _stBTMediaBrowserUpdate::eMediaFolderType |
tBTMediaItemId | _stBTMediaBrowserUpdate::ui32BTMediaItemId |
unsigned int | _stBTMediaBrowserUpdate::ui32NumberOfItems |
stBTMediaTrackInfo | _stBTMediaBrowserUpdate::mediaTrackInfo |
char | _stBTLeGattDesc::descPath [256] |
char | _stBTLeGattDesc::descUuid [64] |
unsigned short | _stBTLeGattDesc::descFlags |
char | _stBTLeGattDesc::propertyValue [256 *3] |
char | _stBTLeGattChar::charPath [256] |
char | _stBTLeGattChar::charUuid [64] |
stBTLeGattDesc | _stBTLeGattChar::atBTRGattDesc [4] |
unsigned short | _stBTLeGattChar::ui16NumberOfGattDesc |
unsigned short | _stBTLeGattChar::charFlags |
char | _stBTLeGattChar::value [256 *3] |
char | _stBTLeGattService::servicePath [256] |
char | _stBTLeGattService::serviceUuid [64] |
unsigned char | _stBTLeGattService::serviceType |
stBTLeGattChar | _stBTLeGattService::astBTRGattChar [10] |
unsigned short | _stBTLeGattService::ui16NumberOfGattChar |
stBTLeGattService | _stBTLeGattInfo::astBTRGattService [4] |
int | _stBTLeGattInfo::nNumGattServices |
unsigned short | _stBTLeManfData::ManfID |
unsigned int | _stBTLeManfData::lenManfData |
unsigned char | _stBTLeManfData::data [256 *3] |
char | _stBTLeServData::UUID [256] |
uint8_t | _stBTLeServData::data [256 *3] |
char | _stBTLeCustomAdv::pui8AdvertPath [256] |
char | _stBTLeCustomAdv::AdvertisementType [256] |
char | _stBTLeCustomAdv::ServiceUUID [4][256] |
int | _stBTLeCustomAdv::numServiceUUID |
char | _stBTLeCustomAdv::SolicitUUID [4][256] |
int | _stBTLeCustomAdv::numSolicitUUID |
stBTLeManfData | _stBTLeCustomAdv::ManfData |
stBTLeServData | _stBTLeCustomAdv::ServiceData |
unsigned char | _stBTLeCustomAdv::bTxPower |
int(* | p_ConnAuth_callback )() |
unsigned char | _stBTRCoreGetAdapters::number_of_adapters |
unsigned char | _stBTRCoreListAdapters::number_of_adapters |
BD_NAME | _stBTRCoreListAdapters::adapter_path [4] |
BD_NAME | _stBTRCoreListAdapters::adapterAddr [4] |
BD_ADDR | _stBTRCoreFilterMode::bd_address |
BD_NAME | _stBTRCoreFilterMode::service_name |
UUID | _stBTRCoreFilterMode::uuid |
tBTRCoreDevId | _stBTRCoreDevStatusCBInfo::deviceId |
BD_NAME | _stBTRCoreDevStatusCBInfo::deviceName |
char | _stBTRCoreDevStatusCBInfo::deviceAddress [256] |
enBTRCoreDeviceType | _stBTRCoreDevStatusCBInfo::eDeviceType |
enBTRCoreDeviceClass | _stBTRCoreDevStatusCBInfo::eDeviceClass |
enBTRCoreDeviceState | _stBTRCoreDevStatusCBInfo::eDevicePrevState |
enBTRCoreDeviceState | _stBTRCoreDevStatusCBInfo::eDeviceCurrState |
unsigned char | _stBTRCoreDevStatusCBInfo::isPaired |
unsigned int | _stBTRCoreDevStatusCBInfo::ui32DevClassBtSpec |
char | _stBTRCoreDevStatusCBInfo::uuid [64] |
char | _stBTRCoreDevStatusCBInfo::devOpResponse [256 *3] |
enBTRCoreLeProp | _stBTRCoreDevStatusCBInfo::eCoreLeProp |
enBTRCoreLeOp | _stBTRCoreDevStatusCBInfo::eCoreLeOper |
unsigned int | _stBTRCoreSupportedService::uuid_value |
BD_NAME | _stBTRCoreSupportedService::profile_name |
int | _stBTRCoreSupportedServiceList::numberOfService |
stBTRCoreSupportedService | _stBTRCoreSupportedServiceList::profile [32] |
char | _stBTRCoreAdServiceData::pcUUIDs [64] |
unsigned char | _stBTRCoreAdServiceData::pcData [32] |
unsigned int | _stBTRCoreAdServiceData::len |
unsigned char | _stBTRCoreAdapter::adapter_number |
char * | _stBTRCoreAdapter::pcAdapterPath |
char * | _stBTRCoreAdapter::pcAdapterDevName |
BOOLEAN | _stBTRCoreAdapter::enable |
BOOLEAN | _stBTRCoreAdapter::discoverable |
BOOLEAN | _stBTRCoreAdapter::bFirstAvailable |
unsigned int | _stBTRCoreAdapter::DiscoverableTimeout |
BOOLEAN | _stBTRCoreAdapter::bDiscovering |
tBTRCoreDevId | _stBTRCoreBTDevice::tDeviceId |
enBTRCoreDeviceClass | _stBTRCoreBTDevice::enDeviceType |
BOOLEAN | _stBTRCoreBTDevice::bFound |
BOOLEAN | _stBTRCoreBTDevice::bDeviceConnected |
int | _stBTRCoreBTDevice::i32RSSI |
unsigned int | _stBTRCoreBTDevice::ui32VendorId |
unsigned int | _stBTRCoreBTDevice::ui32DevClassBtSpec |
char | _stBTRCoreBTDevice::pcDeviceName [64 - 1+1] |
char | _stBTRCoreBTDevice::pcDeviceAddress [64 - 1+1] |
char | _stBTRCoreBTDevice::pcDevicePath [64 - 1+1] |
stBTRCoreSupportedServiceList | _stBTRCoreBTDevice::stDeviceProfile |
stBTRCoreAdServiceData | _stBTRCoreBTDevice::stAdServiceData [32] |
int | _stBTRCoreScannedDevicesCount::numberOfDevices |
stBTRCoreBTDevice | _stBTRCoreScannedDevicesCount::devices [64] |
int | _stBTRCorePairedDevicesCount::numberOfDevices |
stBTRCoreBTDevice | _stBTRCorePairedDevicesCount::devices [64] |
unsigned int | _stBTRCoreConnCBInfo::ui32devPassKey |
unsigned char | _stBTRCoreConnCBInfo::ucIsReqConfirmation |
char | _stBTRCoreConnCBInfo::cConnAuthDeviceName [64] |
stBTRCoreBTDevice | _stBTRCoreConnCBInfo::stFoundDevice |
stBTRCoreBTDevice | _stBTRCoreConnCBInfo::stKnownDevice |
union { | |
stBTRCoreBTDevice | stFoundDevice |
stBTRCoreBTDevice | stKnownDevice |
}; | |
eBTRCoreDevMediaAChan | _stBTRCoreDevMediaPcmInfo::eDevMAChan |
unsigned int | _stBTRCoreDevMediaPcmInfo::ui32DevMSFreq |
unsigned int | _stBTRCoreDevMediaPcmInfo::ui32DevMSFmt |
eBTRCoreDevMediaAChan | _stBTRCoreDevMediaSbcInfo::eDevMAChan |
unsigned int | _stBTRCoreDevMediaSbcInfo::ui32DevMSFreq |
unsigned char | _stBTRCoreDevMediaSbcInfo::ui8DevMSbcAllocMethod |
unsigned char | _stBTRCoreDevMediaSbcInfo::ui8DevMSbcSubbands |
unsigned char | _stBTRCoreDevMediaSbcInfo::ui8DevMSbcBlockLength |
unsigned char | _stBTRCoreDevMediaSbcInfo::ui8DevMSbcMinBitpool |
unsigned char | _stBTRCoreDevMediaSbcInfo::ui8DevMSbcMaxBitpool |
unsigned short | _stBTRCoreDevMediaSbcInfo::ui16DevMSbcFrameLen |
unsigned short | _stBTRCoreDevMediaSbcInfo::ui16DevMSbcBitrate |
eBTRCoreDevMediaAChan | _stBTRCoreDevMediaMpegInfo::eDevMAChan |
unsigned int | _stBTRCoreDevMediaMpegInfo::ui32DevMSFreq |
unsigned char | _stBTRCoreDevMediaMpegInfo::ui8DevMMpegCrc |
unsigned char | _stBTRCoreDevMediaMpegInfo::ui8DevMMpegLayer |
unsigned char | _stBTRCoreDevMediaMpegInfo::ui8DevMMpegMpf |
unsigned char | _stBTRCoreDevMediaMpegInfo::ui8DevMMpegRfa |
unsigned short | _stBTRCoreDevMediaMpegInfo::ui16DevMMpegFrameLen |
unsigned short | _stBTRCoreDevMediaMpegInfo::ui16DevMMpegBitrate |
eBTRCoreDevMediaType | _stBTRCoreDevMediaInfo::eBtrCoreDevMType |
void * | _stBTRCoreDevMediaInfo::pstBtrCoreDevMCodecInfo |
char | _stBTRCoreMediaTrackInfo::pcAlbum [256] |
char | _stBTRCoreMediaTrackInfo::pcGenre [256] |
char | _stBTRCoreMediaTrackInfo::pcTitle [256] |
char | _stBTRCoreMediaTrackInfo::pcArtist [256] |
unsigned int | _stBTRCoreMediaTrackInfo::ui32TrackNumber |
unsigned int | _stBTRCoreMediaTrackInfo::ui32Duration |
unsigned int | _stBTRCoreMediaTrackInfo::ui32NumberOfTracks |
unsigned int | _stBTRCoreMediaPositionInfo::ui32Duration |
unsigned int | _stBTRCoreMediaPositionInfo::ui32Position |
eBTRCoreMedElementType | _stBTRCoreMediaElementInfo::eAVMedElementType |
tBTRCoreMediaElementId | _stBTRCoreMediaElementInfo::ui32MediaElementId |
unsigned char | _stBTRCoreMediaElementInfo::bIsPlayable |
char | _stBTRCoreMediaElementInfo::m_mediaElementName [256] |
stBTRCoreMediaTrackInfo | _stBTRCoreMediaElementInfo::m_mediaTrackInfo |
unsigned short | _stBTRCoreMediaElementInfoList::m_numOfElements |
stBTRCoreMediaElementInfo | _stBTRCoreMediaElementInfoList::m_mediaElementInfo [64] |
eBTRCoreMediaStatusUpdate | _stBTRCoreMediaStatusUpdate::eBTMediaStUpdate |
BOOLEAN | _stBTRCoreMediaStatusUpdate::bIsMediaCtrlAvailable |
stBTRCoreMediaTrackInfo | _stBTRCoreMediaStatusUpdate::m_mediaTrackInfo |
stBTRCoreMediaPositionInfo | _stBTRCoreMediaStatusUpdate::m_mediaPositionInfo |
stBTRCoreMediaElementInfo | _stBTRCoreMediaStatusUpdate::m_mediaElementInfo |
char | _stBTRCoreMediaStatusUpdate::m_mediaPlayerName [256] |
unsigned char | _stBTRCoreMediaStatusUpdate::m_mediaPlayerVolume |
union { | |
stBTRCoreMediaTrackInfo | m_mediaTrackInfo |
stBTRCoreMediaPositionInfo | m_mediaPositionInfo |
stBTRCoreMediaElementInfo | m_mediaElementInfo |
char | m_mediaPlayerName [256] |
unsigned char | m_mediaPlayerVolume |
}; | |
tBTRCoreDevId | _stBTRCoreMediaStatusCBInfo::deviceId |
BD_NAME | _stBTRCoreMediaStatusCBInfo::deviceName |
enBTRCoreDeviceClass | _stBTRCoreMediaStatusCBInfo::eDeviceClass |
stBTRCoreMediaStatusUpdate | _stBTRCoreMediaStatusCBInfo::m_mediaStatusUpdate |
unsigned char | _stBTRCoreMediaCtData::m_mediaAbsoluteVolume |
unsigned short | _stBTRCoreUUID::flags |
char | _stBTRCoreUUID::uuid [64] |
unsigned char | _stBTRCoreUUIDList::numberOfUUID |
stBTRCoreUUID | _stBTRCoreUUIDList::uuidList [32] |
enBTRCoreOpType | _stBTRCoreDiscoveryCBInfo::type |
stBTRCoreAdapter | _stBTRCoreDiscoveryCBInfo::adapter |
stBTRCoreBTDevice | _stBTRCoreDiscoveryCBInfo::device |
eBTRCoreAVMAChan | _stBTRMgrAVMediaPcmInfo::eAVMAChan |
unsigned int | _stBTRMgrAVMediaPcmInfo::ui32AVMAChan |
unsigned int | _stBTRMgrAVMediaPcmInfo::ui32AVMSFreq |
unsigned int | _stBTRMgrAVMediaPcmInfo::ui32AVMSFmt |
eBTRCoreAVMAChan | _stBTRCoreAVMediaSbcInfo::eAVMAChan |
unsigned int | _stBTRCoreAVMediaSbcInfo::ui32AVMAChan |
unsigned int | _stBTRCoreAVMediaSbcInfo::ui32AVMSFreq |
unsigned char | _stBTRCoreAVMediaSbcInfo::ui8AVMSbcAllocMethod |
unsigned char | _stBTRCoreAVMediaSbcInfo::ui8AVMSbcSubbands |
unsigned char | _stBTRCoreAVMediaSbcInfo::ui8AVMSbcBlockLength |
unsigned char | _stBTRCoreAVMediaSbcInfo::ui8AVMSbcMinBitpool |
unsigned char | _stBTRCoreAVMediaSbcInfo::ui8AVMSbcMaxBitpool |
unsigned short | _stBTRCoreAVMediaSbcInfo::ui16AVMSbcFrameLen |
unsigned short | _stBTRCoreAVMediaSbcInfo::ui16AVMSbcBitrate |
eBTRCoreAVMAChan | _stBTRCoreAVMediaMpegInfo::eAVMAChan |
unsigned int | _stBTRCoreAVMediaMpegInfo::ui32AVMAChan |
unsigned int | _stBTRCoreAVMediaMpegInfo::ui32AVMSFreq |
unsigned char | _stBTRCoreAVMediaMpegInfo::ui8AVMMpegCrc |
unsigned char | _stBTRCoreAVMediaMpegInfo::ui8AVMMpegVersion |
unsigned char | _stBTRCoreAVMediaMpegInfo::ui8AVMMpegLayer |
unsigned char | _stBTRCoreAVMediaMpegInfo::ui8AVMMpegType |
unsigned char | _stBTRCoreAVMediaMpegInfo::ui8AVMMpegMpf |
unsigned char | _stBTRCoreAVMediaMpegInfo::ui8AVMMpegRfa |
unsigned short | _stBTRCoreAVMediaMpegInfo::ui16AVMMpegFrameLen |
unsigned short | _stBTRCoreAVMediaMpegInfo::ui16AVMMpegBitrate |
eBTRCoreAVMType | _stBTRCoreAVMediaInfo::eBtrCoreAVMType |
eBTRCoreAVMediaFlow | _stBTRCoreAVMediaInfo::eBtrCoreAVMFlow |
void * | _stBTRCoreAVMediaInfo::pstBtrCoreAVMCodecInfo |
char | _stBTRCoreAVMediaTrackInfo::pcAlbum [256] |
char | _stBTRCoreAVMediaTrackInfo::pcGenre [256] |
char | _stBTRCoreAVMediaTrackInfo::pcTitle [256] |
char | _stBTRCoreAVMediaTrackInfo::pcArtist [256] |
unsigned int | _stBTRCoreAVMediaTrackInfo::ui32TrackNumber |
unsigned int | _stBTRCoreAVMediaTrackInfo::ui32Duration |
unsigned int | _stBTRCoreAVMediaTrackInfo::ui32NumberOfTracks |
unsigned int | _stBTRCoreAVMediaPositionInfo::ui32Duration |
unsigned int | _stBTRCoreAVMediaPositionInfo::ui32Position |
eBTRCoreAVMElementType | _stBTRCoreAVMediaElementInfo::eAVMElementType |
tBTRCoreAVMediaElementId | _stBTRCoreAVMediaElementInfo::ui32AVMediaElementId |
unsigned char | _stBTRCoreAVMediaElementInfo::bIsPlayable |
char | _stBTRCoreAVMediaElementInfo::m_mediaElementName [256] |
stBTRCoreAVMediaTrackInfo | _stBTRCoreAVMediaElementInfo::m_mediaTrackInfo |
unsigned short | _stBTRCoreAVMediaElementInfoList::m_numOfElements |
stBTRCoreAVMediaElementInfo | _stBTRCoreAVMediaElementInfoList::m_mediaElementInfo [64] |
eBTRCoreAVMediaStatusUpdate | _stBTRCoreAVMediaStatusUpdate::eAVMediaState |
eBTRCoreAVMediaFlow | _stBTRCoreAVMediaStatusUpdate::eAVMediaDataFlow |
unsigned char | _stBTRCoreAVMediaStatusUpdate::bIsAVMediaCtrlAvail |
stBTRCoreAVMediaTrackInfo | _stBTRCoreAVMediaStatusUpdate::m_mediaTrackInfo |
stBTRCoreAVMediaPositionInfo | _stBTRCoreAVMediaStatusUpdate::m_mediaPositionInfo |
stBTRCoreAVMediaElementInfo | _stBTRCoreAVMediaStatusUpdate::m_mediaElementInfo |
char | _stBTRCoreAVMediaStatusUpdate::m_mediaPlayerName [256] |
unsigned char | _stBTRCoreAVMediaStatusUpdate::m_mediaPlayerTransportVolume |
union { | |
stBTRCoreAVMediaTrackInfo | m_mediaTrackInfo |
stBTRCoreAVMediaPositionInfo | m_mediaPositionInfo |
stBTRCoreAVMediaElementInfo | m_mediaElementInfo |
char | m_mediaPlayerName [256] |
unsigned char | m_mediaPlayerTransportVolume |
}; | |
unsigned char | _stBTRCoreAVMediaCtData::m_mediaAbsTransportVolume |
enBTRCoreLEGattOp | _stBTRCoreLeGattInfo::enLeOper |
enBTRCoreLEGattProp | _stBTRCoreLeGattInfo::enLeProp |
char * | _stBTRCoreLeGattInfo::pui8Uuid |
char * | _stBTRCoreLeGattInfo::pui8Value |
void* BtrCore_BTInitGetConnection | ( | void | ) |
This API Initializes the Bluetooth core and fetches DBus connection and returns a handle to the instance.
This handle will be used in all future communication with the Bluetooth core.
Returns | NULL if DBus connection establishment fails. |
Definition at line 1160 of file btrCore_dbus_bluez4.c.
int BtrCore_BTDeInitReleaseConnection | ( | void * | apBtConn | ) |
This API DeInitializes the Bluetooth core and releases the DBus connection.
This handle will be used in all future communication with the Bluetooth core. This function will release the memory allocated toBT Adapters & BT agent.
[in] | apBtConn | The Dbus connection handle as returned by BtrCore_BTInitGetConnection. NULL is valid for this API. |
Returns | 0 on success, appropriate error code otherwise. |
Definition at line 1203 of file btrCore_dbus_bluez4.c.
char* BtrCore_BTGetAgentPath | ( | void * | apBtConn | ) |
Using this API, a default Path is assigned to the Bluetooth Agent.
[in] | apBtConn | The Dbus connection handle as returned by BtrCore_BTInitGetConnection. NULL is valid for this API. |
Definition at line 1249 of file btrCore_dbus_bluez4.c.
int BtrCore_BTReleaseAgentPath | ( | void * | apBtConn | ) |
Using this API the path assigned to the Bluetooth Agent is released.
[in] | apBtConn | The Dbus connection handle as returned by BtrCore_BTInitGetConnection. NULL is valid for this API. |
Returns | 0 on success, appropriate error code otherwise. |
Definition at line 1270 of file btrCore_dbus_bluez4.c.
int BtrCore_BTRegisterAgent | ( | void * | apBtConn, |
const char * | apBtAdapter, | ||
const char * | apBtAgentPath, | ||
const char * | capabilities | ||
) |
using this API, DBus object path is registered with bluetooth agent path and current adapter's path.
[in] | apBtConn | The Dbus connection handle as returned by BtrCore_BTInitGetConnection. |
[in] | apBtAdapter | The current bluetooth Adapter path. |
[in] | apBtAgentPath | The bluetooth agent path. |
[in] | capabilities | Bluetooth core capabilities. |
Returns | 0 on success, appropriate error code otherwise. |
Definition at line 1286 of file btrCore_dbus_bluez4.c.
int BtrCore_BTUnregisterAgent | ( | void * | apBtConn, |
const char * | apBtAdapter, | ||
const char * | apBtAgentPath | ||
) |
Using this API, DBus object path is unregistered with bluetooth agent path and current adapter's path.
[in] | apBtConn | The Dbus connection handle as returned by BtrCore_BTInitGetConnection. |
[in] | apBtAdapter | The current bluetooth Adapter path. |
[in] | apBtAgentPath | The bluetooth agent path. |
Returns | 0 on success, appropriate error code otherwise. |
Definition at line 1336 of file btrCore_dbus_bluez4.c.
int BtrCore_BTGetAdapterList | ( | void * | apBtConn, |
unsigned int * | apBtNumAdapters, | ||
char * | apcArrBtAdapterPath[4] | ||
) |
This API obtains adapter list from Dbus object path.
[in] | apBtConn | The Dbus connection handle as returned by BtrCore_BTInitGetConnection. |
[out] | apBtNumAdapters | Total number of bluetooth adapters available. |
[out] | apcArrBtAdapterPath | Array of bluetooth adapter paths. |
Returns | 0 on success, appropriate error code otherwise. |
char* BtrCore_BTGetAdapterPath | ( | void * | apBtConn, |
const char * | apBtAdapter | ||
) |
Using this API adapter path is fetched from Dbus object path.
[in] | apBtConn | The Dbus connection handle as returned by BtrCore_BTInitGetConnection. NULL is valid for this API. |
[in] | apBtAdapter | Current bluetooth adapter whose path has to be fetched. |
Definition at line 1438 of file btrCore_dbus_bluez4.c.
int BtrCore_BTReleaseAdapterPath | ( | void * | apBtConn, |
const char * | apBtAdapter | ||
) |
Using this API the path assigned to the current Bluetooth Adapter is released.
[in] | apBtConn | The Dbus connection handle as returned by BtrCore_BTInitGetConnection. NULL is valid for this API. |
[in] | apBtAdapter | Current bluetooth adapter whose path has to be released. |
Returns | 0 on success, appropriate error code otherwise. |
Definition at line 1499 of file btrCore_dbus_bluez4.c.
int BtrCore_BTGetIfceNameVersion | ( | void * | apBtConn, |
char * | apBtOutIfceName, | ||
char * | apBtOutVersion | ||
) |
using this API, Bluetooth interface version is obtained from bluetooth daemon of the kernel and default name "Bluez" is assigned as interface name.
[in] | apBtConn | The Dbus connection handle as returned by BtrCore_BTInitGetConnection. NULL is valid for this API. |
[out] | apBtOutIfceName | Bluetooth interface name that has to be fetched. |
[out] | apBtOutVersion | Bluetooth interface version that has to be fetched. |
Returns | 0 on success, appropiate error code otherwise. |
Definition at line 1523 of file btrCore_dbus_bluez4.c.
int BtrCore_BTGetProp | ( | void * | apBtConn, |
const char * | apcOpIfcePath, | ||
enBTOpIfceType | aenBtOpIfceType, | ||
unBTOpIfceProp | aunBtOpIfceProp, | ||
void * | apvVal | ||
) |
This API gets different properties of different BT devices and services.
[in] | apBtConn | The Dbus connection handle as returned by BtrCore_BTInitGetConnection. NULL is valid for this API. |
[in] | apcOpIfcePath | Bluetooth interface path. |
[in] | aenBtOpIfceType | Bluetooth interface type. |
[in] | aunBtOpIfceProp | Bluetooth interface property whose property value has to be fetched. |
[out] | apvVal | Property value which has to be fetched from Dbus iterator. |
Returns | 0 on success, appropriate error code otherwise. |
Definition at line 1560 of file btrCore_dbus_bluez4.c.
int BtrCore_BTSetProp | ( | void * | apBtConn, |
const char * | apcOpIfcePath, | ||
enBTOpIfceType | aenBtOpIfceType, | ||
unBTOpIfceProp | aunBtOpIfceProp, | ||
void * | apvVal | ||
) |
This API sets different properties of different BT devices and services.
[in] | apBtConn | The Dbus connection handle as returned by BtrCore_BTInitGetConnection. NULL is valid for this API. |
[in] | apcOpIfcePath | Bluetooth interface path. |
[in] | aenBtOpIfceType | Bluetooth interface type. |
[in] | aunBtOpIfceProp | Bluetooth interface property whose property value has to be fetched. |
[in] | apvVal | Property value which has to be set to Dbus iterator. |
Returns | 0 on success, appropriate error code otherwise. |
Definition at line 1737 of file btrCore_dbus_bluez4.c.
int BtrCore_BTStartDiscovery | ( | void * | apBtConn, |
const char * | apBtAdapter, | ||
const char * | apBtAgentPath | ||
) |
This API is used to discover the Bluetooth adapter.
[in] | apBtConn | The Dbus connection handle as returned by BtrCore_BTInitGetConnection. NULL is valid for this API. |
[in] | apBtAdapter | Bluetooth adapter. |
[in] | apBtAgentPath | Bluetooth agent path. |
Returns | 0 on success, appropriate error code otherwise. |
Definition at line 1896 of file btrCore_dbus_bluez4.c.
int BtrCore_BTStopDiscovery | ( | void * | apBtConn, |
const char * | apBtAdapter, | ||
const char * | apBtAgentPath | ||
) |
This API is used to stop discovering Bluetooth adapter.
[in] | apBtConn | The Dbus connection handle as returned by BtrCore_BTInitGetConnection. NULL is valid for this API. |
[in] | apBtAdapter | Bluetooth adapter. |
[in] | apBtAgentPath | Bluetooth agent path. |
Returns | 0 on success, appropriate error code otherwise. |
Definition at line 1931 of file btrCore_dbus_bluez4.c.
int BtrCore_BTStartLEDiscovery | ( | void * | apBtConn, |
const char * | apBtAdapter, | ||
const char * | apBtAgentPath | ||
) |
This API is used to discover the low energy Bluetooth adapter.
[in] | apBtConn | The Dbus connection handle as returned by BtrCore_BTInitGetConnection. NULL is valid for this API. |
[in] | apBtAdapter | Bluetooth adapter. |
[in] | apBtAgentPath | Bluetooth agent path. |
Returns | 0 on success, appropriate error code otherwise. |
Definition at line 1966 of file btrCore_dbus_bluez4.c.
int BtrCore_BTStopLEDiscovery | ( | void * | apBtConn, |
const char * | apBtAdapter, | ||
const char * | apBtAgentPath | ||
) |
This API is used to stop discovering low energy Bluetooth adapter.
[in] | apBtConn | The Dbus connection handle as returned by BtrCore_BTInitGetConnection. NULL is valid for this API. |
[in] | apBtAdapter | Bluetooth adapter. |
[in] | apBtAgentPath | Bluetooth agent path. |
Returns | 0 on success, appropriate error code otherwise. |
Definition at line 1976 of file btrCore_dbus_bluez4.c.
int BtrCore_BTStartClassicDiscovery | ( | void * | apBtConn, |
const char * | apBtAdapter, | ||
const char * | apBtAgentPath | ||
) |
This API is used to discover the Classic Bluetooth Devices.
[in] | apBtConn | The Dbus connection handle as returned by BtrCore_BTInitGetConnection. NULL is valid for this API. |
[in] | apBtAdapter | Bluetooth adapter. |
[in] | apBtAgentPath | Bluetooth agent path. |
Returns | 0 on success, appropriate error code otherwise. |
Definition at line 4523 of file btrCore_dbus_bluez5.c.
int BtrCore_BTStopClassicDiscovery | ( | void * | apBtConn, |
const char * | apBtAdapter, | ||
const char * | apBtAgentPath | ||
) |
This API is used to stop discovering Classic Bluetooth Devices.
[in] | apBtConn | The Dbus connection handle as returned by BtrCore_BTInitGetConnection. NULL is valid for this API. |
[in] | apBtAdapter | Bluetooth adapter. |
[in] | apBtAgentPath | Bluetooth agent path. |
Returns | 0 on success, appropriate error code otherwise. |
Definition at line 4587 of file btrCore_dbus_bluez5.c.
int BtrCore_BTGetPairedDevices | ( | void * | apBtConn, |
const char * | apBtAdapter, | ||
unsigned int * | apui32PairedDevCnt, | ||
char ** | apcArrPairedDevPath | ||
) |
This API fetches all the paired devices' paths and number of paired devices.
[in] | apBtConn | The Dbus connection handle as returned by BtrCore_BTInitGetConnection. NULL is valid for this API. |
[in] | apBtAdapter | Bluetooth adapter. |
[out] | apui32PairedDevCnt | Number of paired devices that are found. |
[out] | apcArrPairedDevPath | Array that stores the device paths of paired devices found. |
Returns | 0 on success, appropriate error code otherwise. |
Definition at line 2040 of file btrCore_dbus_bluez4.c.
int BtrCore_BTGetPairedDeviceInfo | ( | void * | apBtConn, |
const char * | apBtAdapter, | ||
stBTPairedDeviceInfo * | pPairedDeviceInfo | ||
) |
This API fetches all BT paired devices' device information.
[in] | apBtConn | The Dbus connection handle as returned by BtrCore_BTInitGetConnection. NULL is valid for this API. |
[in] | apBtAdapter | Bluetooth adapter. |
[out] | pPairedDeviceInfo | A structure that fetches device information of all the paired devices. |
Returns | 0 on success, appropriate error code otherwise. |
Definition at line 1986 of file btrCore_dbus_bluez4.c.
int BtrCore_BTDiscoverDeviceServices | ( | void * | apBtConn, |
const char * | apcDevPath, | ||
stBTDeviceSupportedServiceList * | pProfileList | ||
) |
This API is used to discover the supported services and fetch the profiles of all those devices.
[in] | apBtConn | The Dbus connection handle as returned by BtrCore_BTInitGetConnection. NULL is valid for this API. |
[in] | apcDevPath | Bluetooth device path. |
[out] | pProfileList | A structure that fetches Profile information of all the supported services. |
Returns | 0 on success, appropriate error code otherwise. |
Definition at line 2092 of file btrCore_dbus_bluez4.c.
int BtrCore_BTFindServiceSupported | ( | void * | apBtConn, |
const char * | apcDevPath, | ||
const char * | apcSearchString, | ||
char * | apcDataString | ||
) |
This API is used to find all supported services and fetch the profiles of all those devices.
[in] | apBtConn | The Dbus connection handle as returned by BtrCore_BTInitGetConnection. NULL is valid for this API. |
[in] | apcDevPath | Bluetooth device path. |
[in] | apcSearchString | Usually, the UUID that has to be searched for. |
[out] | apcDataString | The actual string that is fetched from Dbus iterator which matches the provided UUID. |
Returns | 0 on success, appropiate error code otherwise. |
Definition at line 2223 of file btrCore_dbus_bluez4.c.
int BtrCore_BTPerformAdapterOp | ( | void * | apBtConn, |
const char * | apBtAdapter, | ||
const char * | apBtAgentPath, | ||
const char * | apcDevPath, | ||
enBTAdapterOp | aenBTAdpOp | ||
) |
This API is used to perform BT adapter operations.
[in] | apBtConn | The Dbus connection handle as returned by BtrCore_BTInitGetConnection. NULL is valid for this API. |
[in] | apBtAdapter | Bluetooth Adapter |
[in] | apBtAgentPath | BT agent path. |
[in] | apcDevPath | Bluetooth device path. |
[in] | aenBTAdpOp | Adapter operation that has to be performed. |
Returns | 0 on success, appropriate error code otherwise. |
Definition at line 2327 of file btrCore_dbus_bluez4.c.
int BtrCore_BTIsDeviceConnectable | ( | void * | apBtConn, |
const char * | apcDevPath | ||
) |
This API is used to run device connectable command.
[in] | apBtConn | The Dbus connection handle as returned by BtrCore_BTInitGetConnection. NULL is valid for this API. |
[in] | apcDevPath | Bluetooth device path. |
Returns | 0 on success, appropriate error code otherwise. |
Definition at line 2409 of file btrCore_dbus_bluez4.c.
int BtrCore_BTConnectDevice | ( | void * | apBtConn, |
const char * | apDevPath, | ||
enBTDeviceType | aenBTDevType | ||
) |
This API is used to establish the connection with a BT device.
[in] | apBtConn | The Dbus connection handle as returned by BtrCore_BTInitGetConnection. NULL is valid for this API. |
[in] | apDevPath | Bluetooth device path. |
[in] | aenBTDevType | Bluetooth device type. |
Returns | 0 on success, appropriate error code otherwise. |
Definition at line 2456 of file btrCore_dbus_bluez4.c.
int BtrCore_BTDisconnectDevice | ( | void * | apBtConn, |
const char * | apDevPath, | ||
enBTDeviceType | aenBTDevType | ||
) |
This API is used to diconnect a BT device.
[in] | apBtConn | The Dbus connection handle as returned by BtrCore_BTInitGetConnection. NULL is valid for this API. |
[in] | apDevPath | Bluetooth device path. |
[in] | aenBTDevType | Bluetooth device type. |
Returns | 0 on success, appropriate error code otherwise. |
Definition at line 2511 of file btrCore_dbus_bluez4.c.
int BtrCore_BTEnableEnhancedRetransmissionMode | ( | void * | apstBtIfceHdl | ) |
This API is used to Enable Enhanced Retransmission on all BT adapter.
[in] | apBtConn | The Dbus connection handle as returned by BtrCore_BTInitGetConnection. NULL is valid for this API. |
Returns | 0 on success, appropriate error code otherwise. |
Definition at line 5494 of file btrCore_dbus_bluez5.c.
int BtrCore_BTDisableEnhancedRetransmissionMode | ( | void * | apstBtIfceHdl | ) |
This API is used to Disable Enhanced Retransmission on all BT adapter.
[in] | apBtConn | The Dbus connection handle as returned by BtrCore_BTInitGetConnection. NULL is valid for this API. |
Returns | 0 on success, appropriate error code otherwise. |
Definition at line 5544 of file btrCore_dbus_bluez5.c.
int BtrCore_BTRegisterMedia | ( | void * | apBtConn, |
const char * | apBtAdapter, | ||
enBTDeviceType | aenBTDevType, | ||
enBTMediaType | aenBTMediaType, | ||
const char * | apBtUUID, | ||
void * | apBtMediaCapabilities, | ||
int | apBtMediaCapabilitiesSize, | ||
int | abBtMediaDelayReportEnable | ||
) |
This API is used to register a media device.
[in] | apBtConn | The Dbus connection handle as returned by BtrCore_BTInitGetConnection. NULL is valid for this API. |
[in] | apBtAdapter | Bluetooth device path. |
[in] | aenBTDevType | Device type. |
[in] | aenMediaType | Media codec type. |
[in] | apBtUUID | Bluetooth UUID |
[in] | apBtMediaCapabilities | Media capabilities like frequency, block length, Min bitpool, Max bitpool etc. |
[in] | apBtMediaCapabilitiesSize | size of apBtMediaCapabilities. |
[in] | abBtMediaDelayReportEnable | Flag that indicates if any delay. |
Returns | 0 on success, appropriate error code otherwise. |
Definition at line 5594 of file btrCore_dbus_bluez5.c.
int BtrCore_BTUnRegisterMedia | ( | void * | apBtConn, |
const char * | apBtAdapter, | ||
enBTDeviceType | aenBTDevType, | ||
enBTMediaType | aenBTMediaType | ||
) |
This API is used to unregister the media device.
[in] | apBtConn | The Dbus connection handle as returned by BtrCore_BTInitGetConnection. NULL is valid for this API. |
[in] | apBtAdapter | Bluetooth device path. |
[in] | aenBTDevType | Bluetooth device type. |
[in] | aenMediaType | Media codec type. |
Returns | 0 on success, appropriate error code otherwise. |
Definition at line 5789 of file btrCore_dbus_bluez5.c.
int BtrCore_BTAcquireDevDataPath | ( | void * | apBtConn, |
char * | apcDevTransportPath, | ||
int * | dataPathFd, | ||
int * | dataReadMTU, | ||
int * | dataWriteMTU | ||
) |
This API is used to acquire device data path.
[in] | apBtConn | The Dbus connection handle as returned by BtrCore_BTInitGetConnection. NULL is valid for this API. |
[in] | apcDevTransportPath | Bluetooth device transport path. |
[out] | dataPathFd | Data path file descriptor that has to be fetched. |
[out] | dataReadMTU | Fetches MTU of data reading. |
[out] | dataWriteMTU | Fetches MTU of data writing. |
Returns | 0 on success, appropriate error code otherwise. |
Definition at line 2793 of file btrCore_dbus_bluez4.c.
int BtrCore_BTReleaseDevDataPath | ( | void * | apBtConn, |
char * | apcDevTransportPath | ||
) |
This API is used to release the acquired device data path.
[in] | apBtConn | The Dbus connection handle as returned by BtrCore_BTInitGetConnection. NULL is valid for this API. |
[in] | apcDevTransportPath | Bluetooth device transport path. |
Returns | 0 on success, appropriate error code otherwise. |
Definition at line 2859 of file btrCore_dbus_bluez4.c.
int BtrCore_BTSetDevDataAckTimeout | ( | void * | apBtConn, |
unsigned int | aui32AckTOutms | ||
) |
This API is used to release the acquired device data path.
[in] | apBtConn | The Dbus connection handle as returned by BtrCore_BTInitGetConnection. NULL is valid for this API. |
[in] | aui32AckTOutms | Data write acknowledgment timeout |
Returns | 0 on success, appropriate error code otherwise. |
Definition at line 6010 of file btrCore_dbus_bluez5.c.
char* BtrCore_BTGetMediaPlayerPath | ( | void * | apBtConn, |
const char * | apBtDevPath | ||
) |
A Path is assigned to Media player using Bluetooth device path.
[in] | apBtConn | The Dbus connection handle as returned by BtrCore_BTInitGetConnection. NULL is valid for this API. |
[in] | apBtDevPath | Bluetooth device path. |
Definition at line 6053 of file btrCore_dbus_bluez5.c.
int BtrCore_BTDevMediaControl | ( | void * | apBtConn, |
const char * | apmediaPlayerPath, | ||
enBTMediaControlCmd | aenBTMediaOper | ||
) |
This API is used to control the media device.
[in] | apBtConn | The Dbus connection handle as returned by BtrCore_BTInitGetConnection. NULL is valid for this API. |
[in] | apmediaPlayerPath | Media player path. |
[in] | aenBTMediaOper | Media operation that has to be performed. |
Definition at line 6089 of file btrCore_dbus_bluez5.c.
int BtrCore_BTGetTransportState | ( | void * | apBtConn, |
const char * | apBtDataPath, | ||
void * | state | ||
) |
This API is used to get the state of the BT device .
[in] | apBtConn | The Dbus connection handle as returned by BtrCore_BTInitGetConnection. NULL is valid for this API. |
[in] | apBtDataPath | Bt Data path. |
[out] | state | Transport state of the BT device. |
Returns | 0 on success, appropriate error code otherwise. |
Definition at line 3142 of file btrCore_dbus_bluez4.c.
int BtrCore_BTGetMediaPlayerProperty | ( | void * | apBtConn, |
const char * | apBtObjectPath, | ||
const char * | mediaProperty, | ||
void * | mediaPropertyValue | ||
) |
This API is used to get media player property value using the object path of BT device and media property.
[in] | apBtConn | The Dbus connection handle as returned by BtrCore_BTInitGetConnection. NULL is valid for this API. |
[in] | apBtObjectPath | Bluetooth device path. |
[in] | mediaProperty | Property of the Mediaplayer. |
[out] | mediaPropertyValue | Property value of media player. |
Returns | 0 on success, appropriate error code otherwise. |
Definition at line 3112 of file btrCore_dbus_bluez4.c.
int BtrCore_BTGetMediaFolderNumberOfItems | ( | void * | apBtConn, |
const char * | apBtMediaPlayerPath, | ||
unsigned int * | aui32NumberOfItems | ||
) |
This API is used to get the number of items in the current media folder.
[in] | apBtConn | The Dbus connection handle as returned by BtrCore_BTInitGetConnection. NULL is valid for this API. |
[in] | apBtMediaPlayerPath | Media Player path. |
[out] | aui32NumberOfItems | number of items. |
Returns | 0 on success, appropriate error code otherwise. |
Definition at line 6267 of file btrCore_dbus_bluez5.c.
int BtrCore_BTSetMediaProperty | ( | void * | apBtConn, |
const char * | apBtAdapterPath, | ||
char * | mediaProperty, | ||
char * | pValue | ||
) |
This API is used to set the media property of the BT device .
[in] | apBtConn | The Dbus connection handle as returned by BtrCore_BTInitGetConnection. NULL is valid for this API. |
[in] | apBtAdapterPath | Blue tooth adapter path. |
[in] | mediaProperty | Media Property that has to be set to BT device. |
[in] | pValue | Value of the media property that has been set. |
Returns | 0 on success, appropriate error code otherwise. |
Definition at line 3130 of file btrCore_dbus_bluez4.c.
int BtrCore_BTGetTrackInformation | ( | void * | apBtConn, |
const char * | apBtmediaPlayerObjectPath, | ||
stBTMediaTrackInfo * | lpstBTMediaTrackInfo | ||
) |
This API is used to retrieve the information about the track that is being played on BT media device.
[in] | apBtConn | The Dbus connection handle as returned by BtrCore_BTInitGetConnection. NULL is valid for this API. |
[in] | apBtmediaPlayerObjectPath | Object path of the BT media player. |
[out] | lpstBTMediaTrackInfo | Track information that has to be retrieved. |
Returns | 0 on success, appropriate error code otherwise. |
Definition at line 6352 of file btrCore_dbus_bluez5.c.
int BtrCore_BTChangeMediaFolder | ( | void * | apstBtIfceHdl, |
const char * | apBtmediaPlayerObjectPath, | ||
const char * | apBtdestMediaFolderPath | ||
) |
This API is used to change from the current media folder path to another path.
[in] | apBtConn | The Dbus connection handle as returned by BtrCore_BTInitGetConnection. NULL is valid for this API. |
[in] | apBtmediaPlayerObjectPath | Object path of the BT media player. |
[in] | apBtdestMediaFolderPath | Destination Folder path. |
Returns | 0 on success, appropriate error code otherwise. |
Definition at line 6441 of file btrCore_dbus_bluez5.c.
int BtrCore_BTSelectMediaFolderItems | ( | void * | apstBtIfceHdl, |
const char * | apBtMediaPlayerObjectPath, | ||
unsigned int | apBtMediaFolderStartIndex, | ||
unsigned int | apBtMediaFolderEndIndex, | ||
const char * | apBtMediaFilter, | ||
int | apBtMediaFilterSize | ||
) |
This API is used to list the media items in the current folder.
[in] | apBtConn | The Dbus connection handle as returned by BtrCore_BTInitGetConnection. NULL is valid for this API. |
[in] | apBtmediaPlayerObjectPath | Object path of the BT media player. |
[in] | apBtMediaFolderStartIndex | Starting index of the list. |
[in] | apBtMediaFolderEndIndex | Ending indx of the list. |
[in] | apBtMediaFilter | Filter to be applied. |
[in] | apBtMediaFilterSize | Filter size. |
Returns | 0 on success, appropriate error code otherwise. |
Definition at line 6485 of file btrCore_dbus_bluez5.c.
int BtrCore_BTPlayMediaTrackItem | ( | void * | apstBtIfceHdl, |
const char * | apBtMediaItemObjectPath | ||
) |
This API is used to Play the mentioned media track.
[in] | apBtConn | The Dbus connection handle as returned by BtrCore_BTInitGetConnection. NULL is valid for this API. |
[in] | apBtmediaItemObjectPath | Object path of the media Track. |
Returns | 0 on success, appropriate error code otherwise. |
Definition at line 6632 of file btrCore_dbus_bluez5.c.
tBTMediaItemId BtrCore_BTGetCommonParentMediaItemId | ( | tBTMediaItemId | aBTcurrMediaItemId, |
tBTMediaItemId | aBTdestMediaItemId | ||
) |
This API is used to get the mediaItemID of the node which is the immediate common parent of the src and dest nodes.
[in] | aBTcurrMediaItemId | mediaItemId of the current browsing folder. |
[in] | aBTdestMediaItemId | mediaItemId of the destination browsing folder, we need to switch. |
Definition at line 6419 of file btrCore_dbus_bluez5.c.
int BtrCore_BTRegisterLeAdvertisement | ( | void * | apstBtIfceHdl, |
const char * | apBtAdapter | ||
) |
This API is used to invoke the bluez API advertisement method call RegisterAdvertisment.
[in] | apstBtIfceHdl | The Dbus connection handle as returned by BtrCore_BTInitGetConnection. |
[in] | apBtAdapter | Bluetooth adapter |
Returns | 0 on success, appropriate error code otherwise. |
Definition at line 6710 of file btrCore_dbus_bluez5.c.
int BtrCore_BTRegisterLeGatt | ( | void * | apBtConn, |
const char * | apBtAdapter | ||
) |
This API is used to invoke the bluez API gatt service method call RegisterApplication.
[in] | apstBtIfceHdl | The Dbus connection handle as returned by BtrCore_BTInitGetConnection. |
[in] | apBtAdapter | Bluetooth adapter |
Returns | 0 on success, appropriate error code otherwise. |
Definition at line 6771 of file btrCore_dbus_bluez5.c.
int BtrCore_BTUnRegisterLeGatt | ( | void * | apBtConn, |
const char * | apBtAdapter | ||
) |
This API is used to invoke the bluez API gatt service method call UnRegisterApplication.
[in] | apstBtIfceHdl | The Dbus connection handle as returned by BtrCore_BTInitGetConnection. |
[in] | apBtAdapter | Bluetooth adapter |
Returns | 0 on success, appropriate error code otherwise. |
Definition at line 6880 of file btrCore_dbus_bluez5.c.
int BtrCore_BTPerformLeGattOp | ( | void * | apBtConn, |
const char * | apBtLePath, | ||
enBTOpIfceType | aenBTOpIfceType, | ||
enBTLeGattOp | aenBTLeGattOp, | ||
char * | apLeGatOparg1, | ||
char * | apLeGatOparg2, | ||
char * | rpLeOpRes | ||
) |
This API is used to perform gatt services of the BT device .
[in] | apBtConn | The Dbus connection handle as returned by BtrCore_BTInitGetConnection. NULL is valid for this API. |
[in] | apBtLePath | LE Blue tooth device path. |
[in] | aenBTOpIfceType | Bluetooth interface type. |
[in] | aenBTLeGattOp | Bluetooth interface property whose propert value has to be fetched. |
[in] | apUserdata1 | LE gatt operation userdata. |
[in] | apUserdata2 | LE gatt operation userdata. |
[out] | rpLeOpRes | LE operation result. |
Returns | 0 on success, appropriate error code otherwise. |
Definition at line 6995 of file btrCore_dbus_bluez5.c.
int BtrCore_BTSendReceiveMessages | ( | void * | apBtConn | ) |
This API is used to read, write and dispatch BT device information.
[in] | apBtConn | The Dbus connection handle as returned by BtrCore_BTInitGetConnection. NULL is valid for this API. |
Returns | 0 on success, appropriate error code otherwise. |
Definition at line 2909 of file btrCore_dbus_bluez4.c.
enBTRCoreRet BTRCore_Init | ( | tBTRCoreHandle * | phBTRCore | ) |
enBTRCoreRet BTRCore_DeInit | ( | tBTRCoreHandle | hBTRCore | ) |
enBTRCoreRet BTRCore_RegisterAgent | ( | tBTRCoreHandle | hBTRCore, |
int | iBTRCapMode | ||
) |
This API registers an agent handler.
Every application can register its own agent and for all actions triggered by that application its agent is used. If an application chooses to not register an agent, the default agent is used.
[in] | hBTRCore | Bluetooth core handle. |
[in] | iBTRCapMode | Capabilities can be "DisplayOnly", "DisplayYesNo", "KeyboardOnly", "NoInputNoOutput" and "KeyboardDisplay" which reflects the input and output capabilities of the agent. |
enBTRCoreSuccess | on success, appropriate error code otherwise. |
enBTRCoreRet BTRCore_UnregisterAgent | ( | tBTRCoreHandle | hBTRCore | ) |
This unregisters the agent that has been previously registered.
The object path parameter must match the same value that has been used on registration.
[in] | hBTRCore | Bluetooth core handle. |
enBTRCoreSuccess | on success, appropriate error code otherwise. |
enBTRCoreRet BTRCore_GetListOfAdapters | ( | tBTRCoreHandle | hBTRCore, |
stBTRCoreListAdapters * | pstListAdapters | ||
) |
Returns list of adapter object paths under /org/bluez.
[in] | hBTRCore | Bluetooth core handle. |
[out] | pstListAdapters | List of adapters. |
enBTRCoreSuccess | on success, appropriate error code otherwise. |
enBTRCoreRet BTRCore_SetAdapterPower | ( | tBTRCoreHandle | hBTRCore, |
const char * | pAdapterPath, | ||
unsigned char | powerStatus | ||
) |
This API sets the bluetooth adapter power as ON/OFF.
[in] | hBTRCore | Bluetooth core handle. |
[in] | pAdapterPath | Bluetooth adapter address. |
[in] | powerStatus | Bluetooth adapter power status. |
enBTRCoreSuccess | on success, appropriate error code otherwise. |
enBTRCoreRet BTRCore_GetAdapterPower | ( | tBTRCoreHandle | hBTRCore, |
const char * | pAdapterPath, | ||
unsigned char * | pAdapterPower | ||
) |
This API returns the value of org.bluez.Adapter.powered .
[in] | hBTRCore | Bluetooth core handle. |
[in] | pAdapterPath | Bluetooth adapter address. |
[out] | pAdapterPower | Value of bluetooth adapter. |
enBTRCoreSuccess | on success, appropriate error code otherwise. |
enBTRCoreRet BTRCore_GetAdapters | ( | tBTRCoreHandle | hBTRCore, |
stBTRCoreGetAdapters * | pstGetAdapters | ||
) |
This API returns the value of org.bluez.Manager.Getadapters .
[in] | hBTRCore | Bluetooth core handle. |
[out] | pstGetAdapters | Adapter value. |
enBTRCoreSuccess | on success, appropriate error code otherwise. |
enBTRCoreRet BTRCore_GetAdapter | ( | tBTRCoreHandle | hBTRCore, |
stBTRCoreAdapter * | apstBTRCoreAdapter | ||
) |
enBTRCoreRet BTRCore_SetAdapter | ( | tBTRCoreHandle | hBTRCore, |
int | adapter_number | ||
) |
This API sets Current Bluetooth Adapter to use.
[in] | hBTRCore | Bluetooth core handle. |
[in] | adapter_number | Bluetooth adapter number. |
enBTRCoreSuccess | on success, appropriate error code otherwise. |
enBTRCoreRet BTRCore_EnableAdapter | ( | tBTRCoreHandle | hBTRCore, |
stBTRCoreAdapter * | apstBTRCoreAdapter | ||
) |
This API enables specific adapter.
[in] | hBTRCore | Bluetooth core handle. |
[in] | apstBTRCoreAdapter | Structure which holds the adapter info. |
enBTRCoreSuccess | on success, appropriate error code otherwise. |
enBTRCoreRet BTRCore_DisableAdapter | ( | tBTRCoreHandle | hBTRCore, |
stBTRCoreAdapter * | apstBTRCoreAdapter | ||
) |
This API disables specific adapter.
[in] | hBTRCore | Bluetooth core handle. |
[in] | apstBTRCoreAdapter | Structure which holds the adapter info. |
enBTRCoreSuccess | on success, appropriate error code otherwise. |
enBTRCoreRet BTRCore_GetAdapterAddr | ( | tBTRCoreHandle | hBTRCore, |
unsigned char | aui8adapterIdx, | ||
char * | apui8adapterAddr | ||
) |
This API gets Address of BT Adapter.
[in] | hBTRCore | Bluetooth core handle. |
[in] | aui8adapterIdx | Adapter index. |
[out] | apui8adapterAddr | Adapter address. |
enBTRCoreSuccess | on success, appropriate error code otherwise. |
enBTRCoreRet BTRCore_SetAdapterDiscoverable | ( | tBTRCoreHandle | hBTRCore, |
const char * | pAdapterPath, | ||
unsigned char | discoverable | ||
) |
This API sets adapter as discoverable.
[in] | hBTRCore | Bluetooth core handle. |
[in] | pAdapterPath | Adapter path. |
[in] | discoverable | Value that sets the device discoverable or not. |
enBTRCoreSuccess | on success, appropriate error code otherwise. |
enBTRCoreRet BTRCore_SetAdapterDiscoverableTimeout | ( | tBTRCoreHandle | hBTRCore, |
const char * | pAdapterPath, | ||
unsigned short | timeout | ||
) |
This API sets how long the adapter is discoverable.
[in] | hBTRCore | Bluetooth core handle. |
[in] | pAdapterPath | Adapter path. |
[in] | timeout | Time out value. |
enBTRCoreSuccess | on success, appropriate error code otherwise. |
enBTRCoreRet BTRCore_GetAdapterDiscoverableStatus | ( | tBTRCoreHandle | hBTRCore, |
const char * | pAdapterPath, | ||
unsigned char * | pDiscoverable | ||
) |
This API checks whether the discovery is in progress or not.
[in] | hBTRCore | Bluetooth core handle. |
[in] | pAdapterPath | Adapter path. |
[in] | pDiscoverable | Indicates discoverable or not. |
enBTRCoreSuccess | on success, appropriate error code otherwise. |
enBTRCoreRet BTRCore_SetAdapterDeviceName | ( | tBTRCoreHandle | hBTRCore, |
stBTRCoreAdapter * | apstBTRCoreAdapter, | ||
char * | apcAdapterDeviceName | ||
) |
This API sets a friendly name to BT adapter device.
[in] | hBTRCore | Bluetooth core handle. |
[in] | apstBTRCoreAdapter | Adapter path. |
[in] | apcAdapterDeviceName | Adapter device name. |
enBTRCoreSuccess | on success, appropriate error code otherwise. |
enBTRCoreRet BTRCore_SetAdapterName | ( | tBTRCoreHandle | hBTRCore, |
const char * | pAdapterPath, | ||
const char * | pAdapterName | ||
) |
This API sets a friendly name to BT adapter.
[in] | hBTRCore | Bluetooth core handle. |
[in] | pAdapterPath | Adapter path. |
[in] | pAdapterName | Adapter name. |
enBTRCoreSuccess | on success, appropriate error code otherwise. |
enBTRCoreRet BTRCore_GetAdapterName | ( | tBTRCoreHandle | hBTRCore, |
const char * | pAdapterPath, | ||
char * | pAdapterName | ||
) |
This API gets the name of BT adapter.
[in] | hBTRCore | Bluetooth core handle. |
[in] | pAdapterPath | Adapter path. |
[out] | pAdapterName | Adapter name. |
enBTRCoreSuccess | on success, appropriate error code otherwise. |
enBTRCoreRet BTRCore_ResetAdapter | ( | tBTRCoreHandle | hBTRCore, |
stBTRCoreAdapter * | apstBTRCoreAdapter | ||
) |
This API resets specific adapter.
[in] | hBTRCore | Bluetooth core handle. |
[in] | apstBTRCoreAdapter | Adapter to be reset. |
enBTRCoreSuccess | on success, appropiate error code otherwise. |
enBTRCoreRet BTRCore_GetVersionInfo | ( | tBTRCoreHandle | hBTRCore, |
char * | apcBtVersion | ||
) |
enBTRCoreRet BTRCore_StartDiscovery | ( | tBTRCoreHandle | hBTRCore, |
const char * | pAdapterPath, | ||
enBTRCoreDeviceType | aenBTRCoreDevType, | ||
unsigned int | aui32DiscDuration | ||
) |
This method starts the device discovery session.
This includes an inquiry procedure and remote device name resolving. This process will start emitting DeviceFound and PropertyChanged "Discovering" signals.
[in] | hBTRCore | Bluetooth core handle. |
[in] | pAdapterPath | Adapter path the message should be sent to. |
[in] | aenBTRCoreDevType | Bluetooth device types like headset, speakers, Low energy devices etc. |
[in] | aui32DiscDuration | Timeout for the discovery. |
Returns | enBTRCoreSuccess on success, appropriate error code otherwise. |
enBTRCoreRet BTRCore_StopDiscovery | ( | tBTRCoreHandle | hBTRCore, |
const char * | pAdapterPath, | ||
enBTRCoreDeviceType | aenBTRCoreDevType | ||
) |
This method will cancel any previous StartDiscovery transaction.
[in] | hBTRCore | Bluetooth core handle. |
[in] | pAdapterPath | Adapter path where the message should be sent to. |
[in] | aenBTRCoreDevType | Bluetooth device types like headset, speakers, Low energy devices etc. |
Returns | enBTRCoreSuccess on success, appropriate error code otherwise. |
enBTRCoreRet BTRCore_GetListOfScannedDevices | ( | tBTRCoreHandle | hBTRCore, |
stBTRCoreScannedDevicesCount * | pListOfScannedDevices | ||
) |
enBTRCoreRet BTRCore_PairDevice | ( | tBTRCoreHandle | hBTRCore, |
tBTRCoreDevId | aBTRCoreDevId | ||
) |
This API initiates the pairing of the device.
This method will connect to the remote device and retrieve all SDP records and then initiate the pairing.
[in] | hBTRCore | Bluetooth core handle. |
[in] | aBTRCoreDevId | Device ID for pairing. |
Returns | enBTRCoreSuccess on success, appropriate error code otherwise. |
enBTRCoreRet BTRCore_UnPairDevice | ( | tBTRCoreHandle | hBTRCore, |
tBTRCoreDevId | aBTRCoreDevId | ||
) |
This API removes the remote device object at the given path.
It will remove also the pairing information. BTRCore_UnPairDevice is similar to BTRCore_ForgetDevice.
[in] | hBTRCore | Bluetooth core handle. |
[in] | aBTRCoreDevId | Device ID for pairing. |
Returns | enBTRCoreSuccess on success, appropriate error code otherwise. |
enBTRCoreRet BTRCore_GetListOfPairedDevices | ( | tBTRCoreHandle | hBTRCore, |
stBTRCorePairedDevicesCount * | pListOfDevices | ||
) |
Gets the paired devices list.
[in] | hBTRCore | Bluetooth core handle. |
[out] | pListOfDevices | List of paired devices that has to be fetched. |
Returns | enBTRCoreSuccess on success, appropriate error code otherwise. |
enBTRCoreRet BTRCore_FindDevice | ( | tBTRCoreHandle | hBTRCore, |
tBTRCoreDevId | aBTRCoreDevId | ||
) |
This API checks the device entry in the scanned device list.
[in] | hBTRCore | Bluetooth core handle. |
[in] | aBTRCoreDevId | Device ID to be checked. |
Returns | enBTRCoreSuccess on success, appropriate error code otherwise. |
enBTRCoreRet BTRCore_FindService | ( | tBTRCoreHandle | hBTRCore, |
tBTRCoreDevId | aBTRCoreDevId, | ||
const char * | UUID, | ||
char * | XMLdata, | ||
int * | found | ||
) |
This API is used to confirm if a given service exists on a device.
[in] | hBTRCore | Bluetooth core handle. |
[in] | aBTRCoreDevId | Device ID to be checked. |
[in] | UUID | UUID of the bluetooth device. |
[in] | XMLdata | Service name. |
[out] | found | Indicates service found or not. |
Returns | enBTRCoreSuccess on success, appropriate error code otherwise. |
enBTRCoreRet BTRCore_GetSupportedServices | ( | tBTRCoreHandle | hBTRCore, |
tBTRCoreDevId | aBTRCoreDevId, | ||
stBTRCoreSupportedServiceList * | pProfileList | ||
) |
This API retuns the list of services supported by the device.
[in] | hBTRCore | Bluetooth core handle. |
[in] | aBTRCoreDevId | Device ID to be checked. |
[out] | pProfileList | List of supported services. |
Returns | enBTRCoreSuccess on success, appropriate error code otherwise. |
enBTRCoreRet BTRCore_IsDeviceConnectable | ( | tBTRCoreHandle | hBTRCore, |
tBTRCoreDevId | aBTRCoreDevId | ||
) |
This API checks the device is connectable.
It uses ping utility to check the connection with the remote device.
[in] | hBTRCore | Bluetooth core handle. |
[in] | aBTRCoreDevId | Device ID to be checked. |
Returns | enBTRCoreSuccess on success, appropriate error code otherwise. |
enBTRCoreRet BTRCore_ConnectDevice | ( | tBTRCoreHandle | hBTRCore, |
tBTRCoreDevId | aBTRCoreDevId, | ||
enBTRCoreDeviceType | aenBTRCoreDevType | ||
) |
This method connect any profiles the remote device supports.
It is been flagged as auto-connectable on adapter side. If only subset of profiles is already connected it will try to connect currently disconnected ones. If at least one profile was connected successfully this method will indicate success.
[in] | hBTRCore | Bluetooth core handle. |
[in] | aBTRCoreDevId | Device Id of the remote device. |
[in] | aenBTRCoreDevType | Type of bluetooth device HFP(Hands Free Profile) headset, audio source etc. |
Returns | enBTRCoreSuccess on success, appropriate error code otherwise. |
enBTRCoreRet BTRCore_DisconnectDevice | ( | tBTRCoreHandle | hBTRCore, |
tBTRCoreDevId | aBTRCoreDevId, | ||
enBTRCoreDeviceType | aenBTRCoreDevType | ||
) |
This method gracefully disconnects all connected profiles and then terminates connection.
[in] | hBTRCore | Bluetooth core handle. |
[in] | aBTRCoreDevId | Device Id of the remote device. |
[in] | aenBTRCoreDevType | Type of bluetooth device HFP(Hands Free Profile) headset, audio source etc. |
Returns | enBTRCoreSuccess on success, appropriate error code otherwise. |
enBTRCoreRet BTRCore_GetDeviceConnected | ( | tBTRCoreHandle | hBTRCore, |
tBTRCoreDevId | aBTRCoreDevId, | ||
enBTRCoreDeviceType | aenBTRCoreDevType | ||
) |
This method checks the current device that is connected.
[in] | hBTRCore | Bluetooth core handle. |
[in] | aBTRCoreDevId | Device Id of the remote device. |
[in] | aenBTRCoreDevType | Type of bluetooth device HFP(Hands Free Profile) headset, audio source etc. |
Returns | enBTRCoreSuccess on success, appropriate error code otherwise. |
enBTRCoreRet BTRCore_GetDeviceDisconnected | ( | tBTRCoreHandle | hBTRCore, |
tBTRCoreDevId | aBTRCoreDevId, | ||
enBTRCoreDeviceType | aenBTRCoreDevType | ||
) |
This method checks the current device that is disconnected.
[in] | hBTRCore | Bluetooth core handle. |
[in] | aBTRCoreDevId | Device Id of the remote device. |
[in] | aenBTRCoreDevType | Type of bluetooth device HFP(Hands Free Profile) headset, audio source etc. |
Returns | enBTRCoreSuccess on success, appropriate error code otherwise. |
enBTRCoreRet BTRCore_GetDeviceTypeClass | ( | tBTRCoreHandle | hBTRCore, |
tBTRCoreDevId | aBTRCoreDevId, | ||
enBTRCoreDeviceType * | apenBTRCoreDevTy, | ||
enBTRCoreDeviceClass * | apenBTRCoreDevCl | ||
) |
This API returns current media info that includes the codec info, channel modes, subbands etc.
[in] | hBTRCore | Bluetooth core handle. |
[in] | aBTRCoreDevId | Device Id of the remote device. |
[in] | aenBTRCoreDevType | Type of bluetooth device HFP(Hands Free Profile) headset, audio source etc. |
[out] | apstBTRCoreDevMediaInfo | Structure which stores the media info. |
Returns | enBTRCoreSuccess on success, appropriate error code otherwise. |
enBTRCoreRet BTRCore_GetDeviceMediaInfo | ( | tBTRCoreHandle | hBTRCore, |
tBTRCoreDevId | aBTRCoreDevId, | ||
enBTRCoreDeviceType | aenBTRCoreDevType, | ||
stBTRCoreDevMediaInfo * | apstBTRCoreDevMediaInfo | ||
) |
This API returns current media info that includes the codec info, channel modes, subbands etc.
[in] | hBTRCore | Bluetooth core handle. |
[in] | aBTRCoreDevId | Device Id of the remote device. |
[in] | aenBTRCoreDevType | Type of bluetooth device HFP(Hands Free Profile) headset, audio source etc. |
[out] | apstBTRCoreDevMediaInfo | Structure which stores the media info. |
Returns | enBTRCoreSuccess on success, appropriate error code otherwise. |
enBTRCoreRet BTRCore_AcquireDeviceDataPath | ( | tBTRCoreHandle | hBTRCore, |
tBTRCoreDevId | aBTRCoreDevId, | ||
enBTRCoreDeviceType | aenBTRCoreDevType, | ||
int * | aiDataPath, | ||
int * | aidataReadMTU, | ||
int * | aidataWriteMTU, | ||
unsigned int * | apui32Delay | ||
) |
This API returns the bluetooth device address.
[in] | hBTRCore | Bluetooth core handle. |
[in] | aBTRCoreDevId | Device Id of the remote device. |
[in] | aenBTRCoreDevType | Type of bluetooth device HFP(Hands Free Profile) headset, audio source etc. |
[out] | aiDataPath | Device address. |
[in] | aidataReadMTU | Read data length. |
[in] | aidataWriteMTU | Write data length. |
Returns | enBTRCoreSuccess on success, appropriate error code otherwise. |
enBTRCoreRet BTRCore_ReleaseDeviceDataPath | ( | tBTRCoreHandle | hBTRCore, |
tBTRCoreDevId | aBTRCoreDevId, | ||
enBTRCoreDeviceType | enDeviceType | ||
) |
This API release the bluetooth device address.
[in] | hBTRCore | Bluetooth core handle. |
[in] | aBTRCoreDevId | Device Id of the remote device. |
[in] | enDeviceType | Type of bluetooth device HFP(Hands Free Profile) headset, audio source etc. |
Returns | enBTRCoreSuccess on success, appropriate error code otherwise. |
enBTRCoreRet BTRCore_SetDeviceDataAckTimeout | ( | tBTRCoreHandle | hBTRCore, |
unsigned int | aui32AckTOutms | ||
) |
This API release the bluetooth device address.
[in] | hBTRCore | Bluetooth core handle. |
[in] | aui32AckTOutms | Data write acknowledgment timeout |
Returns | enBTRCoreSuccess on success, appropriate error code otherwise. |
enBTRCoreRet BTRCore_MediaControl | ( | tBTRCoreHandle | hBTRCore, |
tBTRCoreDevId | aBTRCoreDevId, | ||
enBTRCoreDeviceType | aenBTRCoreDevType, | ||
enBTRCoreMediaCtrl | aenBTRCoreMediaCtrl, | ||
stBTRCoreMediaCtData * | apstBTRCoreMediaCData | ||
) |
This API is used to perform media control operations like play, pause, NExt, Previous, Rewind etc.
[in] | hBTRCore | Bluetooth core handle. |
[in] | aBTRCoreDevId | Device Id of the remote device. |
[in] | aenBTRCoreDevType | Type of bluetooth device HFP(Hands Free Profile) headset, audio source etc. |
[in] | aenBTRCoreMediaCtrl | Indicates which operation needs to be performed. |
Returns | enBTRCoreSuccess on success, appropiate error code otherwise. |
enBTRCoreRet BTRCore_GetMediaTrackInfo | ( | tBTRCoreHandle | hBTRCore, |
tBTRCoreDevId | aBTRCoreDevId, | ||
enBTRCoreDeviceType | aenBTRCoreDevType, | ||
stBTRCoreMediaTrackInfo * | apstBTMediaTrackInfo | ||
) |
This API is used to retrieve the media track information.
[in] | hBTRCore | Bluetooth core handle. |
[in] | aBTRCoreDevId | Device Id of the remote device. |
[in] | aenBTRCoreDevType | Type of bluetooth device HFP(Hands Free Profile) headset, audio source etc. |
[out] | apstBTMediaTrackInfo | Structure which represents the media track information. |
Returns | enBTRCoreSuccess on success, appropiate error code otherwise. |
enBTRCoreRet BTRCore_GetMediaElementTrackInfo | ( | tBTRCoreHandle | hBTRCore, |
tBTRCoreDevId | aBTRCoreDevId, | ||
enBTRCoreDeviceType | aenBTRCoreDevType, | ||
tBTRCoreMediaElementId | aBtrMediaElementId, | ||
stBTRCoreMediaTrackInfo * | apstBTMediaTrackInfo | ||
) |
This API is used to retrieve the media track information.
[in] | hBTRCore | Bluetooth core handle. |
[in] | aBTRCoreDevId | Device Id of the remote device. |
[in] | aenBTRCoreDevType | Type of bluetooth device HFP(Hands Free Profile) headset, audio source etc. |
[in] | aBtrMediaElementId | Media Element Id |
[out] | apstBTMediaTrackInfo | Structure which represents the media track information. |
Returns | enBTRCoreSuccess on success, appropiate error code otherwise. |
enBTRCoreRet BTRCore_GetMediaPositionInfo | ( | tBTRCoreHandle | hBTRCore, |
tBTRCoreDevId | aBTRCoreDevId, | ||
enBTRCoreDeviceType | aenBTRCoreDevType, | ||
stBTRCoreMediaPositionInfo * | apstBTMediaPositionInfo | ||
) |
This API returns the duration and the current position of the media.
[in] | hBTRCore | Bluetooth core handle. |
[in] | aBTRCoreDevId | Device Id of the remote device. |
[in] | aenBTRCoreDevType | Type of bluetooth device HFP(Hands Free Profile) headset, audio source etc. |
[out] | apstBTMediaPositionInfo | Structure which represents the position information. |
Returns | enBTRCoreSuccess on success, appropriate error code otherwise. |
enBTRCoreRet BTRCore_GetMediaProperty | ( | tBTRCoreHandle | hBTRCore, |
tBTRCoreDevId | aBTRCoreDevId, | ||
enBTRCoreDeviceType | aenBTRCoreDevType, | ||
const char * | mediaPropertyKey, | ||
void * | mediaPropertyValue | ||
) |
This API returns the media file properties of the Bluetooth device.
As of now, it is implemented to return dummy value.
[in] | hBTRCore | Bluetooth core handle. |
[in] | aBTRCoreDevId | Device Id of the remote device. |
[in] | aenBTRCoreDevType | Type of bluetooth device HFP(Hands Free Profile) headset, audio source etc. |
[out] | mediaPropertyKey | Key to the property. |
[out] | mediaPropertyValue | Value to the property. |
Returns | enBTRCoreSuccess on success, appropriate error code otherwise. |
enBTRCoreRet BTRCore_SetMediaElementActive | ( | tBTRCoreHandle | hBTRCore, |
tBTRCoreDevId | aBTRCoreDevId, | ||
tBTRCoreMediaElementId | aBtrMediaElementId, | ||
enBTRCoreDeviceType | aenBTRCoreDevType, | ||
eBTRCoreMedElementType | aeBTRCoreMedElementType | ||
) |
This API sets the mentioned media list active/in_scope at the lower to allow further operations on the elements in the list.
[in] | hBTRCore | Bluetooth core handle. |
[in] | aBTRCoreDevId | Device Id of the remote device. |
[in] | aBtrMediaElementId | Media Element Id |
[in] | aenBTRCoreDevType | Type of bluetooth device HFP(Hands Free Profile) headset, audio source etc. |
[in] | aeBTRCoreMedElementType | Media Element type (Albums, Artists, ...) |
Returns | enBTRCoreSuccess on success, appropriate error code otherwise. |
enBTRCoreRet BTRCore_GetMediaElementList | ( | tBTRCoreHandle | hBTRCore, |
tBTRCoreDevId | aBTRCoreDevId, | ||
tBTRCoreMediaElementId | aBtrMediaElementId, | ||
unsigned short | aui16BtrMedElementStartIdx, | ||
unsigned short | aui16BtrMedElementEndIdx, | ||
enBTRCoreDeviceType | aenBTRCoreDevType, | ||
eBTRCoreMedElementType | aenBTRCoreMedElementType, | ||
stBTRCoreMediaElementInfoList * | apstMediaElementListInfo | ||
) |
This API returns the mentioned media list.
[in] | hBTRCore | Bluetooth core handle. |
[in] | aBTRCoreDevId | Device Id of the remote device. |
[in] | aBtrMediaElementId | Media Element Id |
[in] | aui16BtrMedElementStartIdx | Starting index of the list. |
[in] | aui16BtrMedElementEndIdx | ending index of the list |
[in] | aenBTRCoreDevType | Type of bluetooth device HFP(Hands Free Profile) headset, audio source etc. |
[in] | aenBTRCoreMedElementType | Media Element type (Albums, Artists, ...) |
[out] | apstMediaElementListInfo | Retrived Media Element List. |
Returns | enBTRCoreSuccess on success, appropriate error code otherwise. |
enBTRCoreRet BTRCore_SelectMediaElement | ( | tBTRCoreHandle | hBTRCore, |
tBTRCoreDevId | aBTRCoreDevId, | ||
tBTRCoreMediaElementId | aBtrMediaElementId, | ||
enBTRCoreDeviceType | aenBTRCoreDevType, | ||
eBTRCoreMedElementType | aenBTRCoreMedElementType | ||
) |
This API performs operation according to the element type selected.
[in] | hBTRCore | Bluetooth core handle. |
[in] | aBTRCoreDevId | Device Id of the remote device. |
[in] | aBtrMediaElementId | Media Element Id |
[in] | aenBTRCoreDevType | Type of bluetooth device HFP(Hands Free Profile) headset, audio source etc. |
[in] | aeBTRCoreMedElementType | Media Element type (Albums, Artists, ...) |
Returns | enBTRCoreSuccess on success, appropriate error code otherwise. |
enBTRCoreRet BTRCore_GetLEProperty | ( | tBTRCoreHandle | hBTRCore, |
tBTRCoreDevId | aBTRCoreDevId, | ||
const char * | apcBTRCoreLEUuid, | ||
enBTRCoreLeProp | aenBTRCoreLeProp, | ||
void * | apvBTRCorePropVal | ||
) |
This API returns the Low energy profile device name and address.
[in] | hBTRCore | Bluetooth core handle. |
[in] | aBTRCoreDevId | Device Id of the remote device. |
[in] | apcBTRCoreLEUuid | UUID to distinguish the devices. |
[in] | aenBTRCoreLeProp | Indicates the property name. |
[out] | apvBTRCorePropVal | LE device property value. |
Returns | enBTRCoreSuccess on success, appropriate error code otherwise. |
enBTRCoreRet BTRCore_PerformLEOp | ( | tBTRCoreHandle | hBTRCore, |
tBTRCoreDevId | aBTRCoreDevId, | ||
const char * | apcBTRCoreLEUuid, | ||
enBTRCoreLeOp | aenBTRCoreLeOp, | ||
char * | apLeOpArg, | ||
char * | rpLeOpRes | ||
) |
This API is used to perform read, write, notify operations on LE devices.
[in] | hBTRCore | Bluetooth core handle. |
[in] | aBTRCoreDevId | Device Id of the remote device. |
[in] | apcBTRCoreLEUuid | UUID to distinguish the devices. |
[in] | aenBTRCoreLeOp | Indicates the operation to be performed. |
[in] | apUserData | Data to perform the operation. |
[out] | rpLeOpRes | LE operation result. |
Returns | enBTRCoreSuccess on success, appropriate error code otherwise. |
enBTRCoreRet BTRCore_StartAdvertisement | ( | tBTRCoreHandle | hBTRCore | ) |
enBTRCoreRet BTRCore_StopAdvertisement | ( | tBTRCoreHandle | hBTRCore | ) |
enBTRCoreRet BTRCore_SetAdvertisementType | ( | tBTRCoreHandle | hBTRCore, |
char * | aAdvtType | ||
) |
enBTRCoreRet BTRCore_SetServiceUUIDs | ( | tBTRCoreHandle | hBTRCore, |
char * | aUUID | ||
) |
enBTRCoreRet BTRCore_SetManufacturerData | ( | tBTRCoreHandle | hBTRCore, |
unsigned short | aManfId, | ||
unsigned char * | aDeviceDetails, | ||
int | aLenManfData | ||
) |
enBTRCoreRet BTRCore_SetEnableTxPower | ( | tBTRCoreHandle | hBTRCore, |
BOOLEAN | lTxPower | ||
) |
enBTRCoreRet BTRCore_GetPropertyValue | ( | tBTRCoreHandle | hBTRCore, |
char * | aUUID, | ||
char * | aValue, | ||
enBTRCoreLeProp | aElement | ||
) |
enBTRCoreRet BTRCore_SetServiceInfo | ( | tBTRCoreHandle | hBTRCore, |
char * | aUUID, | ||
BOOLEAN | aServiceType | ||
) |
enBTRCoreRet BTRCore_SetGattInfo | ( | tBTRCoreHandle | hBTRCore, |
char * | aParentUUID, | ||
char * | aCharUUID, | ||
unsigned short | aFlags, | ||
char * | aValue, | ||
enBTRCoreLeProp | aElement | ||
) |
enBTRCoreRet BTRCore_SetPropertyValue | ( | tBTRCoreHandle | hBTRCore, |
char * | aUUID, | ||
char * | aValue, | ||
enBTRCoreLeProp | aElement | ||
) |
enBTRCoreRet BTRCore_AVMedia_Init | ( | tBTRCoreAVMediaHdl * | phBTRCoreAVM, |
void * | apBtConn, | ||
const char * | apBtAdapter | ||
) |
This API Initializes the media device by registering both source and sink.
[in] | phBTRCoreAVM | Bluetooth core AV media handle. |
[in] | apBtConn | The Dbus connection handle as returned by BtrCore_BTDeInitReleaseConnection. NULL is valid for this API. |
[in] | apBtAdapter | Bluetooth adapter path. |
enBTRCoreSuccess | on success, appropriate error code otherwise. |
Definition at line 912 of file btrCore_avMedia.c.
enBTRCoreRet BTRCore_AVMedia_DeInit | ( | tBTRCoreAVMediaHdl | hBTRCoreAVM, |
void * | apBtConn, | ||
const char * | apBtAdapter | ||
) |
This API DeInitializes the media device by unregistering both source and sink.
[in] | hBTRCoreAVM | Bluetooth core AV media handle. |
[in] | apBtConn | The Dbus connection handle as returned by BtrCore_BTDeInitReleaseConnection. NULL is valid for this API. |
[in] | apBtAdapter | Bluetooth adapter path. |
enBTRCoreSuccess | on success, appropriate error code otherwise. |
Definition at line 1097 of file btrCore_avMedia.c.
enBTRCoreRet BTRCore_AVMedia_GetCurMediaInfo | ( | tBTRCoreAVMediaHdl | hBTRCoreAVM, |
const char * | apBtDevAddr, | ||
stBTRCoreAVMediaInfo * | apstBtrCoreAVMediaInfo | ||
) |
This API gets current media information of the media device by unregistering both source and sink.
[in] | hBTRCoreAVM | Bluetooth core AV media handle. |
[in] | apBtDevAddr | Bluetooth device address.. |
[out] | apstBtrCoreAVMediaInfo | A structure pointer that fetches media information. |
enBTRCoreSuccess | on success, appropriate error code otherwise. |
Definition at line 1214 of file btrCore_avMedia.c.
enBTRCoreRet BTRCore_AVMedia_AcquireDataPath | ( | tBTRCoreAVMediaHdl | hBTRCoreAVM, |
const char * | apBtDevAddr, | ||
int * | apDataPath, | ||
int * | apDataReadMTU, | ||
int * | apDataWriteMTU, | ||
unsigned int * | apui32Delay | ||
) |
This API acquires the data path and MTU of a media device.
[in] | hBTRCoreAVM | Bluetooth core AV media handle. |
[in] | apBtDevAddr | Bluetooth device address. |
[out] | apDataPath | Data path that has to be fetched. |
[out] | apDataReadMTU | Fetches MTU of data reading. |
[out] | apDataWriteMTU | Fetches MTU of data writing. |
enBTRCoreSuccess | on success, appropriate error code otherwise. |
Definition at line 1538 of file btrCore_avMedia.c.
enBTRCoreRet BTRCore_AVMedia_ReleaseDataPath | ( | tBTRCoreAVMediaHdl | hBTRCoreAVM, |
const char * | apBtDevAddr | ||
) |
This API releases the acquired data path of the media device.
[in] | hBTRCoreAVM | Bluetooth core AV media handle. |
[in] | apBtDevAddr | Bluetooth device address. |
enBTRCoreSuccess | on success, appropriate error code otherwise. |
Definition at line 1592 of file btrCore_avMedia.c.
enBTRCoreRet BTRCore_AVMedia_MediaControl | ( | tBTRCoreAVMediaHdl | hBTRCoreAVM, |
const char * | apBtDevAddr, | ||
enBTRCoreAVMediaCtrl | aenBTRCoreAVMediaCtrl, | ||
eBTRCoreAVMediaFlow | aenBTRCoreAVMediaFlow, | ||
stBTRCoreAVMediaCtData * | apstBTRCoreAVMediaCtrlData | ||
) |
This API is used to control the media device. BTRCore_MediaControl() invokes this API.
[in] | hBTRCoreAVM | Bluetooth core AV media handle. |
[in] | apBtDevAddr | Bluetooth device address. |
[in] | aenBTRCoreAVMediaCtrl | Indicates which operation needs to be performed. |
enBTRCoreSuccess | on success, appropriate error code otherwise. |
Definition at line 1629 of file btrCore_avMedia.c.
enBTRCoreRet BTRCore_AVMedia_GetTrackInfo | ( | tBTRCoreAVMediaHdl | hBTRCoreAVM, |
const char * | apBtDevAddr, | ||
stBTRCoreAVMediaTrackInfo * | apstBTAVMediaTrackInfo | ||
) |
This API is used to retrieve the information about the track that is being played on the media device.
[in] | hBTRCoreAVM | Bluetooth core AV media handle. |
[in] | apBtDevAddr | Bluetooth device address. |
[out] | apstBTAVMediaTrackInfo | Track information that has to be retrieved. |
enBTRCoreSuccess | on success, appropriate error code otherwise. |
Definition at line 1763 of file btrCore_avMedia.c.
enBTRCoreRet BTRCore_AVMedia_GetElementTrackInfo | ( | tBTRCoreAVMediaHdl | hBTRCoreAVM, |
const char * | apBtDevAddr, | ||
tBTRCoreAVMediaElementId | aBtrAVMediaElementId, | ||
stBTRCoreAVMediaTrackInfo * | apstBTAVMediaTrackInfo | ||
) |
This API is used to retrieve the information about the track that is being played on the media device.
[in] | hBTRCoreAVM | Bluetooth core AV media handle. |
[in] | apBtDevAddr | Bluetooth device address. |
[in] | aBtrAVMediaElementId | target browsing locations' media element id. |
[out] | apstBTAVMediaTrackInfo | Track information that has to be retrieved. |
enBTRCoreSuccess | on success, appropriate error code otherwise. |
Definition at line 1797 of file btrCore_avMedia.c.
enBTRCoreRet BTRCore_AVMedia_GetPositionInfo | ( | tBTRCoreAVMediaHdl | hBTRCoreAVM, |
const char * | apBtDevAddr, | ||
stBTRCoreAVMediaPositionInfo * | apstBTAVMediaPositionInfo | ||
) |
This API is used to retrieve the position information about the media device.
[in] | hBTRCoreAVM | Bluetooth core AV media handle. |
[in] | apBtDevAddr | Bluetooth device address. |
[out] | apstBTAVMediaPositionInfo | Position information that has to be retrieved. |
enBTRCoreSuccess | on success, appropriate error code otherwise. |
Definition at line 1846 of file btrCore_avMedia.c.
enBTRCoreRet BTRCore_AVMedia_GetMediaProperty | ( | tBTRCoreAVMediaHdl | hBTRCoreAVM, |
const char * | apBtDevAddr, | ||
const char * | mediaPropertyKey, | ||
void * | mediaPropertyValue | ||
) |
This API is used to get media property value using the device address and media property key.
[in] | hBTRCoreAVM | Bluetooth core AV media handle. |
[in] | apBtDevAddr | Bluetooth device address. |
[in] | mediaPropertyKey | Property key of the Mediaplayer. |
[out] | mediaPropertyValue | Property keyvalue of media player. |
enBTRCoreSuccess | on success, appropriate error code otherwise. |
Definition at line 1895 of file btrCore_avMedia.c.
enBTRCoreRet BTRCore_AVMedia_ChangeBrowserLocation | ( | tBTRCoreAVMediaHdl | hBTRCoreAVM, |
const char * | apBtDevAddr, | ||
tBTRCoreAVMediaElementId | aBtrAVMediaElementId, | ||
eBTRCoreAVMElementType | aeBtrAVMElementType | ||
) |
This API is used to change the media browsing location in the connected AudioIn device.
[in] | hBTRCoreAVM | Bluetooth core AV media handle |
[in] | apBtDevAddr | Bluetooth device address. |
[in] | aBtrAVMediaElementId | target browsing locations' media element id |
[in] | aeBtrAVMElementType | media element type (Albums, Artist, ...) |
enBTRCoreSuccess | on success, appropriate error code otherwise. |
Definition at line 1931 of file btrCore_avMedia.c.
enBTRCoreRet BTRCore_AVMedia_SelectMediaBrowserElements | ( | tBTRCoreAVMediaHdl | hBTRCoreAVM, |
const char * | apBtDevAddr, | ||
unsigned short | aui16StartIdx, | ||
unsigned short | aui16EndIdx | ||
) |
This API is used to List(implicitly) the media elements in the current browsing location of the connected AudioIn device.
[in] | hBTRCoreAVM | Bluetooth core AV media handle |
[in] | apBtDevAddr | Bluetooth device address. |
[in] | aui16StartIdx | Starting index of the list to retrive. |
[in] | aui16EndIdx | Ending index of the list to retrive. |
enBTRCoreSuccess | on success, appropriate error code otherwise. |
Definition at line 2052 of file btrCore_avMedia.c.
enBTRCoreRet BTRCore_AVMedia_GetMediaElementList | ( | tBTRCoreAVMediaHdl | hBTRCoreAVM, |
const char * | apBtDevAddr, | ||
tBTRCoreAVMediaElementId | aBtrAVMediaElementId, | ||
unsigned short | aui16StartIdx, | ||
unsigned short | aui16EndIdx, | ||
eBTRCoreAVMElementType | aeBtrAVMElementType, | ||
stBTRCoreAVMediaElementInfoList * | aAVMediaElementInfoList | ||
) |
This API is used to fetch the media item list.
[in] | hBTRCoreAVM | Bluetooth core AV media handle |
[in] | apBtDevAddr | Bluetooth device address. |
[in] | aBtrAVMediaElementId | target browsing locations' media element id |
[in] | aui16StartIdx | Starting index of the list to retrive. |
[in] | aui16EndIdx | Ending index of the list to retrive. |
[in] | aeBtrAVMElementType | media element type (Albums, Artist, ...) |
[out] | aAVMediaElementInfoList | Fetched media element list |
enBTRCoreSuccess | on success, appropriate error code otherwise. |
Definition at line 2121 of file btrCore_avMedia.c.
enBTRCoreRet BTRCore_AVMedia_PlayTrack | ( | tBTRCoreAVMediaHdl | hBTRCoreAVM, |
const char * | apBtDevAddr, | ||
tBTRCoreAVMediaElementId | aBtrAVMediaElementId | ||
) |
This API starts playing the mentioned media item.
[in] | hBTRCoreAVM | Bluetooth core AV media handle |
[in] | apBtDevAddr | Bluetooth device address. |
[in] | aBtrAVMediaElementId | target browsing locations' media element id |
enBTRCoreSuccess | on success, appropriate error code otherwise. |
Definition at line 2212 of file btrCore_avMedia.c.
enBTRCoreRet BTRCore_AVMedia_SelectTrack | ( | tBTRCoreAVMediaHdl | hBTRCoreAVM, |
const char * | apBtDevAddr, | ||
tBTRCoreAVMediaElementId | aBtrAVMediaElementId | ||
) |
This API select track the mentioned media item.
[in] | hBTRCoreAVM | Bluetooth core AV media handle |
[in] | apBtDevAddr | Bluetooth device address. |
[in] | aBtrAVMediaElementId | target browsing locations' media element id |
enBTRCoreSuccess | on success, appropriate error code otherwise. |
Definition at line 2267 of file btrCore_avMedia.c.
enBTRCoreRet BTRCore_AVMedia_IsMediaElementPlayable | ( | tBTRCoreAVMediaHdl | hBTRCoreAVM, |
const char * | apBtDevAddr, | ||
tBTRCoreAVMediaElementId | aBtrAVMediaElementId, | ||
char * | isPlayable | ||
) |
This API is used to find if a MediaElement is Playable or Non-Playable.
[in] | hBTRCoreAVM | Bluetooth core AV media handle |
[in] | apBtDevAddr | Bluetooth device address. |
[in] | aBtrAVMediaElementId | target browsing locations' media element id @Param[out] isPlayable Playable/Non-Playable state |
enBTRCoreSuccess | on success, appropriate error code otherwise. |
Definition at line 2330 of file btrCore_avMedia.c.
enBTRCoreRet BTRCore_AVMedia_RegisterMediaStatusUpdateCb | ( | tBTRCoreAVMediaHdl | hBTRCoreAVM, |
fPtr_BTRCore_AVMediaStatusUpdateCb | afpcBBTRCoreAVMediaStatusUpdate, | ||
void * | apcBMediaStatusUserData | ||
) |
Callback to notify the BT Core about Mediaplayer path and its Userdata
Definition at line 2388 of file btrCore_avMedia.c.
enBTRCoreRet BTRCore_LE_Init | ( | tBTRCoreLeHdl * | phBTRCoreLe, |
void * | apBtConn, | ||
const char * | apBtAdapter | ||
) |
This API registers the callback function that has to be called when the LE device are added or removed.
[in] | phBTRCoreLe | Handle to bluetooth low energy device interface. |
[in] | apBtConn | Dbus connection. |
[in] | apBtAdapter | Bluetooth adapter address. |
Returns | enBTRCoreSuccess on success, appropiate error code otherwise. |
Definition at line 881 of file btrCore_le.c.
enBTRCoreRet BTRCore_LE_DeInit | ( | tBTRCoreLeHdl | hBTRCoreLe, |
void * | apBtConn, | ||
const char * | apBtAdapter | ||
) |
This API deinitializes the LE device.
[in] | hBTRCoreLe | Handle to bluetooth low energy device interface. |
[in] | apBtConn | Dbus connection. |
[in] | apBtAdapter | Bluetooth adapter address. |
Returns | enBTRCoreSuccess on success, appropiate error code otherwise. |
Definition at line 931 of file btrCore_le.c.
enBTRCoreRet BTRCore_LE_GetGattProperty | ( | tBTRCoreLeHdl | hBTRCoreLe, |
tBTRCoreDevId | atBTRCoreDevId, | ||
const char * | apBtUuid, | ||
enBTRCoreLEGattProp | aenBTRCoreLEGattProp, | ||
void * | apBtPropValue | ||
) |
This API fetches the GATT property value that is supported.
[in] | hBTRCoreLe | Handle to bluetooth low energy device interface. |
[in] | apBtDevPath | Device Id of the remote device. |
[in] | apBtUuid | UUID to distinguish the devices. |
[in] | aenBTRCoreLEGattProp | Indicates the operation to be performed. |
[out] | apBtPropValue | Property values. |
Returns | enBTRCoreSuccess on success, appropiate error code otherwise. |
Definition at line 1304 of file btrCore_le.c.
enBTRCoreRet BtrCore_LE_PerformGattOp | ( | tBTRCoreLeHdl | hBTRCoreLe, |
tBTRCoreDevId | atBTRCoreDevId, | ||
const char * | apBtUuid, | ||
enBTRCoreLEGattOp | aenBTRCoreLEGattOp, | ||
char * | apLeOpArg, | ||
char * | rpLeOpRes | ||
) |
This API is used to perform read, write, notify operations on LE devices.
[in] | hBTRCoreLe | Handle to bluetooth low energy device interface. |
[in] | apBtDevPath | Device Id of the remote device. |
[in] | apBtUuid | UUID to distinguish the devices. |
[in] | aenBTRCoreLEGattOp | Indicates the operation to be performed. |
[out] | rpLeOpRes | Indicates the result of the operation. |
Returns | enBTRCoreSuccess on success, appropiate error code otherwise. |
Definition at line 1468 of file btrCore_le.c.
enBTRCoreRet BTRCore_LE_StartAdvertisement | ( | tBTRCoreLeHdl | hBTRCoreLe, |
void * | apBtConn, | ||
const char * | apBtAdapter | ||
) |
This API is used to invoke method calls to RegisterAdvertisement and RegisterApplication to begin LE advertising.
[in] | hBTRCoreLe | Handle to bluetooth low energy device interface. |
[in] | apBtConn | Dbus connection.. |
[in] | apBtAdapter | Bluetooth adapter address. |
Returns | enBTRCoreSuccess on success, appropiate error code otherwise. |
Definition at line 954 of file btrCore_le.c.
enBTRCoreRet BTRCore_LE_SetAdvertisementType | ( | tBTRCoreLeHdl | hBTRCoreLe, |
char * | aAdvtType | ||
) |
This API is used to store the advertisement type supported by device.
[in] | hBTRCoreLe | Handle to bluetooth low energy device interface. |
[in] | aAdvtType | Advertisement type |
Returns | enBTRCoreSuccess on success, appropiate error code otherwise. |
Definition at line 1006 of file btrCore_le.c.
enBTRCoreRet BTRCore_LE_SetServiceUUIDs | ( | tBTRCoreLeHdl | hBTRCoreLe, |
char * | aUUID | ||
) |
This API is used to store the UUIDs that would be advertised by the device during the advertisement.
[in] | hBTRCoreLe | Handle to bluetooth low energy device interface. |
[in] | aUUID | Service UUID |
Returns | enBTRCoreSuccess on success, appropiate error code otherwise. |
Definition at line 1032 of file btrCore_le.c.
enBTRCoreRet BTRCore_LE_SetManufacturerData | ( | tBTRCoreLeHdl | hBTRCoreLe, |
unsigned short | aManfId, | ||
unsigned char * | aDeviceDetails, | ||
int | aLenManfData | ||
) |
This API is used to store the manufacturer data to be sent with the advertisement.
[in] | hBTRCoreLe | Handle to bluetooth low energy device interface. |
[in] | aManfId | Manufacturer ID |
[in] | aDeviceDetails | Manufacturer device details |
[in] | aLenManfData | Length of manufacturer data |
Returns | enBTRCoreSuccess on success, appropiate error code otherwise. |
Definition at line 1058 of file btrCore_le.c.
enBTRCoreRet BTRCore_LE_SetEnableTxPower | ( | tBTRCoreLeHdl | hBTRCoreLe, |
BOOLEAN | aTxPower | ||
) |
This API is used to enable/disable sending tranmission power with the advertisement data.
[in] | hBTRCoreLe | Handle to bluetooth low energy device interface. |
[in] | aTxPower | Enable or disable sending Tx power |
Returns | enBTRCoreSuccess on success, appropiate error code otherwise. |
Definition at line 1088 of file btrCore_le.c.
enBTRCoreRet BTRCore_LE_StopAdvertisement | ( | tBTRCoreLeHdl | hBTRCoreLe, |
void * | apBtConn, | ||
const char * | apBtAdapter | ||
) |
This API is used to invoke method calls to UnRegisterAdvertisement and UnRegisterApplication to stop LE advertising.
[in] | hBTRCoreLe | Handle to bluetooth low energy device interface. |
[in] | apBtConn | Dbus connection.. |
[in] | apBtAdapter | Bluetooth adapter address. |
Returns | enBTRCoreSuccess on success, appropiate error code otherwise. |
Definition at line 981 of file btrCore_le.c.
int* BTRCore_LE_AddGattServiceInfo | ( | tBTRCoreLeHdl | hBTRCoreLe, |
const char * | apBtAdapter, | ||
char * | aBtdevAddr, | ||
char * | aUUID, | ||
BOOLEAN | aServiceType, | ||
int * | aNumGattServices | ||
) |
This API is used to add service info for the advertisement.
[in] | hBTRCoreLe | Handle to bluetooth low energy device interface. |
[in] | aBtdevAddr | BT Address of advertising device |
[in] | aUUID | UUID of the service |
[in] | aServiceType | Indicates Primary or secondary service |
[out] | aNumGattServices | Returns number of gatt services added |
Returns | NULL on failure, appropiate address otherwise. |
Definition at line 1108 of file btrCore_le.c.
int* BTRCore_LE_AddGattCharInfo | ( | tBTRCoreLeHdl | hBTRCoreLe, |
const char * | apBtAdapter, | ||
char * | aBtdevAddr, | ||
char * | aParentUUID, | ||
char * | aUUID, | ||
unsigned short | aCharFlags, | ||
char * | aValue | ||
) |
This API is used to add gatt characteristic info for the advertisement.
[in] | hBTRCoreLe | Handle to bluetooth low energy device interface. |
[in] | aBtdevAddr | BT Address of advertising device |
[in] | aParentUUID | Service the characteristic belongs to |
[in] | aUUID | UUID of the service |
[in] | aCharFlags | Bit field to indicate usage of characteristic |
[in] | aValue | Value of the characteristic if applicable |
Returns | NULL on failure, appropiate address otherwise. |
Definition at line 1163 of file btrCore_le.c.
int* BTRCore_LE_AddGattDescInfo | ( | tBTRCoreLeHdl | hBTRCoreLe, |
const char * | apBtAdapter, | ||
char * | aBtdevAddr, | ||
char * | aParentUUID, | ||
char * | aUUID, | ||
unsigned short | aDescFlags, | ||
char * | aValue | ||
) |
This API is used to add gatt descriptor info for the advertisement.
[in] | hBTRCoreLe | Handle to bluetooth low energy device interface. |
[in] | aBtdevAddr | BT Address of advertising device |
[in] | aParentUUID | Characteristic the descriptor belongs to |
[in] | aUUID | UUID of the service |
[in] | aDescFlags | Bit field to indicate usage of characteristic |
[out] | aValue | Value of the descriptor if applicable |
Returns | NULL on failure, appropiate address otherwise. |
Definition at line 1215 of file btrCore_le.c.
enBTRCoreRet BTRCore_LE_SetPropertyValue | ( | tBTRCoreLeHdl | hBTRCoreLe, |
char * | aUUID, | ||
char * | aValue, | ||
enBTRCoreLEGattProp | aElement | ||
) |
This API Returns the specified property value associated with the UUID.
[in] | hBTRCoreLe | Handle to bluetooth low energy device interface. |
[in] | aUUID | UUID of the Gatt element |
[in] | aGattProp | Gatt property to be fetched |
[out] | aValue | Value of the property |
Returns | enBTRCoreSuccess on success, appropiate error code otherwise. |
Definition at line 1267 of file btrCore_le.c.
enBTAdapterProp _unBTOpIfceProp::enBtAdapterProp |
Definition at line 610 of file btrCore_bt_ifce.h.
enBTDeviceProp _unBTOpIfceProp::enBtDeviceProp |
Definition at line 611 of file btrCore_bt_ifce.h.
enBTMediaTransportProp _unBTOpIfceProp::enBtMediaTransportProp |
Definition at line 612 of file btrCore_bt_ifce.h.
enBTMediaControlProp _unBTOpIfceProp::enBtMediaControlProp |
Definition at line 613 of file btrCore_bt_ifce.h.
enBTMediaPlayerProp _unBTOpIfceProp::enBtMediaPlayerProp |
Definition at line 614 of file btrCore_bt_ifce.h.
enBTMediaFolderProp _unBTOpIfceProp::enBtMediaFolderProp |
Definition at line 616 of file btrCore_bt_ifce.h.
enBTGattServiceProp _unBTOpIfceProp::enBtGattServiceProp |
Definition at line 617 of file btrCore_bt_ifce.h.
enBTGattCharProp _unBTOpIfceProp::enBtGattCharProp |
Definition at line 618 of file btrCore_bt_ifce.h.
enBTGattDescProp _unBTOpIfceProp::enBtGattDescProp |
Definition at line 619 of file btrCore_bt_ifce.h.
char _stBTAdapterInfo::pcAddress[256] |
Definition at line 626 of file btrCore_bt_ifce.h.
char _stBTAdapterInfo::pcName[256] |
Definition at line 627 of file btrCore_bt_ifce.h.
char _stBTAdapterInfo::pcAlias[256] |
Definition at line 628 of file btrCore_bt_ifce.h.
unsigned int _stBTAdapterInfo::ui32Class |
Definition at line 629 of file btrCore_bt_ifce.h.
int _stBTAdapterInfo::bPowered |
Definition at line 630 of file btrCore_bt_ifce.h.
int _stBTAdapterInfo::bDiscoverable |
Definition at line 631 of file btrCore_bt_ifce.h.
int _stBTAdapterInfo::bPairable |
Definition at line 632 of file btrCore_bt_ifce.h.
unsigned int _stBTAdapterInfo::ui32PairableTimeout |
Definition at line 633 of file btrCore_bt_ifce.h.
unsigned int _stBTAdapterInfo::ui32DiscoverableTimeout |
Definition at line 634 of file btrCore_bt_ifce.h.
int _stBTAdapterInfo::bDiscovering |
Definition at line 635 of file btrCore_bt_ifce.h.
char _stBTAdapterInfo::ppcUUIDs[32][64] |
Definition at line 636 of file btrCore_bt_ifce.h.
char _stBTAdapterInfo::pcModalias[256] |
Definition at line 637 of file btrCore_bt_ifce.h.
char _stBTAdapterInfo::pcPath[64] |
Definition at line 638 of file btrCore_bt_ifce.h.
char _stBTAdServiceData::pcUUIDs[64] |
Definition at line 642 of file btrCore_bt_ifce.h.
uint8_t _stBTAdServiceData::pcData[32] |
Definition at line 642 of file btrCore_bt_ifce.h.
size_t _stBTAdServiceData::len |
Definition at line 644 of file btrCore_bt_ifce.h.
int _stBTDeviceInfo::bPaired |
Definition at line 648 of file btrCore_bt_ifce.h.
int _stBTDeviceInfo::bConnected |
Definition at line 649 of file btrCore_bt_ifce.h.
int _stBTDeviceInfo::bTrusted |
Definition at line 650 of file btrCore_bt_ifce.h.
int _stBTDeviceInfo::bBlocked |
Definition at line 651 of file btrCore_bt_ifce.h.
int _stBTDeviceInfo::bServiceResolved |
Definition at line 652 of file btrCore_bt_ifce.h.
unsigned short _stBTDeviceInfo::ui16Vendor |
Definition at line 653 of file btrCore_bt_ifce.h.
unsigned short _stBTDeviceInfo::ui16VendorSource |
Definition at line 654 of file btrCore_bt_ifce.h.
unsigned short _stBTDeviceInfo::ui16Product |
Definition at line 655 of file btrCore_bt_ifce.h.
unsigned short _stBTDeviceInfo::ui16Version |
Definition at line 656 of file btrCore_bt_ifce.h.
unsigned int _stBTDeviceInfo::ui32Class |
Definition at line 657 of file btrCore_bt_ifce.h.
int _stBTDeviceInfo::i32RSSI |
Definition at line 658 of file btrCore_bt_ifce.h.
unsigned short _stBTDeviceInfo::ui16Appearance |
Definition at line 659 of file btrCore_bt_ifce.h.
char _stBTDeviceInfo::pcName[256] |
Definition at line 660 of file btrCore_bt_ifce.h.
char _stBTDeviceInfo::pcAddress[256] |
Definition at line 661 of file btrCore_bt_ifce.h.
char _stBTDeviceInfo::pcAlias[256] |
Definition at line 662 of file btrCore_bt_ifce.h.
char _stBTDeviceInfo::pcIcon[256] |
Definition at line 663 of file btrCore_bt_ifce.h.
char _stBTDeviceInfo::aUUIDs[32][64] |
Definition at line 664 of file btrCore_bt_ifce.h.
char _stBTDeviceInfo::pcDevicePrevState[256] |
Definition at line 665 of file btrCore_bt_ifce.h.
char _stBTDeviceInfo::pcDeviceCurrState[256] |
Definition at line 666 of file btrCore_bt_ifce.h.
char _stBTDeviceInfo::pcDevicePath[64] |
Definition at line 667 of file btrCore_bt_ifce.h.
stBTAdServiceData _stBTDeviceInfo::saServices[32] |
Definition at line 668 of file btrCore_bt_ifce.h.
unsigned short _stBTPairedDeviceInfo::numberOfDevices |
Definition at line 674 of file btrCore_bt_ifce.h.
char _stBTPairedDeviceInfo::devicePath[32][64] |
Definition at line 675 of file btrCore_bt_ifce.h.
stBTDeviceInfo _stBTPairedDeviceInfo::deviceInfo[32] |
Definition at line 676 of file btrCore_bt_ifce.h.
unsigned int _stBTDeviceSupportedService::uuid_value |
Definition at line 680 of file btrCore_bt_ifce.h.
char _stBTDeviceSupportedService::profile_name[256] |
Definition at line 681 of file btrCore_bt_ifce.h.
int _stBTDeviceSupportedServiceList::numberOfService |
Definition at line 685 of file btrCore_bt_ifce.h.
stBTDeviceSupportedService _stBTDeviceSupportedServiceList::profile[32] |
Definition at line 686 of file btrCore_bt_ifce.h.
char _stBTMediaTrackInfo::pcAlbum[256] |
Definition at line 690 of file btrCore_bt_ifce.h.
char _stBTMediaTrackInfo::pcGenre[256] |
Definition at line 691 of file btrCore_bt_ifce.h.
char _stBTMediaTrackInfo::pcTitle[256] |
Definition at line 692 of file btrCore_bt_ifce.h.
char _stBTMediaTrackInfo::pcArtist[256] |
Definition at line 693 of file btrCore_bt_ifce.h.
unsigned int _stBTMediaTrackInfo::ui32TrackNumber |
Definition at line 694 of file btrCore_bt_ifce.h.
unsigned int _stBTMediaTrackInfo::ui32Duration |
Definition at line 695 of file btrCore_bt_ifce.h.
unsigned int _stBTMediaTrackInfo::ui32NumberOfTracks |
Definition at line 696 of file btrCore_bt_ifce.h.
enBTOpIfceType _stBTMediaStatusUpdate::aenBtOpIfceType |
Definition at line 701 of file btrCore_bt_ifce.h.
unBTOpIfceProp _stBTMediaStatusUpdate::aunBtOpIfceProp |
Definition at line 702 of file btrCore_bt_ifce.h.
enBTMediaTransportState { ... } ::m_mediaTransportState |
Definition at line 705 of file btrCore_bt_ifce.h.
unsigned { ... } ::m_mediaTransportVolume |
Definition at line 706 of file btrCore_bt_ifce.h.
enBTMediaPlayerType { ... } ::enMediaPlayerType |
Definition at line 707 of file btrCore_bt_ifce.h.
enBTMediaPlayerSubtype { ... } ::enMediaPlayerSubtype |
Definition at line 708 of file btrCore_bt_ifce.h.
enBTMediaPlayerEqualizer { ... } ::enMediaPlayerEqualizer |
Definition at line 709 of file btrCore_bt_ifce.h.
enBTMediaPlayerShuffle { ... } ::enMediaPlayerShuffle |
Definition at line 710 of file btrCore_bt_ifce.h.
enBTMediaPlayerScan { ... } ::enMediaPlayerScan |
Definition at line 711 of file btrCore_bt_ifce.h.
enBTMediaPlayerRepeat { ... } ::enMediaPlayerRepeat |
Definition at line 712 of file btrCore_bt_ifce.h.
enBTMediaPlayerStatus { ... } ::enMediaPlayerStatus |
Definition at line 713 of file btrCore_bt_ifce.h.
unsigned { ... } ::m_mediaPlayerBrowsable |
Definition at line 714 of file btrCore_bt_ifce.h.
unsigned { ... } ::m_mediaPlayerSearchable |
Definition at line 715 of file btrCore_bt_ifce.h.
unsigned { ... } ::m_mediaPlayerConnected |
Definition at line 716 of file btrCore_bt_ifce.h.
unsigned { ... } ::m_mediaPlayerPosition |
Definition at line 717 of file btrCore_bt_ifce.h.
stBTMediaTrackInfo { ... } ::m_mediaTrackInfo |
Definition at line 718 of file btrCore_bt_ifce.h.
char { ... } ::m_mediaPlayerPath[256] |
Definition at line 719 of file btrCore_bt_ifce.h.
char { ... } ::m_mediaPlayerName[256] |
Definition at line 720 of file btrCore_bt_ifce.h.
char { ... } ::m_mediaFolderName[256] |
Definition at line 721 of file btrCore_bt_ifce.h.
unsigned { ... } ::m_mediaFolderNumberOfItems |
Definition at line 722 of file btrCore_bt_ifce.h.
union { ... } |
char _stBTMediaBrowserUpdate::pcMediaItemName[256] |
Definition at line 727 of file btrCore_bt_ifce.h.
char _stBTMediaBrowserUpdate::pcMediaItemPath[256] |
Definition at line 728 of file btrCore_bt_ifce.h.
enBTMediaItemType _stBTMediaBrowserUpdate::eMediaItemType |
Definition at line 729 of file btrCore_bt_ifce.h.
enBTMediaFolderType _stBTMediaBrowserUpdate::eMediaFolderType |
Definition at line 730 of file btrCore_bt_ifce.h.
tBTMediaItemId _stBTMediaBrowserUpdate::ui32BTMediaItemId |
Definition at line 731 of file btrCore_bt_ifce.h.
unsigned int _stBTMediaBrowserUpdate::ui32NumberOfItems |
Definition at line 732 of file btrCore_bt_ifce.h.
stBTMediaTrackInfo _stBTMediaBrowserUpdate::mediaTrackInfo |
Definition at line 733 of file btrCore_bt_ifce.h.
char _stBTLeGattDesc::descPath[256] |
Definition at line 739 of file btrCore_bt_ifce.h.
char _stBTLeGattDesc::descUuid[64] |
Definition at line 740 of file btrCore_bt_ifce.h.
unsigned short _stBTLeGattDesc::descFlags |
Definition at line 741 of file btrCore_bt_ifce.h.
char _stBTLeGattDesc::propertyValue[ 256 *3] |
Definition at line 742 of file btrCore_bt_ifce.h.
char _stBTLeGattChar::charPath[256] |
Definition at line 747 of file btrCore_bt_ifce.h.
char _stBTLeGattChar::charUuid[64] |
Definition at line 748 of file btrCore_bt_ifce.h.
stBTLeGattDesc _stBTLeGattChar::atBTRGattDesc[4] |
Definition at line 749 of file btrCore_bt_ifce.h.
unsigned short _stBTLeGattChar::ui16NumberOfGattDesc |
Definition at line 750 of file btrCore_bt_ifce.h.
unsigned short _stBTLeGattChar::charFlags |
Definition at line 751 of file btrCore_bt_ifce.h.
char _stBTLeGattChar::value[ 256 *3] |
Definition at line 752 of file btrCore_bt_ifce.h.
char _stBTLeGattService::servicePath[256] |
Definition at line 757 of file btrCore_bt_ifce.h.
char _stBTLeGattService::serviceUuid[64] |
Definition at line 758 of file btrCore_bt_ifce.h.
unsigned char _stBTLeGattService::serviceType |
Definition at line 759 of file btrCore_bt_ifce.h.
stBTLeGattChar _stBTLeGattService::astBTRGattChar[10] |
Definition at line 760 of file btrCore_bt_ifce.h.
unsigned short _stBTLeGattService::ui16NumberOfGattChar |
Definition at line 761 of file btrCore_bt_ifce.h.
stBTLeGattService _stBTLeGattInfo::astBTRGattService[4] |
Definition at line 765 of file btrCore_bt_ifce.h.
int _stBTLeGattInfo::nNumGattServices |
Definition at line 766 of file btrCore_bt_ifce.h.
unsigned short _stBTLeManfData::ManfID |
Definition at line 771 of file btrCore_bt_ifce.h.
unsigned int _stBTLeManfData::lenManfData |
Definition at line 772 of file btrCore_bt_ifce.h.
unsigned char _stBTLeManfData::data[ 256 *3] |
Definition at line 773 of file btrCore_bt_ifce.h.
char _stBTLeServData::UUID[256] |
Definition at line 777 of file btrCore_bt_ifce.h.
uint8_t _stBTLeServData::data[ 256 *3] |
Definition at line 778 of file btrCore_bt_ifce.h.
char _stBTLeCustomAdv::pui8AdvertPath[256] |
Definition at line 782 of file btrCore_bt_ifce.h.
char _stBTLeCustomAdv::AdvertisementType[256] |
Definition at line 783 of file btrCore_bt_ifce.h.
char _stBTLeCustomAdv::ServiceUUID[4][256] |
Definition at line 784 of file btrCore_bt_ifce.h.
int _stBTLeCustomAdv::numServiceUUID |
Definition at line 785 of file btrCore_bt_ifce.h.
char _stBTLeCustomAdv::SolicitUUID[4][256] |
Definition at line 786 of file btrCore_bt_ifce.h.
int _stBTLeCustomAdv::numSolicitUUID |
Definition at line 787 of file btrCore_bt_ifce.h.
stBTLeManfData _stBTLeCustomAdv::ManfData |
Definition at line 788 of file btrCore_bt_ifce.h.
stBTLeServData _stBTLeCustomAdv::ServiceData |
Definition at line 789 of file btrCore_bt_ifce.h.
unsigned char _stBTLeCustomAdv::bTxPower |
Definition at line 790 of file btrCore_bt_ifce.h.
enBTRCoreDeviceType _stBTRCoreDevStatusCBInfo::eDeviceType |
enBTRCoreDeviceClass _stBTRCoreDevStatusCBInfo::eDeviceClass |
enBTRCoreDeviceState _stBTRCoreDevStatusCBInfo::eDevicePrevState |
enBTRCoreDeviceState _stBTRCoreDevStatusCBInfo::eDeviceCurrState |
unsigned int _stBTRCoreDevStatusCBInfo::ui32DevClassBtSpec |
stBTRCoreSupportedService _stBTRCoreSupportedServiceList::profile[32] |
stBTRCoreSupportedServiceList _stBTRCoreBTDevice::stDeviceProfile |
stBTRCoreAdServiceData _stBTRCoreBTDevice::stAdServiceData[32] |
stBTRCoreBTDevice _stBTRCoreScannedDevicesCount::devices[64] |
stBTRCoreBTDevice _stBTRCorePairedDevicesCount::devices[64] |
union { ... } |
eBTRCoreDevMediaAChan _stBTRCoreDevMediaPcmInfo::eDevMAChan |
eBTRCoreDevMediaAChan _stBTRCoreDevMediaSbcInfo::eDevMAChan |
unsigned char _stBTRCoreDevMediaSbcInfo::ui8DevMSbcAllocMethod |
unsigned char _stBTRCoreDevMediaSbcInfo::ui8DevMSbcSubbands |
unsigned char _stBTRCoreDevMediaSbcInfo::ui8DevMSbcBlockLength |
unsigned char _stBTRCoreDevMediaSbcInfo::ui8DevMSbcMinBitpool |
unsigned char _stBTRCoreDevMediaSbcInfo::ui8DevMSbcMaxBitpool |
unsigned short _stBTRCoreDevMediaSbcInfo::ui16DevMSbcFrameLen |
unsigned short _stBTRCoreDevMediaSbcInfo::ui16DevMSbcBitrate |
eBTRCoreDevMediaAChan _stBTRCoreDevMediaMpegInfo::eDevMAChan |
unsigned char _stBTRCoreDevMediaMpegInfo::ui8DevMMpegLayer |
unsigned short _stBTRCoreDevMediaMpegInfo::ui16DevMMpegFrameLen |
unsigned short _stBTRCoreDevMediaMpegInfo::ui16DevMMpegBitrate |
eBTRCoreDevMediaType _stBTRCoreDevMediaInfo::eBtrCoreDevMType |
eBTRCoreMedElementType _stBTRCoreMediaElementInfo::eAVMedElementType |
tBTRCoreMediaElementId _stBTRCoreMediaElementInfo::ui32MediaElementId |
stBTRCoreMediaTrackInfo _stBTRCoreMediaElementInfo::m_mediaTrackInfo |
unsigned short _stBTRCoreMediaElementInfoList::m_numOfElements |
stBTRCoreMediaElementInfo _stBTRCoreMediaElementInfoList::m_mediaElementInfo[64] |
eBTRCoreMediaStatusUpdate _stBTRCoreMediaStatusUpdate::eBTMediaStUpdate |
BOOLEAN _stBTRCoreMediaStatusUpdate::bIsMediaCtrlAvailable |
union { ... } |
enBTRCoreDeviceClass _stBTRCoreMediaStatusCBInfo::eDeviceClass |
stBTRCoreMediaStatusUpdate _stBTRCoreMediaStatusCBInfo::m_mediaStatusUpdate |
unsigned char _stBTRCoreMediaCtData::m_mediaAbsoluteVolume |
stBTRCoreUUID _stBTRCoreUUIDList::uuidList[32] |
stBTRCoreAdapter _stBTRCoreDiscoveryCBInfo::adapter |
stBTRCoreBTDevice _stBTRCoreDiscoveryCBInfo::device |
eBTRCoreAVMAChan _stBTRMgrAVMediaPcmInfo::eAVMAChan |
Definition at line 133 of file btrCore_avMedia.h.
unsigned int _stBTRMgrAVMediaPcmInfo::ui32AVMAChan |
Definition at line 134 of file btrCore_avMedia.h.
unsigned int _stBTRMgrAVMediaPcmInfo::ui32AVMSFreq |
Definition at line 135 of file btrCore_avMedia.h.
unsigned int _stBTRMgrAVMediaPcmInfo::ui32AVMSFmt |
Definition at line 136 of file btrCore_avMedia.h.
eBTRCoreAVMAChan _stBTRCoreAVMediaSbcInfo::eAVMAChan |
Definition at line 140 of file btrCore_avMedia.h.
unsigned int _stBTRCoreAVMediaSbcInfo::ui32AVMAChan |
Definition at line 141 of file btrCore_avMedia.h.
unsigned int _stBTRCoreAVMediaSbcInfo::ui32AVMSFreq |
Definition at line 142 of file btrCore_avMedia.h.
unsigned char _stBTRCoreAVMediaSbcInfo::ui8AVMSbcAllocMethod |
Definition at line 143 of file btrCore_avMedia.h.
unsigned char _stBTRCoreAVMediaSbcInfo::ui8AVMSbcSubbands |
Definition at line 144 of file btrCore_avMedia.h.
unsigned char _stBTRCoreAVMediaSbcInfo::ui8AVMSbcBlockLength |
Definition at line 145 of file btrCore_avMedia.h.
unsigned char _stBTRCoreAVMediaSbcInfo::ui8AVMSbcMinBitpool |
Definition at line 146 of file btrCore_avMedia.h.
unsigned char _stBTRCoreAVMediaSbcInfo::ui8AVMSbcMaxBitpool |
Definition at line 147 of file btrCore_avMedia.h.
unsigned short _stBTRCoreAVMediaSbcInfo::ui16AVMSbcFrameLen |
Definition at line 148 of file btrCore_avMedia.h.
unsigned short _stBTRCoreAVMediaSbcInfo::ui16AVMSbcBitrate |
Definition at line 149 of file btrCore_avMedia.h.
eBTRCoreAVMAChan _stBTRCoreAVMediaMpegInfo::eAVMAChan |
Definition at line 153 of file btrCore_avMedia.h.
unsigned int _stBTRCoreAVMediaMpegInfo::ui32AVMAChan |
Definition at line 154 of file btrCore_avMedia.h.
unsigned int _stBTRCoreAVMediaMpegInfo::ui32AVMSFreq |
Definition at line 155 of file btrCore_avMedia.h.
unsigned char _stBTRCoreAVMediaMpegInfo::ui8AVMMpegCrc |
Definition at line 156 of file btrCore_avMedia.h.
unsigned char _stBTRCoreAVMediaMpegInfo::ui8AVMMpegVersion |
Definition at line 157 of file btrCore_avMedia.h.
unsigned char _stBTRCoreAVMediaMpegInfo::ui8AVMMpegLayer |
Definition at line 158 of file btrCore_avMedia.h.
unsigned char _stBTRCoreAVMediaMpegInfo::ui8AVMMpegType |
Definition at line 159 of file btrCore_avMedia.h.
unsigned char _stBTRCoreAVMediaMpegInfo::ui8AVMMpegMpf |
Definition at line 160 of file btrCore_avMedia.h.
unsigned char _stBTRCoreAVMediaMpegInfo::ui8AVMMpegRfa |
Definition at line 161 of file btrCore_avMedia.h.
unsigned short _stBTRCoreAVMediaMpegInfo::ui16AVMMpegFrameLen |
Definition at line 162 of file btrCore_avMedia.h.
unsigned short _stBTRCoreAVMediaMpegInfo::ui16AVMMpegBitrate |
Definition at line 163 of file btrCore_avMedia.h.
eBTRCoreAVMType _stBTRCoreAVMediaInfo::eBtrCoreAVMType |
Definition at line 167 of file btrCore_avMedia.h.
eBTRCoreAVMediaFlow _stBTRCoreAVMediaInfo::eBtrCoreAVMFlow |
Definition at line 168 of file btrCore_avMedia.h.
void* _stBTRCoreAVMediaInfo::pstBtrCoreAVMCodecInfo |
Definition at line 169 of file btrCore_avMedia.h.
char _stBTRCoreAVMediaTrackInfo::pcAlbum[256] |
Definition at line 173 of file btrCore_avMedia.h.
char _stBTRCoreAVMediaTrackInfo::pcGenre[256] |
Definition at line 174 of file btrCore_avMedia.h.
char _stBTRCoreAVMediaTrackInfo::pcTitle[256] |
Definition at line 175 of file btrCore_avMedia.h.
char _stBTRCoreAVMediaTrackInfo::pcArtist[256] |
Definition at line 176 of file btrCore_avMedia.h.
unsigned int _stBTRCoreAVMediaTrackInfo::ui32TrackNumber |
Definition at line 177 of file btrCore_avMedia.h.
unsigned int _stBTRCoreAVMediaTrackInfo::ui32Duration |
Definition at line 178 of file btrCore_avMedia.h.
unsigned int _stBTRCoreAVMediaTrackInfo::ui32NumberOfTracks |
Definition at line 179 of file btrCore_avMedia.h.
unsigned int _stBTRCoreAVMediaPositionInfo::ui32Duration |
Definition at line 183 of file btrCore_avMedia.h.
unsigned int _stBTRCoreAVMediaPositionInfo::ui32Position |
Definition at line 184 of file btrCore_avMedia.h.
eBTRCoreAVMElementType _stBTRCoreAVMediaElementInfo::eAVMElementType |
Definition at line 188 of file btrCore_avMedia.h.
tBTRCoreAVMediaElementId _stBTRCoreAVMediaElementInfo::ui32AVMediaElementId |
Definition at line 189 of file btrCore_avMedia.h.
unsigned char _stBTRCoreAVMediaElementInfo::bIsPlayable |
Definition at line 190 of file btrCore_avMedia.h.
char _stBTRCoreAVMediaElementInfo::m_mediaElementName[256] |
Definition at line 191 of file btrCore_avMedia.h.
stBTRCoreAVMediaTrackInfo _stBTRCoreAVMediaElementInfo::m_mediaTrackInfo |
Definition at line 192 of file btrCore_avMedia.h.
unsigned short _stBTRCoreAVMediaElementInfoList::m_numOfElements |
Definition at line 196 of file btrCore_avMedia.h.
stBTRCoreAVMediaElementInfo _stBTRCoreAVMediaElementInfoList::m_mediaElementInfo[64] |
Definition at line 197 of file btrCore_avMedia.h.
eBTRCoreAVMediaStatusUpdate _stBTRCoreAVMediaStatusUpdate::eAVMediaState |
Definition at line 201 of file btrCore_avMedia.h.
eBTRCoreAVMediaFlow _stBTRCoreAVMediaStatusUpdate::eAVMediaDataFlow |
Definition at line 202 of file btrCore_avMedia.h.
unsigned char _stBTRCoreAVMediaStatusUpdate::bIsAVMediaCtrlAvail |
Definition at line 203 of file btrCore_avMedia.h.
stBTRCoreAVMediaTrackInfo { ... } ::m_mediaTrackInfo |
Definition at line 206 of file btrCore_avMedia.h.
stBTRCoreAVMediaPositionInfo { ... } ::m_mediaPositionInfo |
Definition at line 207 of file btrCore_avMedia.h.
stBTRCoreAVMediaElementInfo { ... } ::m_mediaElementInfo |
Definition at line 208 of file btrCore_avMedia.h.
char { ... } ::m_mediaPlayerName[256] |
Definition at line 209 of file btrCore_avMedia.h.
unsigned { ... } ::m_mediaPlayerTransportVolume |
Definition at line 210 of file btrCore_avMedia.h.
union { ... } |
unsigned char _stBTRCoreAVMediaCtData::m_mediaAbsTransportVolume |
Definition at line 216 of file btrCore_avMedia.h.
enBTRCoreLEGattOp _stBTRCoreLeGattInfo::enLeOper |
Definition at line 75 of file btrCore_le.h.
enBTRCoreLEGattProp _stBTRCoreLeGattInfo::enLeProp |
Definition at line 76 of file btrCore_le.h.
char* _stBTRCoreLeGattInfo::pui8Uuid |
Definition at line 77 of file btrCore_le.h.
char* _stBTRCoreLeGattInfo::pui8Value |
Definition at line 78 of file btrCore_le.h.