In order to achieve the above, you need to update new firmware on the R-XSR receiver.
New firmware download link: https://www.frsky-rc.com/wp-content/uploads/2017/07/Firmware/RXSR/FW-RXSR-171009.zip
Firmware upload guide: http://furiousfpv.com/document/Manual_Furious_/Flash_FW_SPD15.pdf
Note: This link is for SPD15 but it’s the same with R-XSR