|
#define | BTRMGR_MAX_STR_LEN 256 |
|
#define | BTRMGR_NAME_LEN_MAX 64 |
|
#define | BTRMGR_STR_LEN 32 |
|
#define | BTRMGR_DEVICE_COUNT_MAX 32 |
|
#define | BTRMGR_ADAPTER_COUNT_MAX 16 |
|
#define | BTRMGR_MAX_DEVICE_PROFILE 32 |
|
#define | BTRMGR_LE_FLAG_LIST_SIZE 10 |
|
#define | BTRMGR_MEDIA_ELEMENT_COUNT_MAX 64 |
|
#define | BTRMGR_DEVICE_MAC_LEN 6 |
|
#define | BTRMGR_MAX_DEV_OP_DATA_LEN BTRMGR_MAX_STR_LEN * 3 |
|
#define | BTRMGR_SERVICE_DATA_LEN_MAX 32 |
|
#define | BTRMGR_UUID_STR_LEN_MAX 64 |
|
#define | BTRMGR_DEVICE_INFORMATION_UUID "0x180a" |
|
#define | BTRMGR_RDKDIAGNOSTICS_UUID "0xFDB9" |
|
#define | BTRMGR_COLUMBO_UUID "64d9f574-7756-4ebc-9ebe-ed5f7f2871ab" |
|
#define | BTRMGR_SYSTEM_ID_UUID "0x2a23" |
|
#define | BTRMGR_MODEL_NUMBER_UUID "0x2a24" |
|
#define | BTRMGR_SERIAL_NUMBER_UUID "0x2a25" |
|
#define | BTRMGR_FIRMWARE_REVISION_UUID "0x2a26" |
|
#define | BTRMGR_HARDWARE_REVISION_UUID "0x2a27" |
|
#define | BTRMGR_SOFTWARE_REVISION_UUID "0x2a28" |
|
#define | BTRMGR_MANUFACTURER_NAME_UUID "0x2a29" |
|
#define | BTRMGR_DEVICE_STATUS_UUID "1f113f2c-cc01-4f03-9c5c-4b273ed631bb" |
|
#define | BTRMGR_FWDOWNLOAD_STATUS_UUID "915f96a6-3788-4271-a7ea-6820e98896b8" |
|
#define | BTRMGR_WEBPA_STATUS_UUID "9d5d3aae-51e3-4767-a055-59febd71de9d" |
|
#define | BTRMGR_WIFIRADIO1_STATUS_UUID "59a99d5a-3d2f-4265-af13-316c7c76b1f0" |
|
#define | BTRMGR_WIFIRADIO2_STATUS_UUID "9d6cf473-4fa6-4868-bf2b-c310f38df0c8" |
|
#define | BTRMGR_RF_STATUS_UUID "91b9497e-634c-408a-9f77-8375b1461b8b" |
|
#define | BTRMGR_COLUMBO_START "7c3fea2e-c082-4e17-b78b-1e69ca3889b9" |
|
#define | BTRMGR_COLUMBO_STOP "5a7e479b-9fac-4d73-b5b0-906669946720" |
|
#define | BTRMGR_COLUMBO_STATUS "26f05ee1-cefa-460d-8985-98c0dc078d6c" |
|
#define | BTRMGR_COLUMBO_REPORT "c1e62616-b4de-4f72-86ca-9d9469041b6d" |
|
#define | BTRMGR_DEVICE_MAC "device_mac" |
|
#define | BTRMGR_WIFI_CONNECT_DUMMY_UUID "4ffab12b-e545-1baf-1dc6-bd3fd749716a" |
|
#define | BTRMGR_WIFI_SSID_DUMMY_UUID "22d68435-f7af-1156-b2e2-c7d17211b026" |
|
#define | BTRMGR_WIFI_PWD_DUMMY_UUID "6bfebfe7-294d-2f4e-a4b3-b04f2a66f2f0" |
|
#define | BTRMGR_WIFI_SEC_MODE_DUMMY_UUID "112f9c72-82c1-93a3-d4fc-3dba3441b2c8" |
|
#define | BTRMGR_LEONBRDG_SERVICE_UUID_SETUP "8DF5AD72-9BBC-4167-BCD9-E8EB9E4D671B" |
|
#define | BTRMGR_LEONBRDG_UUID_QR_CODE "12984C43-3B43-4952-A387-715DCF9795C6" |
|
#define | BTRMGR_LEONBRDG_UUID_PROVISION_STATUS "79DEFBC1-EB45-448D-9F2A-1ECC3A47A242" |
|
#define | BTRMGR_LEONBRDG_UUID_PUBLIC_KEY "CB9FEE4D-C6ED-48C1-AB46-C3F2DA38EEDD" |
|
#define | BTRMGR_LEONBRDG_UUID_WIFI_CONFIG "B87A896B-4052-4CAB-A7E7-A71594D9C353" |
|
#define | BTRMGR_LEONBRDG_UUID_SSID_LIST "AAF92F88-7F35-48F1-9C3E-1FE5C3978B7A" |
|
|
BTRMGR_Result_t | BTRMGR_Init (void) |
| This API initializes the bluetooth manager. More...
|
|
BTRMGR_Result_t | BTRMGR_DeInit (void) |
| This API invokes the deinit function of bluetooth core and persistant interface module. More...
|
|
BTRMGR_Result_t | BTRMGR_RegisterForCallbacks (const char *apcProcessName) |
| This API registers all the IARM call backs for BTRMGR and Third party Clients. More...
|
|
BTRMGR_Result_t | BTRMGR_UnRegisterFromCallbacks (const char *apcProcessName) |
| This API Unregisters all the IARM call backs for BTRMGR and Third party Clients. More...
|
|
BTRMGR_Result_t | BTRMGR_GetNumberOfAdapters (unsigned char *pNumOfAdapters) |
| This API returns the number of bluetooth adapters available. More...
|
|
BTRMGR_Result_t | BTRMGR_ResetAdapter (unsigned char aui8AdapterIdx) |
| This API is designed to reset the bluetooth adapter. More...
|
|
BTRMGR_Result_t | BTRMGR_SetAdapterName (unsigned char aui8AdapterIdx, const char *pNameOfAdapter) |
| This API is used to set the new name to the bluetooth adapter. More...
|
|
BTRMGR_Result_t | BTRMGR_GetAdapterName (unsigned char aui8AdapterIdx, char *pNameOfAdapter) |
| This API fetches the bluetooth adapter name. More...
|
|
BTRMGR_Result_t | BTRMGR_SetAdapterPowerStatus (unsigned char aui8AdapterIdx, unsigned char power_status) |
| This API sets the bluetooth adapter power to ON/OFF. More...
|
|
BTRMGR_Result_t | BTRMGR_GetAdapterPowerStatus (unsigned char aui8AdapterIdx, unsigned char *pPowerStatus) |
| This API fetches the power status, either 0 or 1. More...
|
|
BTRMGR_Result_t | BTRMGR_SetAdapterDiscoverable (unsigned char aui8AdapterIdx, unsigned char discoverable, int timeout) |
| This API is to make the adapter discoverable until the given timeout. More...
|
|
BTRMGR_Result_t | BTRMGR_IsAdapterDiscoverable (unsigned char aui8AdapterIdx, unsigned char *pDiscoverable) |
| This API checks the adapter is discoverable or not. More...
|
|
BTRMGR_Result_t | BTRMGR_StartDeviceDiscovery (unsigned char aui8AdapterIdx, BTRMGR_DeviceOperationType_t aenBTRMgrDevOpT) |
| This API initiates the scanning process. More...
|
|
BTRMGR_Result_t | BTRMGR_StopDeviceDiscovery (unsigned char aui8AdapterIdx, BTRMGR_DeviceOperationType_t aenBTRMgrDevOpT) |
| This API terminates the scanning process. More...
|
|
BTRMGR_Result_t | BTRMGR_GetDiscoveryStatus (unsigned char aui8AdapterIdx, BTRMGR_DiscoveryStatus_t *aeDiscoveryStatus, BTRMGR_DeviceOperationType_t *aenBTRMgrDevOpT) |
| This API gives the discovery status. More...
|
|
BTRMGR_Result_t | BTRMGR_GetDiscoveredDevices (unsigned char aui8AdapterIdx, BTRMGR_DiscoveredDevicesList_t *pDiscoveredDevices) |
| This API fetches the list of devices scanned. More...
|
|
BTRMGR_Result_t | BTRMGR_PairDevice (unsigned char aui8AdapterIdx, BTRMgrDeviceHandle ahBTRMgrDevHdl) |
| This API is used to pair the device that you wish to pair. More...
|
|
BTRMGR_Result_t | BTRMGR_UnpairDevice (unsigned char aui8AdapterIdx, BTRMgrDeviceHandle ahBTRMgrDevHdl) |
| This API is used to remove the pairing information of the device selected. More...
|
|
BTRMGR_Result_t | BTRMGR_GetPairedDevices (unsigned char aui8AdapterIdx, BTRMGR_PairedDevicesList_t *pPairedDevices) |
| This API returns the list of devices paired. More...
|
|
BTRMGR_Result_t | BTRMGR_ConnectToDevice (unsigned char aui8AdapterIdx, BTRMgrDeviceHandle ahBTRMgrDevHdl, BTRMGR_DeviceOperationType_t connectAs) |
| This API connects the device as audio sink/headset/audio src based on the device type specified. More...
|
|
BTRMGR_Result_t | BTRMGR_DisconnectFromDevice (unsigned char aui8AdapterIdx, BTRMgrDeviceHandle ahBTRMgrDevHdl) |
| This API terminates the current connection. More...
|
|
BTRMGR_Result_t | BTRMGR_GetConnectedDevices (unsigned char aui8AdapterIdx, BTRMGR_ConnectedDevicesList_t *pConnectedDevices) |
| This API returns the list of devices connected. More...
|
|
BTRMGR_Result_t | BTRMGR_GetDeviceProperties (unsigned char aui8AdapterIdx, BTRMgrDeviceHandle ahBTRMgrDevHdl, BTRMGR_DevicesProperty_t *pDeviceProperty) |
| This API returns the device information that includes the device name, mac address, RSSI value etc. More...
|
|
BTRMGR_Result_t | BTRMGR_StartAudioStreamingOut_StartUp (unsigned char aui8AdapterIdx, BTRMGR_DeviceOperationType_t aenBTRMgrDevConT) |
| This API initates the streaming from the device with default operation type. More...
|
|
BTRMGR_Result_t | BTRMGR_StartAudioStreamingOut (unsigned char aui8AdapterIdx, BTRMgrDeviceHandle ahBTRMgrDevHdl, BTRMGR_DeviceOperationType_t connectAs) |
| This API initates the streaming from the device with the selected operation type. More...
|
|
BTRMGR_Result_t | BTRMGR_StopAudioStreamingOut (unsigned char aui8AdapterIdx, BTRMgrDeviceHandle ahBTRMgrDevHdl) |
| This API terminates the streaming from the device. More...
|
|
BTRMGR_Result_t | BTRMGR_IsAudioStreamingOut (unsigned char aui8AdapterIdx, unsigned char *pStreamingStatus) |
| This API returns the stream out status. More...
|
|
BTRMGR_Result_t | BTRMGR_SetAudioStreamingOutType (unsigned char aui8AdapterIdx, BTRMGR_StreamOut_Type_t type) |
| This API is to set the audio type as primary or secondary. More...
|
|
BTRMGR_Result_t | BTRMGR_StartAudioStreamingIn (unsigned char aui8AdapterIdx, BTRMgrDeviceHandle ahBTRMgrDevHdl, BTRMGR_DeviceOperationType_t connectAs) |
| This API starts the audio streaming. More...
|
|
BTRMGR_Result_t | BTRMGR_StopAudioStreamingIn (unsigned char aui8AdapterIdx, BTRMgrDeviceHandle ahBTRMgrDevHdl) |
| This API termines the audio streaming. More...
|
|
BTRMGR_Result_t | BTRMGR_IsAudioStreamingIn (unsigned char aui8AdapterIdx, unsigned char *pStreamingStatus) |
| This API returns the audio streaming status. More...
|
|
BTRMGR_Result_t | BTRMGR_SetEventResponse (unsigned char aui8AdapterIdx, BTRMGR_EventResponse_t *apstBTRMgrEvtRsp) |
| This API handles the events received. More...
|
|
BTRMGR_Result_t | BTRMGR_MediaControl (unsigned char aui8AdapterIdx, BTRMgrDeviceHandle ahBTRMgrDevHdl, BTRMGR_MediaControlCommand_t mediaCtrlCmd) |
| This API is used to perform the media control operations. More...
|
|
BTRMGR_Result_t | BTRMGR_GetDeviceVolumeMute (unsigned char aui8AdapterIdx, BTRMgrDeviceHandle ahBTRMgrDevHdl, BTRMGR_DeviceOperationType_t deviceOpType, unsigned char *pui8Volume, unsigned char *pui8Mute) |
| This API is used to fetch the media volume and mute data. More...
|
|
BTRMGR_Result_t | BTRMGR_SetDeviceVolumeMute (unsigned char aui8AdapterIdx, BTRMgrDeviceHandle ahBTRMgrDevHdl, BTRMGR_DeviceOperationType_t deviceOpType, unsigned char ui8Volume, unsigned char ui8Mute) |
| This API is used to set the media volume and mute data. More...
|
|
BTRMGR_Result_t | BTRMGR_GetMediaTrackInfo (unsigned char aui8AdapterIdx, BTRMgrDeviceHandle ahBTRMgrDevHdl, BTRMGR_MediaTrackInfo_t *mediaTrackInfo) |
| This API fetches the media track info like title, genre, duration, number of tracks, current track number. More...
|
|
BTRMGR_Result_t | BTRMGR_GetMediaElementTrackInfo (unsigned char aui8AdapterIdx, BTRMgrDeviceHandle ahBTRMgrDevHdl, BTRMgrMediaElementHandle ahBTRMgrMedElementHdl, BTRMGR_MediaTrackInfo_t *mediaTrackInfo) |
| This API fetches the media track info like title, genre, duration, number of tracks, current track number. More...
|
|
BTRMGR_Result_t | BTRMGR_GetMediaCurrentPosition (unsigned char aui8AdapterIdx, BTRMgrDeviceHandle ahBTRMgrDevHdl, BTRMGR_MediaPositionInfo_t *mediaPositionInfo) |
| This API fetches the current position and total duration of the media. More...
|
|
BTRMGR_Result_t | BTRMGR_SetMediaElementActive (unsigned char aui8AdapterIdx, BTRMgrDeviceHandle ahBTRMgrDevHdl, BTRMgrMediaElementHandle ahBTRMgrMedElementHdl, BTRMGR_MediaElementType_t aMediaElementType) |
| This API sets the mentioned media element list active/in_scope for further operations on it. More...
|
|
BTRMGR_Result_t | BTRMGR_GetMediaElementList (unsigned char aui8AdapterIdx, BTRMgrDeviceHandle ahBTRMgrDevHdl, BTRMgrMediaElementHandle ahBTRMgrMedElementHdl, unsigned short aui16MediaElementStartIdx, unsigned short aui16MediaElementEndIdx, unsigned char abMediaElementListDepth, BTRMGR_MediaElementType_t aMediaElementType, BTRMGR_MediaElementListInfo_t *aMediaElementListInfo) |
| This API gets the media element list. More...
|
|
BTRMGR_Result_t | BTRMGR_SelectMediaElement (unsigned char aui8AdapterIdx, BTRMgrDeviceHandle ahBTRMgrDevHdl, BTRMgrMediaElementHandle ahBTRMgrMedElementHdl, BTRMGR_MediaElementType_t aMediaElementType) |
| This API performs operation based on the element type selected. More...
|
|
const char * | BTRMGR_GetDeviceTypeAsString (BTRMGR_DeviceType_t type) |
| This API fetches the Device name of the media. More...
|
|
BTRMGR_Result_t | BTRMGR_SetAudioInServiceState (unsigned char aui8AdapterIdx, unsigned char aui8State) |
| This API Enable/Disables Audio-In on the specified bluetooth adapter. More...
|
|
BTRMGR_Result_t | BTRMGR_SetHidGamePadServiceState (unsigned char aui8AdapterIdx, unsigned char aui8State) |
| This API Enable/Disables Hid GamePad on the specified bluetooth adapter. More...
|
|
BTRMGR_Result_t | BTRMGR_GetLimitBeaconDetection (unsigned char aui8AdapterIdx, unsigned char *isLimited) |
| This API Gets Beacon Detection status on the specified bluetooth adapter. More...
|
|
BTRMGR_Result_t | BTRMGR_SetLimitBeaconDetection (unsigned char aui8AdapterIdx, unsigned char isLimited) |
| This API Sets Beacon Detection status on the specified bluetooth adapter. More...
|
|
BTRMGR_Result_t | BTRMGR_GetLeProperty (unsigned char aui8AdapterIdx, BTRMgrDeviceHandle ahBTRMgrDevHdl, const char *apBtrPropUuid, BTRMGR_LeProperty_t aenLeProperty, void *vpPropValue) |
|
BTRMGR_Result_t | BTRMGR_GetLeCharacteristicUUID (unsigned char aui8AdapterIdx, BTRMgrDeviceHandle ahBTRMgrDevHdl, const char *apBtrServiceUuid, char *apBtrCharUuidList) |
| This API fetches the characteristic uuid of Le device. More...
|
|
BTRMGR_Result_t | BTRMGR_PerformLeOp (unsigned char aui8AdapterIdx, BTRMgrDeviceHandle ahBTRMgrDevHdl, const char *aBtrLeUuid, BTRMGR_LeOp_t aLeOpType, char *aLeOpArg, char *rOpResult) |
| This API performs LE operations on the specified bluetooth adapter. More...
|
|
BTRMGR_Result_t | BTRMGR_LE_StartAdvertisement (unsigned char aui8AdapterIdx, BTRMGR_LeCustomAdvertisement_t *pstBTMGR_LeCustomAdvt) |
|
BTRMGR_Result_t | BTRMGR_LE_StopAdvertisement (unsigned char aui8AdapterIdx) |
|
BTRMGR_Result_t | BTRMGR_LE_GetPropertyValue (unsigned char aui8AdapterIdx, char *lUUID, char *aValue, BTRMGR_LeProperty_t aElement) |
|
BTRMGR_Result_t | BTRMGR_LE_SetServiceUUIDs (unsigned char aui8AdapterIdx, char *aUUID) |
|
BTRMGR_Result_t | BTRMGR_LE_SetServiceInfo (unsigned char aui8AdapterIdx, char *aUUID, unsigned char aServiceType) |
|
BTRMGR_Result_t | BTRMGR_LE_SetGattInfo (unsigned char aui8AdapterIdx, char *aParentUUID, char *aCharUUID, unsigned short aFlags, char *aValue, BTRMGR_LeProperty_t aElement) |
|
BTRMGR_Result_t | BTRMGR_LE_SetGattPropertyValue (unsigned char aui8AdapterIdx, char *aUUID, char *aValue, BTRMGR_LeProperty_t aElement) |
|
BTRMGR_Result_t | BTRMGR_SysDiagInfo (unsigned char aui8AdapterIdx, char *apDiagElement, char *apValue, BTRMGR_LeOp_t aOpType) |
|
BTRMGR_Result_t | BTRMGR_ConnectToWifi (unsigned char aui8AdapterIdx, char *apSSID, char *apPassword, int aSecMode) |
|
BTRMGR_Result_t | BTRMGR_RegisterEventCallback (BTRMGR_EventCallback afpcBBTRMgrEventOut) |
|