Distance Mesurement not working in after connection nrf_dm

Fullscreen
1
struct bt_le_adv_param *adv_param = &adv_param_conn;
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

Fullscreen
1
2
3
4
5
static struct bt_scan_init_param scan_init = {
.connect_if_match = 1,
.scan_param = &scan_param,
.conn_param = NULL
};
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

basically, I want to use dm feature in connection-oriented communication.
not in connection less, and I want to connect 1 central to 4 peripheral and measure distance.

Can you suggest me where to make other changes?