TI BLE5-Stack API Documentation  2.00.04.00
rtls_ble.h
Go to the documentation of this file.
1 /******************************************************************************
2 
3  @file rtls_ble.h
4 
5  @brief This file contains the stack specific BLE structures needed for RTLS Control
6 
7  Group: WCS, BTS
8  $Target Device: DEVICES $
9 
10  ******************************************************************************
11  $License: BSD3 2018 $
12  ******************************************************************************
13  $Release Name: PACKAGE NAME $
14  $Release Date: PACKAGE RELEASE DATE $
15  *****************************************************************************/
16 
26 #ifndef RTLS_BLE_H_
27 #define RTLS_BLE_H_
28 
29 #ifdef __cplusplus
30 extern "C"
31 {
32 #endif
33 
34 /*********************************************************************
35  * INCLUDES
36  */
37 
38 /*********************************************************************
39 * EXTERNAL VARIABLES
40 */
41 
42 /*********************************************************************
43  * CONSTANTS
44  */
45 
46 /*********************************************************************
47  * MACROS
48  */
49 
50 /*********************************************************************
51  * TYPEDEFS
52  */
53 
58 typedef struct __attribute__((packed))
60 {
61  uint32_t accessAddr;
62  uint16_t connInterval;
63  uint8_t hopValue;
64  uint16_t mSCA;
65  uint8_t currChan;
66  uint8_t chanMap[5];
67  uint32_t crcInit;
69 
71 typedef struct __attribute__((packed))
72 {
73  uint8_t eventType;
74  uint8_t addrType;
75  uint8_t addr[6];
76  int8_t rssi;
77  uint8_t dataLen;
78  uint8_t pEvtData[];
80 
82 typedef struct __attribute__((packed))
83 {
84  uint8_t addrType;
85  uint8_t addr[6];
86  uint16 connInterval;
88 
90 /*********************************************************************
91  * API FUNCTIONS
92  */
93 
94 /*********************************************************************
95 *********************************************************************/
96 
97 #ifdef __cplusplus
98 }
99 #endif
100 
101 #endif /* RTLS_BLE_H_ */
102 
bleConnInfo_t
BLE Connection information.
Definition: rtls_ble.h:68
bleConnReq_t
BLE Connection request information.
Definition: rtls_ble.h:87
struct __attribute__((packed))
BLE Connection information.
Definition: rtls_ble.h:59
bleScanInfo_t
BLE Scanning information.
Definition: rtls_ble.h:79
© Copyright 1995-2019, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale