The channel_sounding_ras_initiator/reflector samples work but trying any other combination of parameters for bt_le_cs_create_config_params or bt_le_cs_set_procedure_parameters_param will often lead to failures like
[00:02:04.067,006] <wrn> bt_hci_core: opcode 0x2090 status 0x12
[00:02:04.073,642] <err> main: Failed to create CS config (err -22)
where the call to bt_le_cs_create_config() will error out with an EINVAL error. What's invalid? Because the message is opaque, and because trying things involves a whole cycle of building and burning, it is excruciatingly slow going.
Using mode 3 by enabling BT_CTLR_SDC_CS_STEP_MODE3=y (as per https://docs.nordicsemi.com/bundle/ncs-latest/page/nrfxlib/softdevice_controller/doc/channel_sounding.html#cs_kconfigs ) setting params.main_mode_type to BT_CONN_LE_CS_MAIN_MODE_3 gives this error.
Playing with main_mode_type and sub_mode_type, even when not using MODE3: same error. There are in fact lots of ways, I have discovered, to get the same error.
My questions are:
* is it possible to get a deeper look at what the actual problem is, as in which value is invalid (I tried upping the log level, that made lots of noise but gave no more information)? and
* where can we see which combinations of parameters for bt_le_cs_create_config_params would be valid with the nRF54L15?
Thanks