Best aproach to share/switch a UART?

Hi there, right now I'm working with an application that allows me to collect data via UART from several sensors (two), and I also I have a SIM module that allows me to communicate via UART.
But I'm facing the problem that I'm just using a single UART to achieve all of these tasks.
But in some cases, I can't use the UART when I need it at a specific moment because it has been acquired for another task.
Then, what could be the best approach to sharing or switching a single UART beyond more a timeout?
Whatever advice you leave, it'll be received.
Thanks.
Parents Reply Children
No Data
Related