Advertising/Scan ISO ticker nodes #ble


Carl Stehle
 

Hello,

When using CONFIG_BT_CTLR_ADV_ISO or CONFIG_BT_CTLR_SYNC_ISO, is it necessary to define ticker nodes in subsys/bluetooth/controller/ll_sw/ull.c:

#if defined(CONFIG_BT_CTLR_ADV_ISO)
#define BT_ADV_ISO_TICKER_NODES ((TICKER_ID_ADV_ISO_LAST) - \
                 (TICKER_ID_ADV_ISO_BASE) + 1)
#else
#define BT_ADV_ISO_TICKER_NODES 0
#endif

#if defined(CONFIG_BT_CTLR_SYNC_ISO)
#define BT_SCAN_SYNC_ISO_TICKER_NODES ((TICKER_ID_SCAN_SYNC_ISO_LAST) - \
                   (TICKER_ID_SCAN_SYNC_ISO_BASE) + 1)
#else
#define BT_SCAN_SYNC_ISO_TICKER_NODES 0
#endif

and add them to the definition:

#define TICKER_NODES              (TICKER_ID_ULL_BASE + \
                   BT_ADV_TICKER_NODES + \
                   BT_ADV_AUX_TICKER_NODES + \
                   BT_ADV_SYNC_TICKER_NODES + \
                   BT_ADV_ISO_TICKER_NODES + \
                   BT_SCAN_TICKER_NODES + \
                   BT_SCAN_AUX_TICKER_NODES + \
                   BT_SCAN_SYNC_TICKER_NODES + \
                   BT_SCAN_SYNC_ISO_TICKER_NODES + \
                   BT_CONN_TICKER_NODES + \
                   BT_CIG_TICKER_NODES + \
                   USER_TICKER_NODES + \
                   FLASH_TICKER_NODES)

Thank you,
Carl