 |
BSB Developer Docs
|
Loading...
Searching...
No Matches
24#define RSI_BLE_SET_RAND_ADDR "00:23:A7:12:34:56"
26#define CLEAR_ACCEPTLIST 0x00
27#define ADD_DEVICE_TO_ACCEPTLIST 0x01
28#define DELETE_DEVICE_FROM_ACCEPTLIST 0x02
32#define RSI_BLE_DEV_ADDR_RESOLUTION_ENABLE 0
34#define RSI_OPERMODE_WLAN_BLE 13
36#ifdef SLI_SI91X_MCU_INTERFACE
37#define RSI_BLE_MAX_NBR_ATT_REC 80
39#define RSI_BLE_NUM_CONN_EVENTS 20
40#define RSI_BLE_MAX_NBR_PERIPHERALS 1
41#define RSI_BLE_MAX_NBR_CENTRALS 1
43#define RSI_BLE_MAX_NBR_ATT_REC 80
45#define RSI_BLE_NUM_CONN_EVENTS 20
46#define RSI_BLE_MAX_NBR_PERIPHERALS 3
47#define RSI_BLE_MAX_NBR_CENTRALS 1
50#define RSI_BLE_MAX_NBR_ATT_SERV 10
51#define RSI_BLE_MAX_NBR_CENTRALS 1
52#define RSI_BLE_GATT_ASYNC_ENABLE 1
53#define RSI_BLE_GATT_INIT 0
56#define RSI_BLE_NUM_REC_BYTES 0x60
58#define RSI_BLE_INDICATE_CONFIRMATION_FROM_HOST 1
64#define RSI_BLE_ADV_TYPE UNDIR_CONN
65#define RSI_BLE_ADV_FILTER_TYPE ALLOW_SCAN_REQ_ANY_CONN_REQ_ANY
66#define RSI_BLE_ADV_DIR_ADDR_TYPE LE_PUBLIC_ADDRESS
67#define RSI_BLE_ADV_DIR_ADDR "00:15:83:6A:64:17"
69#define RSI_BLE_ADV_INT_MIN 0x100
70#define RSI_BLE_ADV_INT_MAX 0x200
71#define RSI_BLE_ADV_CHANNEL_MAP 0x07
75#define RSI_BLE_START_ADV 0x01
77#define RSI_BLE_STOP_ADV 0x00
80#define RSI_BLE_PWR_INX 30
83#define BLE_DISABLE_DUTY_CYCLING 0
84#define BLE_DUTY_CYCLING 1
85#define BLR_DUTY_CYCLING 2
86#define BLE_4X_PWR_SAVE_MODE 4
87#define RSI_BLE_PWR_SAVE_OPTIONS BLE_DISABLE_DUTY_CYCLING
94#define UNDIR_CONN 0x80
106#define UNDIR_SCAN 0x82
111#define UNDIR_NON_CONN 0x83
117#define DIR_CONN_LOW_DUTY_CYCLE 0x84
120#define LE_LIMITED_DISCOVERABLE 0x01
121#define LE_GENERAL_DISCOVERABLE 0x02
122#define LE_BR_EDR_NOT_SUPPORTED 0x04
125#define ALLOW_SCAN_REQ_ANY_CONN_REQ_ANY 0x00
126#define ALLOW_SCAN_REQ_ACCEPT_LIST_CONN_REQ_ANY 0x01
127#define ALLOW_SCAN_REQ_ANY_CONN_REQ_ACCEPT_LIST 0x02
128#define ALLOW_SCAN_REQ_ACCEPT_LIST_CONN_REQ_ACCEPT_LIST 0x03
131#define LE_PUBLIC_ADDRESS 0x00
132#define LE_RANDOM_ADDRESS 0x01
133#define LE_RESOLVABLE_PUBLIC_ADDRESS 0x02
134#define LE_RESOLVABLE_RANDOM_ADDRESS 0x03
141#define LE_SCAN_INTERVAL 0x0100
142#define LE_SCAN_WINDOW 0x0050
144#define CONNECTION_INTERVAL_MIN 0x00A0
145#define CONNECTION_INTERVAL_MAX 0x00A0
147#define CONNECTION_LATENCY 0x0000
148#define SUPERVISION_TIMEOUT 0x07D0
156#define RSI_BLE_SCAN_TYPE SCAN_TYPE_ACTIVE
157#define RSI_BLE_SCAN_FILTER_TYPE SCAN_FILTER_TYPE_ALL
160#define RSI_BLE_START_SCAN 0x01
161#define RSI_BLE_STOP_SCAN 0x00
164#define SCAN_TYPE_ACTIVE 0x01
165#define SCAN_TYPE_PASSIVE 0x00
168#define SCAN_FILTER_TYPE_ALL 0x00
169#define SCAN_FILTER_TYPE_ONLY_ACCEPT_LIST 0x01
171#define RSI_SEL_INTERNAL_ANTENNA 0x00
172#define RSI_SEL_EXTERNAL_ANTENNA 0x01
177#define RSI_BLE_REMOTE_DEV_ADDR "00:12:45:AB:1D:32"
179#define RSI_REMOTE_DEVICE_NAME "Note10"
182#define CONN_INTERVAL_MIN 0x08
183#define CONN_INTERVAL_MAX 0x08
184#define CONN_LATENCY 0
191#define TX_TIME 0x4290
198#define TX_PHY_RATE 0x02
199#define RX_PHY_RATE 0x02
202#define CODDED_PHY_RATE 0x00
205#define NOTIFY_DISABLE 0x00
206#define NOTIFY_ENABLE 0x01
211#define DLE_BUFFER_MODE 1
212#define DLE_BUFFER_COUNT 10
213#define RSI_BLE_MAX_DATA_LEN RSI_DEV_ATT_LEN
215#define DLE_BUFFER_MODE 0
216#define DLE_BUFFER_COUNT 2
217#define RSI_BLE_MAX_DATA_LEN 20
220#define BLE_SIMPLE_GATT 1
224#define RSI_BLE_ENABLE_ADV_EXTN 1
227#define RSI_BLE_AE_MAX_ADV_SETS 1