Changing attitude in Mission

Hello ,

We are in the phase of creating a traffic signaling solution for the drones that are connected to our server. In our case, all the drones in the air are navigated in mission mode. When (GPS Coordinates of) two drones are close enough, the server detects the collision and halts the drone. However, we are looking forward to changing the attitude of drones and allowing it to continue its mission. I tried to use mavlink commands NAV_CMD_LOITER_TO_ALT and MAV_CMD_NAV_CONTINUE_AND_CHANGE_ALT. PX4 replies MAV_RESULT_UNSUPPORTED for both of them. Can you please suggest me an alternative solution for the same.

Thank you in advance.

Regards,
Anand