UART: Going back to Data Mode

Hi

I’m using GL6100 RS232 with a simple UART management application. I manage to send and receive data (in Data Mode), and I can go to AT Mode if I specifically introduce a character set to be received by the application to force a change to AT mode (with the adl_fcmSwitchV24State), not with the +++. For me this is fine, but I think it’s why I cant do the following:

I can’t go back to Data mode using the ATO command, or force it manually with a special set of characters, as my application does not receive the data in At Mode (to be able to interpret it in the application).

To subscribe to FCM I use:

handle_uart1=adl_fcmSubscribe(ADL_FCM_FLOW_V24_UART1, EvhCrtlUart1,EvhDataUart1);

How can I go back to Data Mode after I have switched to AT Mode?

Thanks

Hi,

One way to handle data mode and AT mode in the application is :

Subscribe to some customized command like “AT+MODE” and in the command handler ,you can switch to AT mode or DATA mode according to mode selected.

Thanks.