| BlueNRG-1 ACI APIs and events callbacks

- Main Page
- Modules
- Classes
- Files

- File List
- File Members

link_layer.h
Go to the documentation of this file.
1
21 #ifndef _LINK_LAYER_H
22 #define _LINK_LAYER_H
23
24 #include <ble_status.h>
25
37 #define NO_WHITE_LIST_USE (0x00)
38 #define WHITE_LIST_FOR_ONLY_SCAN (0x01)
39 #define WHITE_LIST_FOR_ONLY_CONN (0x02)
40 #define WHITE_LIST_FOR_ALL (0x03)
49 typedef uint8_t tBDAddr[6];
50
51
57 #define PUBLIC_ADDR (0)
58 #define RANDOM_ADDR (1)
59 #define STATIC_RANDOM_ADDR (1)
60 #define RESOLVABLE_PRIVATE_ADDR (2)
61 #define NON_RESOLVABLE_PRIVATE_ADDR (3)
62
71 #define HIGH_DUTY_CYCLE_DIRECTED_ADV (1)
72 #define LOW_DUTY_CYCLE_DIRECTED_ADV (4)
73
85 #define ADV_IND (0x00)
86
90 #define ADV_DIRECT_IND (0x01)
91
95 #define ADV_SCAN_IND (0x02)
96
100 #define ADV_NONCONN_IND (0x03)
101
105 #define SCAN_RSP (0x04)
106
111 /* 0X05-0XFF RESERVED */
112
121 #define ADV_INTERVAL_LOWEST_CONN (0X0020)
122
126 #define ADV_INTERVAL_HIGHEST (0X4000)
127
132 #define ADV_INTERVAL_LOWEST_NONCONN (0X00a0)
133
142 #define ADV_CH_37 0x01
143 #define ADV_CH_38 0x02
144 #define ADV_CH_39 0x04
145
153 #define PASSIVE_SCAN 0
154 #define ACTIVE_SCAN 1
155
164 #endif /* _LINK_LAYER_H */
ble_status.h
Header file for BLE Stack status codes.