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.1.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 
49 /* Ble Advertisement Power Levels Index. This index would translate into platform specific values power (bBm) values */
50 #define BT_HAL_BLE_ADV_TX_PWR_ULTRA_LOW 0 /* Ultra Low Adv Tx Power */
51 #define BT_HAL_BLE_ADV_TX_PWR_LOW 1 /* Low Adv Tx Power */
52 #define BT_HAL_BLE_ADV_TX_PWR_MEDIUM 2 /* Medium Adv Tx Power */
53 #define BT_HAL_BLE_ADV_TX_PWR_HIGH 3 /* High Adv Tx Power */
54 #define BT_HAL_BLE_ADV_TX_PWR_ULTRA_HIGH 4 /* Ultra High Adv Tx Power */
55 
59 typedef struct
60 {
61  uint8_t ucAdapterIf;
62  uint8_t ucAction;
63  uint8_t ucFiltIndex;
64  uint16_t usFeatSeln;
65  uint16_t usListLogicType;
66  uint8_t ucFiltLogicType;
67  uint8_t ucRssiHighThres;
68  uint8_t ucRssiLowThres;
69  uint8_t ucDelayMode;
70  uint16_t usFoundTimeout;
71  uint16_t usLostTimeout;
72  uint8_t ucFoundTimeout_cnt;
73  uint16_t usNumOfTrackingEntries;
75 
79 typedef enum
80 {
81  BTAddrTypePublic,
82  BTAddrTypeRandom,
83  BTAddrTypeStaticRandom,
84  BTAddrTypeResolvable,
85 } BTAddrType_t;
86 
90 typedef enum
91 {
92  BTAdvInd,
93  BTAdvDirectInd,
94  BTAdvNonconnInd,
96 
100 typedef struct
101 {
102  enum
103  {
104  BTGattAdvNameNone,
105  BTGattAdvNameShort,
106  BTGattAdvNameComplete
107  } xType;
108  uint8_t ucShortNameLen;
110 
111 /*TODO enum for usAdvertisingEventProperties */
112 
116 typedef struct
117 {
118  BTAdvProperties_t usAdvertisingEventProperties;
119  bool bIncludeTxPower;
120  BTGattAdvName_t ucName;
121  bool bSetScanRsp;
122  uint32_t ulAppearance;
123  uint32_t ulMinInterval;
124  uint32_t ulMaxInterval;
125  uint16_t usMinAdvInterval;
129  uint16_t usMaxAdvInterval;
132  uint8_t ucChannelMap;
133  uint8_t ucTxPower;
134  uint8_t ucTimeout;
135  uint16_t usTimeout;
136  uint8_t ucPrimaryAdvertisingPhy; /* 5.0 Specific interface */
137  uint8_t ucSecondaryAdvertisingPhy; /* 5.0 Specific interface */
138  BTAddrType_t xAddrType;
140 
144 typedef struct
145 {
146  uint16_t usVersionSupported;
147  uint8_t ucLocalPrivacyEnabled;
148  uint8_t ucMaxAdvInstance;
149  uint8_t ucRpaOffloadSupported;
150  uint8_t ucMaxIrkListSize;
151  uint8_t ucMaxAdFilterSupported;
152  uint8_t ucActivityEnergyInfoSupported;
153  uint16_t usScanResultStorageSize;
154  uint16_t usTotalTrackableAdvertisers;
155  bool bExtendedScanSupport;
156  bool bDebugLoggingSupported;
158 
162 typedef enum
163 {
171 
175 typedef struct
176 {
177  BTBlePropertyType_t xType;
178  size_t xLen;
179  void * pvVal;
181 
192 typedef void (* BTRegisterBleAdapterCallback_t)( BTStatus_t xStatus,
193  uint8_t ucAdapterIf,
194  BTUuid_t * pxAppUuid );
195 
204 typedef void (* BTBleDevicePropertiesCallback_t)( BTStatus_t xStatus,
205  uint32_t ulNumProperties,
206  BTBleProperty_t * pxProperties );
207 
218  BTBdaddr_t * pxBdAddr,
219  uint32_t ulNumProperties,
220  BTBleProperty_t * pxProperties );
221 
230 typedef void (* BTScanResultCallback_t)( BTBdaddr_t * pxBda,
231  uint32_t ulRssi,
232  uint8_t * pucAdvData );
233 
244 typedef void (* BTAdvStatusCallback_t)( BTStatus_t xStatus,
245  uint8_t ucAdapterIf,
246  bool bStart );
247 
254 typedef void (* BTSetAdvDataCallback_t) ( BTStatus_t xStatus );
255 
269 typedef void ( * BTConnParameterUpdateCallback_t )( BTStatus_t xStatus,
270  const BTBdaddr_t * pxBdAddr,
271  uint32_t ulMinInterval,
272  uint32_t ulMaxInterval,
273  uint32_t ulLatency,
274  uint32_t usConnInterval,
275  uint32_t ulTimeout );
276 
287 typedef void (* BTScanFilterCfgCallback_t)( uint32_t ulAction,
288  uint8_t ucAdapterIf,
289  BTStatus_t xStatus,
290  uint32_t ulFiltType,
291  uint32_t ulAvblSpace );
292 
302 typedef void (* BTScanFilterParamCallback_t)( uint32_t ulAction,
303  uint8_t ucAdapterIf,
304  BTStatus_t xStatus,
305  uint32_t ulAvblSpace );
306 
315 typedef void (* BTScanFilterStatusCallback_t)( bool bEnable,
316  uint8_t ucAdapterIf,
317  BTStatus_t xStatus );
318 
326 typedef void (* BTMultiAdvEnableCallback_t)( uint8_t ucAdapterIf,
327  BTStatus_t xStatus );
328 
336 typedef void (* BTMultiAdvUpdateCallback_t)( uint8_t ucAdapterIf,
337  BTStatus_t xStatus );
338 
346 typedef void (* BTMultiAdvDataCallback_t)( uint8_t ucAdapterIf,
347  BTStatus_t xStatus );
348 
349 
357 typedef void (* BTMultiAdvDisableCallback_t)( uint8_t ucAdapterIf,
358  BTStatus_t xStatus );
359 
367 typedef void (* BTBatchscanCfgStorageCallback_t)( uint8_t ucAdapterIf,
368  BTStatus_t xStatus );
369 
378 typedef void (* BTBatchscanEnableDisableCallback_t)( uint32_t ulAction,
379  uint8_t ucAdapterIf,
380  BTStatus_t xStatus );
381 
393 typedef void (* BTBatchscanReportsCallback_t)( uint8_t ucAdapterIf,
394  BTStatus_t xStatus,
395  uint32_t ulReportFormat,
396  uint32_t ulNumRecords,
397  size_t XDataLen,
398  uint8_t * pucRepData );
399 
406 typedef void (* BTBatchscanThresholdCallback_t)( uint8_t ucAdapterIf );
407 
414 typedef void (* BTTrackAdvEventCallback_t)( BTGattTrackAdvInfo_t * pxTrackAdvInfo );
415 
416 
424 typedef void (* BTScanParameterSetupCompletedCallback_t)( uint8_t ucAdapterIf,
425  BTStatus_t xStatus );
426 
436 typedef void (* BTPhyUpdatedCallback_t)( uint16_t usConnId,
437  uint8_t ucTxPhy,
438  uint8_t ucRxPhy,
439  BTStatus_t xStatus );
440 
450 typedef void (* BTReadClientPhyCallback_t)( uint16_t usConnId,
451  uint8_t ucTxPhy,
452  uint8_t ucRxPhy,
453  BTStatus_t xStatus );
454 
458 typedef struct
459 {
460  BTRegisterBleAdapterCallback_t pxRegisterBleAdapterCb;
461  BTScanResultCallback_t pxScanResultCb;
462  BTBleDevicePropertiesCallback_t pxBleAdapterPropertiesCb;
463  BTBleRemoteDevicePropertiesCallback_t pxBleRemoteDevicePropertiesCb;
464  BTConnectCallback_t pxOpenCb;
465  BTDisconnectCallback_t pxCloseCb;
466  BTReadRemoteRssiCallback_t pxReadRemoteRssiCb;
467  BTAdvStatusCallback_t pxAdvStatusCb;
468  BTSetAdvDataCallback_t pxSetAdvDataCb;
469  BTConnParameterUpdateCallback_t pxConnParameterUpdateCb;
470  BTScanFilterCfgCallback_t pxScanFilterCfgCb;
471  BTScanFilterParamCallback_t pxScanFilterParamCb;
472  BTScanFilterStatusCallback_t pxScanFilterStatusCb;
473  BTMultiAdvEnableCallback_t pxMultiAdvEnableCb;
474  BTMultiAdvUpdateCallback_t pxMultiAdvUpdateCb;
475  BTMultiAdvDataCallback_t pxMultiAdvDataCb;
476  BTMultiAdvDisableCallback_t pxMultiAdvDisableCb;
477  BTCongestionCallback_t pxCongestionCb;
478  BTBatchscanCfgStorageCallback_t pxBatchscanCfgStorageCb;
479  BTBatchscanEnableDisableCallback_t pxBatchscanEnbDisableCb;
480  BTBatchscanReportsCallback_t pxBatchscanReportsCb;
481  BTBatchscanThresholdCallback_t pxBatchscanThresholdCb;
482  BTTrackAdvEventCallback_t pxTrackAdvEventCb;
483  BTScanParameterSetupCompletedCallback_t pxScanParameterSetupCompletedCb;
484  BTPhyUpdatedCallback_t pxPhyUpdatedCb;
486 
492 typedef struct
493 {
502  BTStatus_t ( * pxRegisterBleApp )( BTUuid_t * pxAppUuid );
503 
511  BTStatus_t ( * pxUnregisterBleApp )( uint8_t ucAdapterIf );
512 
520  BTStatus_t ( * pxBleAdapterInit )( const BTBleAdapterCallbacks_t * pxCallbacks );
521 
531  BTStatus_t ( * pxGetBleAdapterProperty )( BTBlePropertyType_t xType );
532 
542  BTStatus_t ( * pxSetBleAdapterProperty )( const BTBleProperty_t * pxProperty );
543 
551  BTStatus_t ( * pxGetallBleRemoteDeviceProperties )( BTBdaddr_t * pxRremoteAddr );
552 
561  BTStatus_t ( * pxGetBleRemoteDeviceProperty )( BTBdaddr_t * pxRemoteAddr,
562  BTBleProperty_t xType );
563 
572  BTStatus_t ( * pxSetBleRemoteDeviceProperty )( BTBdaddr_t * pxRemoteAddr,
573  const BTBleProperty_t * pxProperty );
574 
582  BTStatus_t ( * pxScan )( bool bStart );
583 
594  BTStatus_t ( * pxConnect )( uint8_t ucAdapterIf,
595  const BTBdaddr_t * pxBdAddr,
596  bool bIsDirect,
597  BTTransport_t ulTransport );
598 
608  BTStatus_t ( * pxDisconnect )( uint8_t ucAdapterIf,
609  const BTBdaddr_t * pxBdAddr,
610  uint16_t usConnId );
611 
621  BTStatus_t ( * pxStartAdv )( uint8_t ucAdapterIf );
622 
632  BTStatus_t ( * pxStopAdv )( uint8_t ucAdapterIf );
633 
642  BTStatus_t ( * pxReadRemoteRssi )( uint8_t ucAdapterIf,
643  const BTBdaddr_t * pxBdAddr );
644 
652  BTStatus_t ( * pxScanFilterParamSetup )( BTGattFiltParamSetup_t xFiltParam );
653 
674  BTStatus_t ( * pxScanFilterAddRemove )( uint8_t ucAdapterIf,
675  uint32_t ulAction,
676  uint32_t ulFiltType,
677  uint32_t ulFiltIndex,
678  uint32_t ulCompanyId,
679  uint32_t ulCompanyIdMask,
680  const BTUuid_t * pxUuid,
681  const BTUuid_t * pxUuidMask,
682  const BTBdaddr_t * pxBdAddr,
683  char cAddrType,
684  size_t xDataLen,
685  char * pcData,
686  size_t xMaskLen,
687  char * pcMask );
688 
697  BTStatus_t ( * pxScanFilterClear )( uint8_t ucAdapterIf,
698  uint32_t ulFiltIndex );
699 
708  BTStatus_t ( * pxScanFilterEnable )( uint8_t ucAdapterIf,
709  bool bEnable );
710 
718  BTTransport_t ( * pxGetDeviceType )( const BTBdaddr_t * pxBdAddr );
719 
738  BTStatus_t ( * pxSetAdvData )( uint8_t ucAdapterIf,
739  BTGattAdvertismentParams_t * pxParams,
740  uint16_t usManufacturerLen,
741  char * pcManufacturerData,
742  uint16_t usServiceDataLen,
743  char * pcServiceData,
744  BTUuid_t * pxServiceUuid,
745  size_t xNbServices );
746 
756  BTStatus_t ( * pxSetAdvRawData )( uint8_t ucAdapterIf,
757  uint8_t * pucData,
758  uint8_t ucLen );
759 
773  BTStatus_t ( * pxConnParameterUpdateRequest )( const BTBdaddr_t * pxBdAddr,
774  uint32_t ulMinInterval,
775  uint32_t ulMaxInterval,
776  uint32_t ulLatency,
777  uint32_t ulTimeout );
778 
788  BTStatus_t ( * pxSetScanParameters )( uint8_t ucAdapterIf,
789  uint32_t ulScanInterval,
790  uint32_t ulScanWindow );
791 
800  BTStatus_t ( * pxMultiAdvEnable )( uint8_t ucAdapterIf,
801  BTGattAdvertismentParams_t * xAdvParams );
802 
811  BTStatus_t ( * pxMultiAdvUpdate )( uint8_t ucAdapterIf,
812  BTGattAdvertismentParams_t * advParams );
813 
831  BTStatus_t ( * pxMultiAdvSetInstData )( uint8_t ucAdapterIf,
832  bool bSetScanRsp,
833  bool bIncludeName,
834  bool bInclTxpower,
835  uint32_t ulAppearance,
836  size_t xManufacturerLen,
837  char * pcManufacturerData,
838  size_t xServiceDataLen,
839  char * pcServiceData,
840  BTUuid_t * pxServiceUuid,
841  size_t xNbServices );
842 
850  BTStatus_t ( * pxMultiAdvDisable )( uint8_t ucAdapterIf );
851 
862  BTStatus_t ( * pxBatchscanCfgStorage )( uint8_t ucAdapterIf,
863  uint32_t ulBatchScanFullMax,
864  uint32_t ulBatchScanTruncMax,
865  uint32_t ulBatchScanNotifyThreshold );
866 
881  BTStatus_t ( * pxBatchscanEndBatchScan )( uint8_t ucAdapterIf,
882  uint32_t ulScanMode,
883  uint32_t ulScanInterval,
884  uint32_t ulScanWindow,
885  uint32_t ulAddrType,
886  uint32_t ulDiscardRule );
887 
895  BTStatus_t ( * pxBatchscanDisBatchScan )( uint8_t ucAdapterIf );
896 
905  BTStatus_t ( * pxBatchscanReadReports )( uint8_t ucAdapterIf,
906  uint32_t ulScanMode );
907 
918  BTStatus_t ( * pxSetPreferredPhy )( uint16_t usConnId,
919  uint8_t ucTxPhy,
920  uint8_t ucRxPhy,
921  uint16_t usPhyOptions );
922 
931  BTStatus_t ( * pxReadPhy )( uint16_t usConnId,
933 
938  const void * ( *ppvGetGattClientInterface )( );
939 
944  const void * ( *ppvGetGattServerInterface )( );
945 
958  BTStatus_t ( * pxMultiAdvSetInstRawData )( uint8_t ucAdapterIf,
959  bool bSetScanRsp,
960  uint8_t * pucData,
961  size_t xDataLen );
962 
972  BTStatus_t ( * pxSetBgScanParameters )( uint8_t ucAdapterIf,
973  uint32_t ulScanIntervalTime,
974  uint32_t ulScanWindowTime );
976 
977 #endif /* #ifndef _BT_HAL_MANAGER_ADAPTER_BLE_H_ */
978 
uint8_t ucTimeout
Definition: bt_hal_manager_adapter_ble.h:134
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:204
Structure that contains all advertisements info. Used to compress parameters in BTTrackAdvEventCallba...
Definition: bt_hal_gatt_types.h:165
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:269
void(* BTBatchscanCfgStorageCallback_t)(uint8_t ucAdapterIf, BTStatus_t xStatus)
Callback invoked on pxBatchscanCfgStorage.
Definition: bt_hal_manager_adapter_ble.h:367
uint32_t ulMinInterval
Definition: bt_hal_manager_adapter_ble.h:123
void(* BTMultiAdvEnableCallback_t)(uint8_t ucAdapterIf, BTStatus_t xStatus)
Callback invoked on pxMultiAdvEnable.
Definition: bt_hal_manager_adapter_ble.h:326
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:302
uint32_t ulMaxInterval
Definition: bt_hal_manager_adapter_ble.h:124
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:287
uint16_t usMinAdvInterval
Definition: bt_hal_manager_adapter_ble.h:125
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:378
void(* BTBatchscanThresholdCallback_t)(uint8_t ucAdapterIf)
Callback invoked when batchscan storage threshold limit is crossed.
Definition: bt_hal_manager_adapter_ble.h:406
BLE adapter API.
Definition: bt_hal_manager_adapter_ble.h:492
BTAddrType_t
Advertising Address Type.
Definition: bt_hal_manager_adapter_ble.h:79
BTAdvProperties_t
Advertising Type.
Definition: bt_hal_manager_adapter_ble.h:90
void(* BTCongestionCallback_t)(uint16_t usConnId, bool bCongested)
Definition: bt_hal_gatt_types.h:311
void(* BTScanFilterStatusCallback_t)(bool bEnable, uint8_t ucAdapterIf, BTStatus_t xStatus)
Callback invoked on pxScanFilterEnable.
Definition: bt_hal_manager_adapter_ble.h:315
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:393
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:217
void(* BTMultiAdvUpdateCallback_t)(uint8_t ucAdapterIf, BTStatus_t xStatus)
Callback invoked on pxMultiAdvUpdate.
Definition: bt_hal_manager_adapter_ble.h:336
uint16_t usMaxAdvInterval
Definition: bt_hal_manager_adapter_ble.h:129
void(* BTRegisterBleAdapterCallback_t)(BTStatus_t xStatus, uint8_t ucAdapterIf, BTUuid_t *pxAppUuid)
Callback invoked in response pxRegisterBleApp.
Definition: bt_hal_manager_adapter_ble.h:192
void(* BTScanParameterSetupCompletedCallback_t)(uint8_t ucAdapterIf, BTStatus_t xStatus)
Callback invoked when scan parameter setup has completed.
Definition: bt_hal_manager_adapter_ble.h:424
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:450
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:244
void(* BTReadRemoteRssiCallback_t)(uint8_t ucClientIf, BTBdaddr_t *pxBda, uint32_t ulRssi, BTStatus_t xStatus)
Definition: bt_hal_gatt_types.h:301
UUID.
Definition: bt_hal_manager_types.h:83
void(* BTSetAdvDataCallback_t)(BTStatus_t xStatus)
Callback invoked on pxSetAdvData.
Definition: bt_hal_manager_adapter_ble.h:254
T HAL provides the standard defintions used by BT GATT interfaces.
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:436
Advertising Name Format.
Definition: bt_hal_manager_adapter_ble.h:100
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:230
void(* BTDisconnectCallback_t)(uint16_t usConnId, BTGattStatus_t xStatus, uint8_t ucClientIf, BTBdaddr_t *pxBda)
Definition: bt_hal_gatt_types.h:294
Definition: bt_hal_manager_adapter_ble.h:169
void(* BTMultiAdvDisableCallback_t)(uint8_t ucAdapterIf, BTStatus_t xStatus)
Callback invoked on pxMultiAdvDisable.
Definition: bt_hal_manager_adapter_ble.h:357
BTStatus_t
Bluetooth Error Status .
Definition: bt_hal_manager_types.h:97
BTBlePropertyType_t
BLE device property type.
Definition: bt_hal_manager_adapter_ble.h:162
Callback structure for BLE adapter.
Definition: bt_hal_manager_adapter_ble.h:458
uint16_t usTimeout
Definition: bt_hal_manager_adapter_ble.h:135
Advertising Parameters.
Definition: bt_hal_manager_adapter_ble.h:116
BT/BLE address.
Definition: bt_hal_manager_types.h:66
Scan Filter Parameters.
Definition: bt_hal_manager_adapter_ble.h:59
BLE Device Property.
Definition: bt_hal_manager_adapter_ble.h:175
Local supported LE features.
Definition: bt_hal_manager_adapter_ble.h:144
void(* BTMultiAdvDataCallback_t)(uint8_t ucAdapterIf, BTStatus_t xStatus)
Callback invoked on pxMultiAdvSetInstData and pxMultiAdvSetInstRawData.
Definition: bt_hal_manager_adapter_ble.h:346
void(* BTConnectCallback_t)(uint16_t usConnId, BTGattStatus_t xStatus, uint8_t ucClientIf, BTBdaddr_t *pxBda)
Definition: bt_hal_gatt_types.h:288
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:414
uint8_t ucChannelMap
Definition: bt_hal_manager_adapter_ble.h:132
BTTransport_t
Preferred physical Transport for GATT connection .
Definition: bt_hal_manager.h:107