Go to the documentation of this file.
41 #ifndef _BT_HAL_MANAGER_ADAPTER_BLE_H_
42 #define _BT_HAL_MANAGER_ADAPTER_BLE_H_
58 uint16_t usListLogicType;
59 uint8_t ucFiltLogicType;
60 uint8_t ucRssiHighThres;
61 uint8_t ucRssiLowThres;
63 uint16_t usFoundTimeout;
64 uint16_t usLostTimeout;
65 uint8_t ucFoundTimeout_cnt;
66 uint16_t usNumOfTrackingEntries;
76 BTAddrTypeStaticRandom,
101 uint8_t ucShortNameLen;
112 bool bIncludeTxPower;
115 uint32_t ulAppearance;
125 uint8_t ucChannelMap;
129 uint8_t ucPrimaryAdvertisingPhy;
130 uint8_t ucSecondaryAdvertisingPhy;
139 uint16_t usVersionSupported;
140 uint8_t ucLocalPrivacyEnabled;
141 uint8_t ucMaxAdvInstance;
142 uint8_t ucRpaOffloadSupported;
143 uint8_t ucMaxIrkListSize;
144 uint8_t ucMaxAdFilterSupported;
145 uint8_t ucActivityEnergyInfoSupported;
146 uint16_t usScanResultStorageSize;
147 uint16_t usTotalTrackableAdvertisers;
148 bool bExtendedScanSupport;
149 bool bDebugLoggingSupported;
198 uint32_t ulNumProperties,
212 uint32_t ulNumProperties,
225 uint8_t * pucAdvData );
264 uint32_t ulMinInterval,
265 uint32_t ulMaxInterval,
267 uint32_t usConnInterval,
268 uint32_t ulTimeout );
284 uint32_t ulAvblSpace );
298 uint32_t ulAvblSpace );
388 uint32_t ulReportFormat,
389 uint32_t ulNumRecords,
391 uint8_t * pucRepData );
670 uint32_t ulFiltIndex,
671 uint32_t ulCompanyId,
672 uint32_t ulCompanyIdMask,
691 uint32_t ulFiltIndex );
733 uint16_t usManufacturerLen,
734 char * pcManufacturerData,
735 uint16_t usServiceDataLen,
736 char * pcServiceData,
738 size_t xNbServices );
767 uint32_t ulMinInterval,
768 uint32_t ulMaxInterval,
770 uint32_t ulTimeout );
782 uint32_t ulScanInterval,
783 uint32_t ulScanWindow );
828 uint32_t ulAppearance,
829 size_t xManufacturerLen,
830 char * pcManufacturerData,
831 size_t xServiceDataLen,
832 char * pcServiceData,
834 size_t xNbServices );
856 uint32_t ulBatchScanFullMax,
857 uint32_t ulBatchScanTruncMax,
858 uint32_t ulBatchScanNotifyThreshold );
874 BTStatus_t ( * pxBatchscanEndBatchScan )( uint8_t ucAdapterIf,
876 uint32_t ulScanInterval,
877 uint32_t ulScanWindow,
879 uint32_t ulDiscardRule );
888 BTStatus_t ( * pxBatchscanDisBatchScan )( uint8_t ucAdapterIf );
898 BTStatus_t ( * pxBatchscanReadReports )( uint8_t ucAdapterIf,
899 uint32_t ulScanMode );
914 uint16_t usPhyOptions );
931 const void * ( *ppvGetGattClientInterface )( );
937 const void * ( *ppvGetGattServerInterface )( );
951 BTStatus_t ( * pxMultiAdvSetInstRawData )( uint8_t ucAdapterIf,
void(* BTReadRemoteRssiCallback_t)(uint8_t ucClientIf, BTBdaddr_t *pxBda, uint32_t ulRssi, BTStatus_t xStatus)
Definition: bt_hal_gatt_types.h:301
uint16_t usMaxAdvInterval
Definition: bt_hal_manager_adapter_ble.h:122
BLE Device Property.
Definition: bt_hal_manager_adapter_ble.h:169
void(* BTDisconnectCallback_t)(uint16_t usConnId, BTGattStatus_t xStatus, uint8_t ucClientIf, BTBdaddr_t *pxBda)
Definition: bt_hal_gatt_types.h:294
UUID.
Definition: bt_hal_manager_types.h:84
void(* BTConnectCallback_t)(uint16_t usConnId, BTGattStatus_t xStatus, uint8_t ucClientIf, BTBdaddr_t *pxBda)
Definition: bt_hal_gatt_types.h:288
void(* BTAdvStatusCallback_t)(BTStatus_t xStatus, uint8_t ucAdapterIf, bool bStart)
Callback invoked on pxStartAdv and stop advertisement.
Definition: bt_hal_manager_adapter_ble.h:237
void(* BTScanFilterParamCallback_t)(uint32_t ulAction, uint8_t ucAdapterIf, BTStatus_t xStatus, uint32_t ulAvblSpace)
Callback invoked on pxScanFilterParamSetup.
Definition: bt_hal_manager_adapter_ble.h:295
void(* BTPhyUpdatedCallback_t)(uint16_t usConnId, uint8_t ucTxPhy, uint8_t ucRxPhy, BTStatus_t xStatus)
Callback invoked on pxSetPreferredPhy.
Definition: bt_hal_manager_adapter_ble.h:429
void(* BTBatchscanEnableDisableCallback_t)(uint32_t ulAction, uint8_t ucAdapterIf, BTStatus_t xStatus)
Callback invoked on pxBatchscanDisBatchScan and TBD.
Definition: bt_hal_manager_adapter_ble.h:371
void(* BTMultiAdvUpdateCallback_t)(uint8_t ucAdapterIf, BTStatus_t xStatus)
Callback invoked on pxMultiAdvUpdate.
Definition: bt_hal_manager_adapter_ble.h:329
@ eBTPropertyLocalLeFeatures
Definition: bt_hal_manager_adapter_ble.h:162
void(* BTReadClientPhyCallback_t)(uint16_t usConnId, uint8_t ucTxPhy, uint8_t ucRxPhy, BTStatus_t xStatus)
Callback invoked on pxReadPhy.
Definition: bt_hal_manager_adapter_ble.h:443
uint32_t ulMinInterval
Definition: bt_hal_manager_adapter_ble.h:116
BTBlePropertyType_t
BLE device property type.
Definition: bt_hal_manager_adapter_ble.h:156
BTStatus_t
Bluetooth Error Status .
Definition: bt_hal_manager_types.h:98
Callback structure for BLE adapter.
Definition: bt_hal_manager_adapter_ble.h:452
uint16_t usTimeout
Definition: bt_hal_manager_adapter_ble.h:128
void(* BTBleDevicePropertiesCallback_t)(BTStatus_t xStatus, uint32_t ulNumProperties, BTBleProperty_t *pxProperties)
Callback invoked in response to pxGetBleAdapterProperty and pxSetBleAdapterProperty.
Definition: bt_hal_manager_adapter_ble.h:197
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.
Definition: bt_hal_manager_adapter_ble.h:280
uint8_t ucTimeout
Definition: bt_hal_manager_adapter_ble.h:127
void(* BTScanResultCallback_t)(BTBdaddr_t *pxBda, uint32_t ulRssi, uint8_t *pucAdvData)
Callback invoked in response to pxScan.
Definition: bt_hal_manager_adapter_ble.h:223
void(* BTCongestionCallback_t)(uint16_t usConnId, bool bCongested)
Definition: bt_hal_gatt_types.h:311
Scan Filter Parameters.
Definition: bt_hal_manager_adapter_ble.h:53
Advertising Name Format.
Definition: bt_hal_manager_adapter_ble.h:94
void(* BTBleRemoteDevicePropertiesCallback_t)(BTStatus_t xStatus, BTBdaddr_t *pxBdAddr, uint32_t ulNumProperties, BTBleProperty_t *pxProperties)
Callback invoked in response to pxGetBleRemoteDeviceProperty and pxSetBleRemoteDeviceProperty.
Definition: bt_hal_manager_adapter_ble.h:210
T HAL provides the standard defintions used by BT GATT interfaces.
BTAdvProperties_t
Advertising Type.
Definition: bt_hal_manager_adapter_ble.h:84
uint32_t ulMaxInterval
Definition: bt_hal_manager_adapter_ble.h:117
void(* BTScanFilterStatusCallback_t)(bool bEnable, uint8_t ucAdapterIf, BTStatus_t xStatus)
Callback invoked on pxScanFilterEnable.
Definition: bt_hal_manager_adapter_ble.h:308
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 pxConnParameterU...
Definition: bt_hal_manager_adapter_ble.h:262
void(* BTScanParameterSetupCompletedCallback_t)(uint8_t ucAdapterIf, BTStatus_t xStatus)
Callback invoked when scan parameter setup has completed.
Definition: bt_hal_manager_adapter_ble.h:417
void(* BTMultiAdvDataCallback_t)(uint8_t ucAdapterIf, BTStatus_t xStatus)
Callback invoked on pxMultiAdvSetInstData and pxMultiAdvSetInstRawData.
Definition: bt_hal_manager_adapter_ble.h:339
Local supported LE features.
Definition: bt_hal_manager_adapter_ble.h:138
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.
Definition: bt_hal_manager_adapter_ble.h:386
void(* BTRegisterBleAdapterCallback_t)(BTStatus_t xStatus, uint8_t ucAdapterIf, BTUuid_t *pxAppUuid)
Callback invoked in response pxRegisterBleApp.
Definition: bt_hal_manager_adapter_ble.h:185
BTTransport_t
Preferred physical Transport for GATT connection .
Definition: bt_hal_manager.h:108
void(* BTTrackAdvEventCallback_t)(BTGattTrackAdvInfo_t *pxTrackAdvInfo)
Track ADV VSE callback invoked when tracked device is found or lost.
Definition: bt_hal_manager_adapter_ble.h:407
void(* BTSetAdvDataCallback_t)(BTStatus_t xStatus)
Callback invoked on pxSetAdvData.
Definition: bt_hal_manager_adapter_ble.h:247
BLE adapter API.
Definition: bt_hal_manager_adapter_ble.h:486
uint16_t usMinAdvInterval
Definition: bt_hal_manager_adapter_ble.h:118
BT/BLE address.
Definition: bt_hal_manager_types.h:67
BTAddrType_t
Advertising Address Type.
Definition: bt_hal_manager_adapter_ble.h:73
Structure that contains all advertisements info. Used to compress parameters in BTTrackAdvEventCallba...
Definition: bt_hal_gatt_types.h:166
void(* BTMultiAdvEnableCallback_t)(uint8_t ucAdapterIf, BTStatus_t xStatus)
Callback invoked on pxMultiAdvEnable.
Definition: bt_hal_manager_adapter_ble.h:319
Advertising Parameters.
Definition: bt_hal_manager_adapter_ble.h:110
void(* BTBatchscanThresholdCallback_t)(uint8_t ucAdapterIf)
Callback invoked when batchscan storage threshold limit is crossed.
Definition: bt_hal_manager_adapter_ble.h:399
void(* BTBatchscanCfgStorageCallback_t)(uint8_t ucAdapterIf, BTStatus_t xStatus)
Callback invoked on pxBatchscanCfgStorage.
Definition: bt_hal_manager_adapter_ble.h:360
void(* BTMultiAdvDisableCallback_t)(uint8_t ucAdapterIf, BTStatus_t xStatus)
Callback invoked on pxMultiAdvDisable.
Definition: bt_hal_manager_adapter_ble.h:350