TI BLE5-Stack API Documentation  2.01.03.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  uint16_t connHandle;
62  uint32_t accessAddr;
63  uint16_t connInterval;
64  uint8_t hopValue;
65  uint16_t mSCA;
66  uint8_t currChan;
67  uint8_t chanMap[5];
68  uint32_t crcInit;
69  uint8_t addr[6];
71 
73 typedef struct __attribute__((packed))
74 {
75  uint8_t eventType;
76  uint8_t addrType;
77  uint8_t addr[6];
78  int8_t rssi;
79  uint8_t dataLen;
80  uint8_t pEvtData[];
82 
84 typedef struct __attribute__((packed))
85 {
86  uint8_t addrType;
87  uint8_t addr[6];
88  uint16 connInterval;
90 
93 /*********************************************************************
94  * API FUNCTIONS
95  */
96 
97 /*********************************************************************
98 *********************************************************************/
99 
100 #ifdef __cplusplus
101 }
102 #endif
103 
104 #endif /* RTLS_BLE_H_ */
105 
bleConnInfo_t
BLE Connection information.
Definition: rtls_ble.h:70
bleConnReq_t
BLE Connection request information.
Definition: rtls_ble.h:89
struct __attribute__((packed))
BLE Connection information.
Definition: rtls_ble.h:59
bleScanInfo_t
BLE Scanning information.
Definition: rtls_ble.h:81
© Copyright 1995-2020, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale