I tried to get the ANT background scanning example to work on a PCA10028 and it jumps to softdevice_assert_callback when opening the ant channel. Downloaded everything fresh.
"err_code = sd_ant_channel_open(ANT_BS_CHANNEL_NUMBER);"
Seems to be working here with S210 4.0.1 and SDK 8.1.0. What SoftDevice version are you using? Does sd_ant_channel_open(ANT_BS_CHANNEL_NUMBER) return an error code? Put a breakpoint at APP_ERROR_CHECK. To see the error code you need to turn of optimizations, Options for Target->C/C++/Optimization: Level 0
Seems to be working here with S210 4.0.1 and SDK 8.1.0. What SoftDevice version are you using? Does sd_ant_channel_open(ANT_BS_CHANNEL_NUMBER) return an error code? Put a breakpoint at APP_ERROR_CHECK. To see the error code you need to turn of optimizations, Options for Target->C/C++/Optimization: Level 0