FreeRTOS: BLE
BLE
Return to main page ↑
bt_hal_manager_adapter_ble.h File Reference
#include <stdint.h>
#include "bt_hal_gatt_types.h"
#include "bt_hal_manager_types.h"
#include "bt_hal_manager.h"

Go to the source code of this file.

Data Structures

struct  BTGattFiltParamSetup_t
 Scan Filter Parameters. More...
 
struct  BTGattAdvName_t
 Advertising Name Format. More...
 
struct  BTGattAdvertismentParams_t
 Advertising Parameters. More...
 
struct  BTLocalLeFeatures_t
 Local supported LE features. More...
 
struct  BTBleProperty_t
 BLE Device Property. More...
 
struct  BTBleAdapterCallbacks_t
 Callback structure for BLE adapter. More...
 
struct  BTBleAdapter_t
 BLE adapter API. More...
 

Typedefs

typedef void(* BTRegisterBleAdapterCallback_t) (BTStatus_t xStatus, uint8_t ucAdapterIf, BTUuid_t *pxAppUuid)
 Callback invoked in response pxRegisterBleApp. More...
 
typedef void(* BTBleDevicePropertiesCallback_t) (BTStatus_t xStatus, uint32_t ulNumProperties, BTBleProperty_t *pxProperties)
 Callback invoked in response to pxGetBleAdapterProperty and pxSetBleAdapterProperty. More...
 
typedef void(* BTBleRemoteDevicePropertiesCallback_t) (BTStatus_t xStatus, BTBdaddr_t *pxBdAddr, uint32_t ulNumProperties, BTBleProperty_t *pxProperties)
 Callback invoked in response to pxGetBleRemoteDeviceProperty and pxSetBleRemoteDeviceProperty. More...
 
typedef void(* BTScanResultCallback_t) (BTBdaddr_t *pxBda, uint32_t ulRssi, uint8_t *pucAdvData)
 Callback invoked in response to pxScan. More...
 
typedef void(* BTAdvStatusCallback_t) (BTStatus_t xStatus, uint8_t ucAdapterIf, bool bStart)
 Callback invoked on pxStartAdv and stop advertisement. More...
 
typedef void(* BTSetAdvDataCallback_t) (BTStatus_t xStatus)
 Callback invoked on pxSetAdvData. More...
 
typedef void(* BTConnParameterUpdateCallback_t) (BTStatus_t xStatus, const BTBdaddr_t *pxBdAddr, uint32_t ulMinInterval, uint32_t ulMaxInterval, uint32_t ulLatency, uint32_t usConnInterval, uint32_t ulTimeout)
 Callback invoked on when a peer device makes a request. The callback is triggered by pxConnParameterUpdateRequest. More...
 
typedef void(* BTScanFilterCfgCallback_t) (uint32_t ulAction, uint8_t ucAdapterIf, BTStatus_t xStatus, uint32_t ulFiltType, uint32_t ulAvblSpace)
 Callback invoked when a scan filter configuration command has completed. More...
 
typedef void(* BTScanFilterParamCallback_t) (uint32_t ulAction, uint8_t ucAdapterIf, BTStatus_t xStatus, uint32_t ulAvblSpace)
 Callback invoked on pxScanFilterParamSetup. More...
 
typedef void(* BTScanFilterStatusCallback_t) (bool bEnable, uint8_t ucAdapterIf, BTStatus_t xStatus)
 Callback invoked on pxScanFilterEnable. More...
 
typedef void(* BTMultiAdvEnableCallback_t) (uint8_t ucAdapterIf, BTStatus_t xStatus)
 Callback invoked on pxMultiAdvEnable. More...
 
typedef void(* BTMultiAdvUpdateCallback_t) (uint8_t ucAdapterIf, BTStatus_t xStatus)
 Callback invoked on pxMultiAdvUpdate. More...
 
typedef void(* BTMultiAdvDataCallback_t) (uint8_t ucAdapterIf, BTStatus_t xStatus)
 Callback invoked on pxMultiAdvSetInstData and pxMultiAdvSetInstRawData. More...
 
typedef void(* BTMultiAdvDisableCallback_t) (uint8_t ucAdapterIf, BTStatus_t xStatus)
 Callback invoked on pxMultiAdvDisable. More...
 
typedef void(* BTBatchscanCfgStorageCallback_t) (uint8_t ucAdapterIf, BTStatus_t xStatus)
 Callback invoked on pxBatchscanCfgStorage. More...
 
typedef void(* BTBatchscanEnableDisableCallback_t) (uint32_t ulAction, uint8_t ucAdapterIf, BTStatus_t xStatus)
 Callback invoked on pxBatchscanDisBatchScan and TBD. More...
 
typedef void(* BTBatchscanReportsCallback_t) (uint8_t ucAdapterIf, BTStatus_t xStatus, uint32_t ulReportFormat, uint32_t ulNumRecords, size_t XDataLen, uint8_t *pucRepData)
 Callback invoked on pxBatchscanReadReports. More...
 
typedef void(* BTBatchscanThresholdCallback_t) (uint8_t ucAdapterIf)
 Callback invoked when batchscan storage threshold limit is crossed. More...
 
typedef void(* BTTrackAdvEventCallback_t) (BTGattTrackAdvInfo_t *pxTrackAdvInfo)
 Track ADV VSE callback invoked when tracked device is found or lost. More...
 
typedef void(* BTScanParameterSetupCompletedCallback_t) (uint8_t ucAdapterIf, BTStatus_t xStatus)
 Callback invoked when scan parameter setup has completed. More...
 
typedef void(* BTPhyUpdatedCallback_t) (uint16_t usConnId, uint8_t ucTxPhy, uint8_t ucRxPhy, BTStatus_t xStatus)
 Callback invoked on pxSetPreferredPhy. More...
 
typedef void(* BTReadClientPhyCallback_t) (uint16_t usConnId, uint8_t ucTxPhy, uint8_t ucRxPhy, BTStatus_t xStatus)
 Callback invoked on pxReadPhy. More...
 

Enumerations

enum  BTAddrType_t { BTAddrTypePublic, BTAddrTypeRandom, BTAddrTypeStaticRandom, BTAddrTypeResolvable }
 Advertising Address Type.
 
enum  BTAdvProperties_t { BTAdvInd, BTAdvDirectInd, BTAdvNonconnInd }
 Advertising Type.
 
enum  BTBlePropertyType_t { eBTPropertyLocalLeFeatures }
 BLE device property type. More...