How to enable UWB mode to offline/Passive/Active mode

Hello Team,

I would like to write an API’s to enable UWB mode to offline/Passive/Active mode for DW1000 in EVK1000 board.
Please suggest the steps for the above in DW1000 in the following github codes.

Thanks in advance!!