An option is to use cmux. With this feature you can multiplex several virtual ports over one single UART. Then you can use one for data and another one for AT commands.
An option is to use cmux. With this feature you can multiplex several virtual ports over one single UART. Then you can use one for data and another one for AT commands.