32#ifndef NIMBLE_AUTOADV_ADV_ITVL_MS 
   33#define NIMBLE_AUTOADV_ADV_ITVL_MS         (100U)  
   35#ifndef NIMBLE_AUTOADV_ADV_DURATION_MS 
   36#define NIMBLE_AUTOADV_ADV_DURATION_MS     (BLE_HS_FOREVER)  
   38#ifndef NIMBLE_AUTOADV_FLAGS 
   39#define NIMBLE_AUTOADV_FLAGS               (NIMBLE_AUTOADV_FLAG_LEGACY | \ 
   40                                            NIMBLE_AUTOADV_FLAG_CONNECTABLE | \ 
   41                                            NIMBLE_AUTOADV_FLAG_SCANNABLE) 
   43#ifndef NIMBLE_AUTOADV_PHY 
   44#define NIMBLE_AUTOADV_PHY                 NIMBLE_PHY_1M 
   46#ifndef NIMBLE_AUTOADV_TX_POWER 
   47#define NIMBLE_AUTOADV_TX_POWER            0  
   49#ifndef NIMBLE_AUTOADV_CHANNEL_MAP 
   50#define NIMBLE_AUTOADV_CHANNEL_MAP         0 
   52#ifndef NIMBLE_AUTOADV_OWN_ADDR_TYPE 
   53#define NIMBLE_AUTOADV_OWN_ADDR_TYPE       0xFF  
   55#ifndef NIMBLE_AUTOADV_FILTER_POLICY 
   56#define NIMBLE_AUTOADV_FILTER_POLICY       0 
   59#ifndef NIMBLE_AUTOADV_PARAMS 
   60#define NIMBLE_AUTOADV_PARAMS                               \ 
   61    { .adv_itvl_ms     = NIMBLE_AUTOADV_ADV_ITVL_MS,        \ 
   62      .adv_duration_ms = NIMBLE_AUTOADV_ADV_DURATION_MS,    \ 
   63      .flags           = NIMBLE_AUTOADV_FLAGS,              \ 
   64      .phy             = NIMBLE_AUTOADV_PHY,                \ 
   65      .tx_power        = NIMBLE_AUTOADV_TX_POWER,           \ 
   66      .channel_map     = NIMBLE_AUTOADV_CHANNEL_MAP,        \ 
   67      .own_addr_type   = NIMBLE_AUTOADV_OWN_ADDR_TYPE,      \ 
   68      .filter_policy   = NIMBLE_AUTOADV_FILTER_POLICY } 
   76    NIMBLE_AUTOADV_PARAMS;
 
static const nimble_autoadv_cfg_t nimble_autoadv_cfg
nimble_autoadv configuration
 
RIOT specific glue functions for integrating NimBLE.
 
Parameter set used to configure accepting connections (advertising)