![]() |
RDK Documentation (Open Sourced RDK Components)
|
This file defines bluetooth manager's Persistent storage interfaces.
Data Structures | |
| struct | _stBTRMgrPersistDevice |
| This API initializes bluetooth manager's persistent storage interface. More... | |
| struct | _stBTRMgrPersistProfile |
| struct | _BTRMGR_Beacon_PersistentData_t |
| struct | _BTRMGR_PersistentData_t |
| struct | _BTRMGR_Profile_t |
Typedefs | |
| typedef void * | tBTRMgrPIHdl |
| typedef struct _stBTRMgrPersistDevice | stBTRMgrPersistDevice |
| This API initializes bluetooth manager's persistent storage interface. | |
| typedef struct _stBTRMgrPersistProfile | stBTRMgrPersistProfile |
| typedef struct _BTRMGR_Beacon_PersistentData_t | BTRMGR_Beacon_PersistentData_t |
| typedef struct _BTRMGR_PersistentData_t | BTRMGR_PersistentData_t |
| typedef struct _BTRMGR_Profile_t | BTRMGR_Profile_t |
Functions | |
| eBTRMgrRet | BTRMgr_PI_GetLEBeaconLimitingStatus (BTRMGR_Beacon_PersistentData_t *persistentData) |
| eBTRMgrRet | BTRMgr_PI_SetLEBeaconLimitingStatus (BTRMGR_Beacon_PersistentData_t *persistentData) |
| eBTRMgrRet | BTRMgr_PI_Init (tBTRMgrPIHdl *hBTRMgrPiHdl) |
| This API initializes bluetooth manager's persistent storage interface. More... | |
| eBTRMgrRet | BTRMgr_PI_DeInit (tBTRMgrPIHdl hBTRMgrPiHdl) |
| This API deinitializes bluetooth manager's persistent storage interface. More... | |
| eBTRMgrRet | BTRMgr_PI_GetAllProfiles (tBTRMgrPIHdl hBTRMgrPiHdl, BTRMGR_PersistentData_t *persistentData) |
| This API reads all bluetooth profiles from json file and saves to BTRMGR_PersistentData_t structure. More... | |
| eBTRMgrRet | BTRMgr_PI_SetAllProfiles (tBTRMgrPIHdl hBTRMgrPiHdl, BTRMGR_PersistentData_t *persistentData) |
| This API sets all bluetooth profiles. More... | |
| eBTRMgrRet | BTRMgr_PI_AddProfile (tBTRMgrPIHdl hBTRMgrPiHdl, BTRMGR_Profile_t *persistProfile) |
| This API adds a single bluetooth profile to json file. More... | |
| eBTRMgrRet | BTRMgr_PI_RemoveProfile (tBTRMgrPIHdl hBTRMgrPiHdl, BTRMGR_Profile_t *persistProfile) |
| This API removes a single bluetooth profile from json file. More... | |
| struct _stBTRMgrPersistDevice |
This API initializes bluetooth manager's persistent storage interface.
Definition at line 52 of file btrMgr_persistIface.h.

| Data Fields | ||
|---|---|---|
| unsigned long long | deviceId | |
| int | isConnected | |
| struct _stBTRMgrPersistProfile |
Definition at line 57 of file btrMgr_persistIface.h.

| Data Fields | ||
|---|---|---|
| unsigned char | numOfDevices | |
| char | profileId[64] | |
| stBTRMgrPersistDevice | deviceList[5] | |
| struct _BTRMGR_Beacon_PersistentData_t |
Definition at line 63 of file btrMgr_persistIface.h.
| Data Fields | ||
|---|---|---|
| char | limitBeaconDetection[64] | |
| struct _BTRMGR_PersistentData_t |
Definition at line 77 of file btrMgr_persistIface.h.

| Data Fields | ||
|---|---|---|
| char | adapterId[64] | |
| unsigned short | numOfProfiles | |
| stBTRMgrPersistProfile | profileList[64] | |
| char | limitBeaconDetection[64] | |
| struct _BTRMGR_Profile_t |
Definition at line 85 of file btrMgr_persistIface.h.

| Data Fields | ||
|---|---|---|
| char | adapterId[64] | |
| char | profileId[64] | |
| unsigned long long | deviceId | |
| int | isConnect | |
| eBTRMgrRet BTRMgr_PI_Init | ( | tBTRMgrPIHdl * | hBTRMgrPiHdl | ) |
This API initializes bluetooth manager's persistent storage interface.
| [in] | hBTRMgrPiHdl | Handle to the audio capture interface. |
| eBTRMgrSuccess | on success, appropriate error code otherwise. |
Definition at line 127 of file btrMgr_persistIface.c.
| eBTRMgrRet BTRMgr_PI_DeInit | ( | tBTRMgrPIHdl | hBTRMgrPiHdl | ) |
This API deinitializes bluetooth manager's persistent storage interface.
| [in] | hBTRMgrPiHdl | Handle to the audio capture interface. |
| eBTRMgrSuccess | on success, appropriate error code otherwise. |
Definition at line 145 of file btrMgr_persistIface.c.
| eBTRMgrRet BTRMgr_PI_GetAllProfiles | ( | tBTRMgrPIHdl | hBTRMgrPiHdl, |
| BTRMGR_PersistentData_t * | persistentData | ||
| ) |
This API reads all bluetooth profiles from json file and saves to BTRMGR_PersistentData_t structure.
| [in] | hBTRMgrPiHdl | Handle to the audio capture interface. |
| [out] | persistentData | Structure that fetches persistent profiles data. |
| eBTRMgrSuccess | on success, appropriate error code otherwise. |
Definition at line 370 of file btrMgr_persistIface.c.
| eBTRMgrRet BTRMgr_PI_SetAllProfiles | ( | tBTRMgrPIHdl | hBTRMgrPiHdl, |
| BTRMGR_PersistentData_t * | persistentData | ||
| ) |
This API sets all bluetooth profiles.
| [in] | hBTRMgrPiHdl | Handle to the audio capture interface. |
| [in] | persistentData | Structure that is used to set the profiles data. |
| eBTRMgrSuccess | on success, appropriate error code otherwise. |
Definition at line 552 of file btrMgr_persistIface.c.
| eBTRMgrRet BTRMgr_PI_AddProfile | ( | tBTRMgrPIHdl | hBTRMgrPiHdl, |
| BTRMGR_Profile_t * | persistProfile | ||
| ) |
This API adds a single bluetooth profile to json file.
| [in] | hBTRMgrPiHdl | Handle to the audio capture interface. |
| [in] | persistProfile | Profile to be added. |
| eBTRMgrSuccess | on success, appropriate error code otherwise. |
Definition at line 476 of file btrMgr_persistIface.c.
| eBTRMgrRet BTRMgr_PI_RemoveProfile | ( | tBTRMgrPIHdl | hBTRMgrPiHdl, |
| BTRMGR_Profile_t * | persistProfile | ||
| ) |
This API removes a single bluetooth profile from json file.
| [in] | hBTRMgrPiHdl | Handle to the persistant storage interface. |
| [in] | persistProfile | Profile to be removed. |
| eBTRMgrSuccess | on success, appropriate error code otherwise. |
Definition at line 622 of file btrMgr_persistIface.c.