Is there any ways to battle/trade from emulator to 3ds?

Hello everyone, I’m not sure if many people asked this before, if yes I’m sorry. My friend has a 3ds xl with ultra moon and I play ultra sun via citra, is it possible to trade?

In order for us to provide better support, we need to see the log generated by Citra. This guide will walk you through how you can obtain the log file: How to Upload the Log File.

Transfer your save to your 3DS to battle/trade with him/her then transfer back to Citra when you are done. Citra cannot connect to a real 3DS.