DWM1001- Make DWM1001 wait for UART message and UART questions


I am using the DWM1001-DEV running a modified firmware. What I am trying to do is, connect to the DWM1001 over a python script, then send a certain message to the DWM1001 over uart which then allows the DWM1001 to do continue operation. Essentially, the DWM1001 would do nothing, wait for the “interrupt” from the uart connection and then do something.
How would I go about making the DWM1001 wait until a UART message is received? Are there specific API functions for this?

Also, when writing something over uart to the DWM1001, which status registers are set, and is the message written into the RX Register?

Thanks for the help.