nrf52840 ANT plus BSC profile change device number dinamically

Hi! I can't figure out how to use the profile class to change the monitored sensors dynamically.
Those. I am passing to the nRF52840 DK the number of the sensor I want to connect to, but I can't figure out how to initialize the profile with this device number.
The example uses the constants specified in sdk_config.h

When I try to put a non-constant here, I get an error - "initializer element is not constant"
int32_t device_id = 12345;

BSC_DISP_CHANNEL_CONFIG_DEF(m_ant_bsc,
    BSC_CHANNEL_NUM,
    CHAN_ID_TRANS_TYPE,
    DISPLAY_TYPE,
    device_id,
    ANTPLUS_NETWORK_NUM,
    BSC_MSG_PERIOD_4Hz);


If someone has an example of how to dynamically change the ANT sensor number, please help with this.
Related