BLE-Stack APIs  3.00.00
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros
Micro BLE Stack Parameters

These are set via ub_setParameter. More...

Macros

#define UB_PARAM_ADVCHANMAP   (UB_PARAM_ADV_CMN_START+1)
 Advertising Channel map. More...
 
#define UB_PARAM_ADVDATA   (UB_PARAM_ADV_CMN_START+4)
 Advertising Data. More...
 
#define UB_PARAM_ADVFLTPOLICY   (UB_PARAM_ADV_SR_START+1)
 Advertising Filter Policy. More...
 
#define UB_PARAM_ADVINTERVAL   (UB_PARAM_ADV_CMN_START+0)
 Advertising Interval (n * 0.625 ms) More...
 
#define UB_PARAM_ADVTYPE   (UB_PARAM_ADV_CMN_START+2)
 Type of Advertising. More...
 
#define UB_PARAM_RFPRIORITY   (UB_PARAM_COMMON_START+0)
 Priority used for RF command scheduling. More...
 
#define UB_PARAM_RFTIMECRIT   (UB_PARAM_COMMON_START+1)
 Whether or not to allow delayed advertising out of periodicity. More...
 
#define UB_PARAM_SCANRSPDATA   (UB_PARAM_ADV_SR_START+0)
 Scan response Data. More...
 
#define UB_PARAM_TIMETOADV   (UB_PARAM_ADV_CMN_START+3)
 How early the application wants to get a notification before each advertising event happens (ms) More...
 
#define UB_PARAM_TXPOWER   (UB_PARAM_COMMON_START+2)
 TX Power. More...
 

Detailed Description

These are set via ub_setParameter.

Macro Definition Documentation

#define UB_PARAM_ADVCHANMAP   (UB_PARAM_ADV_CMN_START+1)

Advertising Channel map.

default: UB_ADV_CHAN_ALL

range: Micro BLE Stack Advertising Channel Masks

#define UB_PARAM_ADVDATA   (UB_PARAM_ADV_CMN_START+4)

Advertising Data.

default: {0}

range: 0 - UB_MAX_ADVDATA_LEN bytes

#define UB_PARAM_ADVFLTPOLICY   (UB_PARAM_ADV_SR_START+1)

Advertising Filter Policy.

not implemented

default: TBD

range: TBD

#define UB_PARAM_ADVINTERVAL   (UB_PARAM_ADV_CMN_START+0)

Advertising Interval (n * 0.625 ms)

default: 1600

range: UB_MIN_ADV_INTERVAL - UB_MAX_ADV_INTERVAL

#define UB_PARAM_ADVTYPE   (UB_PARAM_ADV_CMN_START+2)

Type of Advertising.

default: UB_ADVTYPE_ADV_NC

range: Micro BLE Stack Advertising Types

#define UB_PARAM_RFPRIORITY   (UB_PARAM_COMMON_START+0)

Priority used for RF command scheduling.

Note
This applies to dual mode only

default: RF_PRI_NORMAL

range: Micro BLE Stack Radio Priorities

#define UB_PARAM_RFTIMECRIT   (UB_PARAM_COMMON_START+1)

Whether or not to allow delayed advertising out of periodicity.

Note
This applies to dual mode only

default: RF_TIME_RELAXED

range: Micro BLE Stack Radio Criticality

#define UB_PARAM_SCANRSPDATA   (UB_PARAM_ADV_SR_START+0)

Scan response Data.

default: {0}

range: 0 - UB_MAX_ADVDATA_LEN bytes

#define UB_PARAM_TIMETOADV   (UB_PARAM_ADV_CMN_START+3)

How early the application wants to get a notification before each advertising event happens (ms)

The application is notified via the ugbAdvDoneCb_t callback.

Note
A value of 0 will disable the callback

default: 0 (disabled)

range: 0-256

#define UB_PARAM_TXPOWER   (UB_PARAM_COMMON_START+2)
Copyright 2016, Texas Instruments Incorporated