FreeRTOS: BLE
BLE
Return to main page ↑
bt_hal_manager_adapter_ble.h
Go to the documentation of this file.
1 /*
2  * FreeRTOS BLE HAL V5.0.0
3  * Copyright (C) 2020 Amazon.com, Inc. or its affiliates. All Rights Reserved.
4  *
5  * Permission is hereby granted, free of charge, to any person obtaining a copy of
6  * this software and associated documentation files (the "Software"), to deal in
7  * the Software without restriction, including without limitation the rights to
8  * use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of
9  * the Software, and to permit persons to whom the Software is furnished to do so,
10  * subject to the following conditions:
11  *
12  * The above copyright notice and this permission notice shall be included in all
13  * copies or substantial portions of the Software.
14  *
15  * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16  * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS
17  * FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR
18  * COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER
19  * IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
20  * CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
21  *
22  * http://aws.amazon.com/freertos
23  * http://www.FreeRTOS.org
24  */
25 
41 #ifndef _BT_HAL_MANAGER_ADAPTER_BLE_H_
42 #define _BT_HAL_MANAGER_ADAPTER_BLE_H_
43 
44 #include <stdint.h>
45 #include "bt_hal_gatt_types.h"
46 #include "bt_hal_manager_types.h"
47 #include "bt_hal_manager.h"
48 
52 typedef struct
53 {
54  uint8_t ucAdapterIf;
55  uint8_t ucAction;
56  uint8_t ucFiltIndex;
57  uint16_t usFeatSeln;
58  uint16_t usListLogicType;
59  uint8_t ucFiltLogicType;
60  uint8_t ucRssiHighThres;
61  uint8_t ucRssiLowThres;
62  uint8_t ucDelayMode;
63  uint16_t usFoundTimeout;
64  uint16_t usLostTimeout;
65  uint8_t ucFoundTimeout_cnt;
66  uint16_t usNumOfTrackingEntries;
68 
72 typedef enum
73 {
74  BTAddrTypePublic,
75  BTAddrTypeRandom,
76  BTAddrTypeStaticRandom,
77  BTAddrTypeResolvable,
78 } BTAddrType_t;
79 
83 typedef enum
84 {
85  BTAdvInd,
86  BTAdvDirectInd,
87  BTAdvNonconnInd,
89 
93 typedef struct
94 {
95  enum
96  {
97  BTGattAdvNameNone,
98  BTGattAdvNameShort,
99  BTGattAdvNameComplete
100  } xType;
101  uint8_t ucShortNameLen;
103 
104 /*TODO enum for usAdvertisingEventProperties */
105 
109 typedef struct
110 {
111  BTAdvProperties_t usAdvertisingEventProperties;
112  bool bIncludeTxPower;
113  BTGattAdvName_t ucName;
114  bool bSetScanRsp;
115  uint32_t ulAppearance;
116  uint32_t ulMinInterval;
117  uint32_t ulMaxInterval;
118  uint16_t usMinAdvInterval;
122  uint16_t usMaxAdvInterval;
125  uint8_t ucChannelMap;
126  uint8_t ucTxPower;
127  uint8_t ucTimeout;
128  uint16_t usTimeout;
129  uint8_t ucPrimaryAdvertisingPhy; /* 5.0 Specific interface */
130  uint8_t ucSecondaryAdvertisingPhy; /* 5.0 Specific interface */
131  BTAddrType_t xAddrType;
133 
137 typedef struct
138 {
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;
151 
155 typedef enum
156 {
164 
168 typedef struct
169 {
170  BTBlePropertyType_t xType;
171  size_t xLen;
172  void * pvVal;
174 
185 typedef void (* BTRegisterBleAdapterCallback_t)( BTStatus_t xStatus,
186  uint8_t ucAdapterIf,
187  BTUuid_t * pxAppUuid );
188 
197 typedef void (* BTBleDevicePropertiesCallback_t)( BTStatus_t xStatus,
198  uint32_t ulNumProperties,
199  BTBleProperty_t * pxProperties );
200 
211  BTBdaddr_t * pxBdAddr,
212  uint32_t ulNumProperties,
213  BTBleProperty_t * pxProperties );
214 
223 typedef void (* BTScanResultCallback_t)( BTBdaddr_t * pxBda,
224  uint32_t ulRssi,
225  uint8_t * pucAdvData );
226 
237 typedef void (* BTAdvStatusCallback_t)( BTStatus_t xStatus,
238  uint8_t ucAdapterIf,
239  bool bStart );
240 
247 typedef void (* BTSetAdvDataCallback_t) ( BTStatus_t xStatus );
248 
262 typedef void ( * BTConnParameterUpdateCallback_t )( BTStatus_t xStatus,
263  const BTBdaddr_t * pxBdAddr,
264  uint32_t ulMinInterval,
265  uint32_t ulMaxInterval,
266  uint32_t ulLatency,
267  uint32_t usConnInterval,
268  uint32_t ulTimeout );
269 
280 typedef void (* BTScanFilterCfgCallback_t)( uint32_t ulAction,
281  uint8_t ucAdapterIf,
282  BTStatus_t xStatus,
283  uint32_t ulFiltType,
284  uint32_t ulAvblSpace );
285 
295 typedef void (* BTScanFilterParamCallback_t)( uint32_t ulAction,
296  uint8_t ucAdapterIf,
297  BTStatus_t xStatus,
298  uint32_t ulAvblSpace );
299 
308 typedef void (* BTScanFilterStatusCallback_t)( bool bEnable,
309  uint8_t ucAdapterIf,
310  BTStatus_t xStatus );
311 
319 typedef void (* BTMultiAdvEnableCallback_t)( uint8_t ucAdapterIf,
320  BTStatus_t xStatus );
321 
329 typedef void (* BTMultiAdvUpdateCallback_t)( uint8_t ucAdapterIf,
330  BTStatus_t xStatus );
331 
339 typedef void (* BTMultiAdvDataCallback_t)( uint8_t ucAdapterIf,
340  BTStatus_t xStatus );
341 
342 
350 typedef void (* BTMultiAdvDisableCallback_t)( uint8_t ucAdapterIf,
351  BTStatus_t xStatus );
352 
360 typedef void (* BTBatchscanCfgStorageCallback_t)( uint8_t ucAdapterIf,
361  BTStatus_t xStatus );
362 
371 typedef void (* BTBatchscanEnableDisableCallback_t)( uint32_t ulAction,
372  uint8_t ucAdapterIf,
373  BTStatus_t xStatus );
374 
386 typedef void (* BTBatchscanReportsCallback_t)( uint8_t ucAdapterIf,
387  BTStatus_t xStatus,
388  uint32_t ulReportFormat,
389  uint32_t ulNumRecords,
390  size_t XDataLen,
391  uint8_t * pucRepData );
392 
399 typedef void (* BTBatchscanThresholdCallback_t)( uint8_t ucAdapterIf );
400 
407 typedef void (* BTTrackAdvEventCallback_t)( BTGattTrackAdvInfo_t * pxTrackAdvInfo );
408 
409 
417 typedef void (* BTScanParameterSetupCompletedCallback_t)( uint8_t ucAdapterIf,
418  BTStatus_t xStatus );
419 
429 typedef void (* BTPhyUpdatedCallback_t)( uint16_t usConnId,
430  uint8_t ucTxPhy,
431  uint8_t ucRxPhy,
432  BTStatus_t xStatus );
433 
443 typedef void (* BTReadClientPhyCallback_t)( uint16_t usConnId,
444  uint8_t ucTxPhy,
445  uint8_t ucRxPhy,
446  BTStatus_t xStatus );
447 
451 typedef struct
452 {
453  BTRegisterBleAdapterCallback_t pxRegisterBleAdapterCb;
454  BTScanResultCallback_t pxScanResultCb;
455  BTBleDevicePropertiesCallback_t pxBleAdapterPropertiesCb;
456  BTBleRemoteDevicePropertiesCallback_t pxBleRemoteDevicePropertiesCb;
457  BTConnectCallback_t pxOpenCb;
458  BTDisconnectCallback_t pxCloseCb;
459  BTReadRemoteRssiCallback_t pxReadRemoteRssiCb;
460  BTAdvStatusCallback_t pxAdvStatusCb;
461  BTSetAdvDataCallback_t pxSetAdvDataCb;
462  BTConnParameterUpdateCallback_t pxConnParameterUpdateCb;
463  BTScanFilterCfgCallback_t pxScanFilterCfgCb;
464  BTScanFilterParamCallback_t pxScanFilterParamCb;
465  BTScanFilterStatusCallback_t pxScanFilterStatusCb;
466  BTMultiAdvEnableCallback_t pxMultiAdvEnableCb;
467  BTMultiAdvUpdateCallback_t pxMultiAdvUpdateCb;
468  BTMultiAdvDataCallback_t pxMultiAdvDataCb;
469  BTMultiAdvDisableCallback_t pxMultiAdvDisableCb;
470  BTCongestionCallback_t pxCongestionCb;
471  BTBatchscanCfgStorageCallback_t pxBatchscanCfgStorageCb;
472  BTBatchscanEnableDisableCallback_t pxBatchscanEnbDisableCb;
473  BTBatchscanReportsCallback_t pxBatchscanReportsCb;
474  BTBatchscanThresholdCallback_t pxBatchscanThresholdCb;
475  BTTrackAdvEventCallback_t pxTrackAdvEventCb;
476  BTScanParameterSetupCompletedCallback_t pxScanParameterSetupCompletedCb;
477  BTPhyUpdatedCallback_t pxPhyUpdatedCb;
479 
485 typedef struct
486 {
495  BTStatus_t ( * pxRegisterBleApp )( BTUuid_t * pxAppUuid );
496 
504  BTStatus_t ( * pxUnregisterBleApp )( uint8_t ucAdapterIf );
505 
513  BTStatus_t ( * pxBleAdapterInit )( const BTBleAdapterCallbacks_t * pxCallbacks );
514 
524  BTStatus_t ( * pxGetBleAdapterProperty )( BTBlePropertyType_t xType );
525 
535  BTStatus_t ( * pxSetBleAdapterProperty )( const BTBleProperty_t * pxProperty );
536 
544  BTStatus_t ( * pxGetallBleRemoteDeviceProperties )( BTBdaddr_t * pxRremoteAddr );
545 
554  BTStatus_t ( * pxGetBleRemoteDeviceProperty )( BTBdaddr_t * pxRemoteAddr,
555  BTBleProperty_t xType );
556 
565  BTStatus_t ( * pxSetBleRemoteDeviceProperty )( BTBdaddr_t * pxRemoteAddr,
566  const BTBleProperty_t * pxProperty );
567 
575  BTStatus_t ( * pxScan )( bool bStart );
576 
587  BTStatus_t ( * pxConnect )( uint8_t ucAdapterIf,
588  const BTBdaddr_t * pxBdAddr,
589  bool bIsDirect,
590  BTTransport_t ulTransport );
591 
601  BTStatus_t ( * pxDisconnect )( uint8_t ucAdapterIf,
602  const BTBdaddr_t * pxBdAddr,
603  uint16_t usConnId );
604 
614  BTStatus_t ( * pxStartAdv )( uint8_t ucAdapterIf );
615 
625  BTStatus_t ( * pxStopAdv )( uint8_t ucAdapterIf );
626 
635  BTStatus_t ( * pxReadRemoteRssi )( uint8_t ucAdapterIf,
636  const BTBdaddr_t * pxBdAddr );
637 
645  BTStatus_t ( * pxScanFilterParamSetup )( BTGattFiltParamSetup_t xFiltParam );
646 
667  BTStatus_t ( * pxScanFilterAddRemove )( uint8_t ucAdapterIf,
668  uint32_t ulAction,
669  uint32_t ulFiltType,
670  uint32_t ulFiltIndex,
671  uint32_t ulCompanyId,
672  uint32_t ulCompanyIdMask,
673  const BTUuid_t * pxUuid,
674  const BTUuid_t * pxUuidMask,
675  const BTBdaddr_t * pxBdAddr,
676  char cAddrType,
677  size_t xDataLen,
678  char * pcData,
679  size_t xMaskLen,
680  char * pcMask );
681 
690  BTStatus_t ( * pxScanFilterClear )( uint8_t ucAdapterIf,
691  uint32_t ulFiltIndex );
692 
701  BTStatus_t ( * pxScanFilterEnable )( uint8_t ucAdapterIf,
702  bool bEnable );
703 
711  BTTransport_t ( * pxGetDeviceType )( const BTBdaddr_t * pxBdAddr );
712 
731  BTStatus_t ( * pxSetAdvData )( uint8_t ucAdapterIf,
732  BTGattAdvertismentParams_t * pxParams,
733  uint16_t usManufacturerLen,
734  char * pcManufacturerData,
735  uint16_t usServiceDataLen,
736  char * pcServiceData,
737  BTUuid_t * pxServiceUuid,
738  size_t xNbServices );
739 
749  BTStatus_t ( * pxSetAdvRawData )( uint8_t ucAdapterIf,
750  uint8_t * pucData,
751  uint8_t ucLen );
752 
766  BTStatus_t ( * pxConnParameterUpdateRequest )( const BTBdaddr_t * pxBdAddr,
767  uint32_t ulMinInterval,
768  uint32_t ulMaxInterval,
769  uint32_t ulLatency,
770  uint32_t ulTimeout );
771 
781  BTStatus_t ( * pxSetScanParameters )( uint8_t ucAdapterIf,
782  uint32_t ulScanInterval,
783  uint32_t ulScanWindow );
784 
793  BTStatus_t ( * pxMultiAdvEnable )( uint8_t ucAdapterIf,
794  BTGattAdvertismentParams_t * xAdvParams );
795 
804  BTStatus_t ( * pxMultiAdvUpdate )( uint8_t ucAdapterIf,
805  BTGattAdvertismentParams_t * advParams );
806 
824  BTStatus_t ( * pxMultiAdvSetInstData )( uint8_t ucAdapterIf,
825  bool bSetScanRsp,
826  bool bIncludeName,
827  bool bInclTxpower,
828  uint32_t ulAppearance,
829  size_t xManufacturerLen,
830  char * pcManufacturerData,
831  size_t xServiceDataLen,
832  char * pcServiceData,
833  BTUuid_t * pxServiceUuid,
834  size_t xNbServices );
835 
843  BTStatus_t ( * pxMultiAdvDisable )( uint8_t ucAdapterIf );
844 
855  BTStatus_t ( * pxBatchscanCfgStorage )( uint8_t ucAdapterIf,
856  uint32_t ulBatchScanFullMax,
857  uint32_t ulBatchScanTruncMax,
858  uint32_t ulBatchScanNotifyThreshold );
859 
874  BTStatus_t ( * pxBatchscanEndBatchScan )( uint8_t ucAdapterIf,
875  uint32_t ulScanMode,
876  uint32_t ulScanInterval,
877  uint32_t ulScanWindow,
878  uint32_t ulAddrType,
879  uint32_t ulDiscardRule );
880 
888  BTStatus_t ( * pxBatchscanDisBatchScan )( uint8_t ucAdapterIf );
889 
898  BTStatus_t ( * pxBatchscanReadReports )( uint8_t ucAdapterIf,
899  uint32_t ulScanMode );
900 
911  BTStatus_t ( * pxSetPreferredPhy )( uint16_t usConnId,
912  uint8_t ucTxPhy,
913  uint8_t ucRxPhy,
914  uint16_t usPhyOptions );
915 
924  BTStatus_t ( * pxReadPhy )( uint16_t usConnId,
926 
931  const void * ( *ppvGetGattClientInterface )( );
932 
937  const void * ( *ppvGetGattServerInterface )( );
938 
951  BTStatus_t ( * pxMultiAdvSetInstRawData )( uint8_t ucAdapterIf,
952  bool bSetScanRsp,
953  uint8_t * pucData,
954  size_t xDataLen );
956 
957 #endif /* #ifndef _BT_HAL_MANAGER_ADAPTER_BLE_H_ */
958 
BTReadRemoteRssiCallback_t
void(* BTReadRemoteRssiCallback_t)(uint8_t ucClientIf, BTBdaddr_t *pxBda, uint32_t ulRssi, BTStatus_t xStatus)
Definition: bt_hal_gatt_types.h:301
BTGattAdvertismentParams_t::usMaxAdvInterval
uint16_t usMaxAdvInterval
Definition: bt_hal_manager_adapter_ble.h:122
BTBleProperty_t
BLE Device Property.
Definition: bt_hal_manager_adapter_ble.h:169
BTDisconnectCallback_t
void(* BTDisconnectCallback_t)(uint16_t usConnId, BTGattStatus_t xStatus, uint8_t ucClientIf, BTBdaddr_t *pxBda)
Definition: bt_hal_gatt_types.h:294
BTUuid_t
UUID.
Definition: bt_hal_manager_types.h:84
BTConnectCallback_t
void(* BTConnectCallback_t)(uint16_t usConnId, BTGattStatus_t xStatus, uint8_t ucClientIf, BTBdaddr_t *pxBda)
Definition: bt_hal_gatt_types.h:288
BTAdvStatusCallback_t
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
BTScanFilterParamCallback_t
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
bt_hal_manager.h
BTPhyUpdatedCallback_t
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
BTBatchscanEnableDisableCallback_t
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
BTMultiAdvUpdateCallback_t
void(* BTMultiAdvUpdateCallback_t)(uint8_t ucAdapterIf, BTStatus_t xStatus)
Callback invoked on pxMultiAdvUpdate.
Definition: bt_hal_manager_adapter_ble.h:329
eBTPropertyLocalLeFeatures
@ eBTPropertyLocalLeFeatures
Definition: bt_hal_manager_adapter_ble.h:162
BTReadClientPhyCallback_t
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
BTGattAdvertismentParams_t::ulMinInterval
uint32_t ulMinInterval
Definition: bt_hal_manager_adapter_ble.h:116
BTBlePropertyType_t
BTBlePropertyType_t
BLE device property type.
Definition: bt_hal_manager_adapter_ble.h:156
BTStatus_t
BTStatus_t
Bluetooth Error Status .
Definition: bt_hal_manager_types.h:98
BTBleAdapterCallbacks_t
Callback structure for BLE adapter.
Definition: bt_hal_manager_adapter_ble.h:452
BTGattAdvertismentParams_t::usTimeout
uint16_t usTimeout
Definition: bt_hal_manager_adapter_ble.h:128
BTBleDevicePropertiesCallback_t
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
BTScanFilterCfgCallback_t
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
BTGattAdvertismentParams_t::ucTimeout
uint8_t ucTimeout
Definition: bt_hal_manager_adapter_ble.h:127
BTScanResultCallback_t
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
BTCongestionCallback_t
void(* BTCongestionCallback_t)(uint16_t usConnId, bool bCongested)
Definition: bt_hal_gatt_types.h:311
BTGattFiltParamSetup_t
Scan Filter Parameters.
Definition: bt_hal_manager_adapter_ble.h:53
BTGattAdvName_t
Advertising Name Format.
Definition: bt_hal_manager_adapter_ble.h:94
BTBleRemoteDevicePropertiesCallback_t
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
bt_hal_manager_types.h
bt_hal_gatt_types.h
T HAL provides the standard defintions used by BT GATT interfaces.
BTAdvProperties_t
BTAdvProperties_t
Advertising Type.
Definition: bt_hal_manager_adapter_ble.h:84
BTGattAdvertismentParams_t::ulMaxInterval
uint32_t ulMaxInterval
Definition: bt_hal_manager_adapter_ble.h:117
BTScanFilterStatusCallback_t
void(* BTScanFilterStatusCallback_t)(bool bEnable, uint8_t ucAdapterIf, BTStatus_t xStatus)
Callback invoked on pxScanFilterEnable.
Definition: bt_hal_manager_adapter_ble.h:308
BTConnParameterUpdateCallback_t
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
BTScanParameterSetupCompletedCallback_t
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
BTMultiAdvDataCallback_t
void(* BTMultiAdvDataCallback_t)(uint8_t ucAdapterIf, BTStatus_t xStatus)
Callback invoked on pxMultiAdvSetInstData and pxMultiAdvSetInstRawData.
Definition: bt_hal_manager_adapter_ble.h:339
BTLocalLeFeatures_t
Local supported LE features.
Definition: bt_hal_manager_adapter_ble.h:138
BTBatchscanReportsCallback_t
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
BTRegisterBleAdapterCallback_t
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
BTTransport_t
Preferred physical Transport for GATT connection .
Definition: bt_hal_manager.h:108
BTTrackAdvEventCallback_t
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
BTSetAdvDataCallback_t
void(* BTSetAdvDataCallback_t)(BTStatus_t xStatus)
Callback invoked on pxSetAdvData.
Definition: bt_hal_manager_adapter_ble.h:247
BTBleAdapter_t
BLE adapter API.
Definition: bt_hal_manager_adapter_ble.h:486
BTGattAdvertismentParams_t::usMinAdvInterval
uint16_t usMinAdvInterval
Definition: bt_hal_manager_adapter_ble.h:118
BTBdaddr_t
BT/BLE address.
Definition: bt_hal_manager_types.h:67
BTAddrType_t
BTAddrType_t
Advertising Address Type.
Definition: bt_hal_manager_adapter_ble.h:73
BTGattTrackAdvInfo_t
Structure that contains all advertisements info. Used to compress parameters in BTTrackAdvEventCallba...
Definition: bt_hal_gatt_types.h:166
BTMultiAdvEnableCallback_t
void(* BTMultiAdvEnableCallback_t)(uint8_t ucAdapterIf, BTStatus_t xStatus)
Callback invoked on pxMultiAdvEnable.
Definition: bt_hal_manager_adapter_ble.h:319
BTGattAdvertismentParams_t
Advertising Parameters.
Definition: bt_hal_manager_adapter_ble.h:110
BTBatchscanThresholdCallback_t
void(* BTBatchscanThresholdCallback_t)(uint8_t ucAdapterIf)
Callback invoked when batchscan storage threshold limit is crossed.
Definition: bt_hal_manager_adapter_ble.h:399
BTBatchscanCfgStorageCallback_t
void(* BTBatchscanCfgStorageCallback_t)(uint8_t ucAdapterIf, BTStatus_t xStatus)
Callback invoked on pxBatchscanCfgStorage.
Definition: bt_hal_manager_adapter_ble.h:360
BTMultiAdvDisableCallback_t
void(* BTMultiAdvDisableCallback_t)(uint8_t ucAdapterIf, BTStatus_t xStatus)
Callback invoked on pxMultiAdvDisable.
Definition: bt_hal_manager_adapter_ble.h:350