TI BLE-Stack for Bluetooth 4.2 API Documentation
3.01.00.07
|
Macros | |
#define | BLE_TO_RAT 2500 |
1 BLE tick(0.625 ms) = 2500 RAT tick | |
#define | BLE_TO_SYSTICK (625 / Clock_tickPeriod) |
0.625 ms = (625 / Clock_tickPeriod) system tick | |
#define | BYTE_TO_RAT (8 * US_TO_RAT) |
1 byte = 8 us = 32 RAT tick, assuming 1 Mbps PHY | |
#define | MS_TO_RAT 4000 |
1 ms = 4000 RAT tick | |
#define | MS_TO_SYSTICK (1000 / Clock_tickPeriod) |
1 ms = (1000 / Clock_tickPeriod) system tick | |
#define | SYSTICK_TO_RAT (Clock_tickPeriod * US_TO_RAT) |
1 system tick = (Clock_tickPeriod * US_TO_RAT) RAT tick | |
#define | UBLE_EVTDST_GAP 1 |
GAP. | |
#define | UBLE_EVTDST_LL 0 |
LL. More... | |
#define | UBLE_MAX_ADV_INTERVAL 16384 |
Maximum Advertising Interval. | |
#define | UBLE_MAX_ADVDATA_LEN B_MAX_ADV_LEN |
Max Advertising Data Length. | |
#define | UBLE_MAX_CHANNEL_MAP UBLE_ADV_CHAN_ALL |
Maximum Channel Map. | |
#define | UBLE_MAX_MONITOR_CHAN 39 |
Maximum Monitor channel. | |
#define | UBLE_MAX_MONITOR_DURATION 64000 |
Maximum Monitor duration. | |
#define | UBLE_MAX_MONITOR_HANDLE 4 |
Maximum Monitor handle. | |
#define | UBLE_MAX_SCAN_INTERVAL 16384 |
Maximum Scanning Interval. | |
#define | UBLE_MAX_SCAN_WINDOW 16384 |
Maximum Scanning window. | |
#define | UBLE_MAX_TX_POWER TX_POWER_5_DBM |
5 dBm | |
#define | UBLE_MIN_ADV_INTERVAL 160 |
Minimum Advertising interval. | |
#define | UBLE_MIN_CHANNEL_MAP UBLE_ADV_CHAN_37 |
Minimum Channel Map. | |
#define | UBLE_MIN_MONITOR_CHAN 0 |
Minimum Monitor channel. | |
#define | UBLE_MIN_MONITOR_DURATION 0 |
Minimum Monitor duration. | |
#define | UBLE_MIN_MONITOR_HANDLE 0 |
Minimum Monitor handle. | |
#define | UBLE_MIN_SCAN_INTERVAL 4 |
Minimum Scanning interval. | |
#define | UBLE_MIN_SCAN_WINDOW 4 |
Minimum Scanning window. | |
#define | UBLE_MIN_TX_POWER TX_POWER_MINUS_21_DBM |
-21 dBm | |
#define | UBLE_NUM_EVTDST 2 |
Number of Event Destinations. | |
#define | UBLE_PARAM_DFLT_ADVCHANMAP UBLE_ADV_CHAN_ALL |
All Channels. | |
#define | UBLE_PARAM_DFLT_ADVDATA {0} |
No data. | |
#define | UBLE_PARAM_DFLT_ADVFLTPOLICY 0 |
Filter policy TBD. | |
#define | UBLE_PARAM_DFLT_ADVINTERVAL 1600 |
1 sec | |
#define | UBLE_PARAM_DFLT_ADVTYPE UBLE_ADVTYPE_ADV_NC |
ADV_NONCONN_IND. | |
#define | UBLE_PARAM_DFLT_FLTDUPLICATE 0 |
Filter duplicate TBD. | |
#define | UBLE_PARAM_DFLT_MONITOR_ACCESS_ADDR 0x8E89BED6 |
Adv address. | |
#define | UBLE_PARAM_DFLT_MONITOR_CHAN 37 |
Channel monitored. | |
#define | UBLE_PARAM_DFLT_MONITOR_DURATION 320 |
Monitor duration 200 ms. | |
#define | UBLE_PARAM_DFLT_MONITOR_HANDLE 0 |
Monitor session handle. | |
#define | UBLE_PARAM_DFLT_MONITOR_START_TIME 6400 |
Monitor start time 4 s. | |
#define | UBLE_PARAM_DFLT_RFPRIORITY UBLE_RF_PRI_NORMAL |
RF_PriorityNormal. | |
#define | UBLE_PARAM_DFLT_RFTIMECRIT RF_TIME_RELAXED |
Time-relaxed. | |
#define | UBLE_PARAM_DFLT_SCANCHAN UBLE_ADV_CHAN_ALL |
All Channels. | |
#define | UBLE_PARAM_DFLT_SCANFLTPOLICY 0 |
Scan filter policy TBD. | |
#define | UBLE_PARAM_DFLT_SCANINTERVAL 16 |
Scan interval. | |
#define | UBLE_PARAM_DFLT_SCANRSPDATA {0} |
No data. | |
#define | UBLE_PARAM_DFLT_SCANTYPE 0 |
Scan type. | |
#define | UBLE_PARAM_DFLT_SCANWINDOW 16 |
Scan window. | |
#define | UBLE_PARAM_DFLT_TIMETOADV 0 |
Disabled. | |
#define | UBLE_PARAM_DFLT_TXPOWER TX_POWER_0_DBM |
0 dBm | |
#define | UBLE_TX_POWER_INVALID 0xFFFF |
Invalid TX Power Register value. | |
#define | US_TO_RAT 4 |
1 us = 4 RAT tick More... | |
#define UBLE_EVTDST_LL 0 |
LL.
Event Message Destination
#define US_TO_RAT 4 |
1 us = 4 RAT tick
Unit conversions