# UART: Going back to Data Mode

**URL:** <https://forum.sierrawireless.com/t/uart-going-back-to-data-mode/6269>\
**Category:** Legacy FX/FXT series\
**Created:** [April 19, 2013, 1:01pm UTC](https://forum.sierrawireless.com/t/uart-going-back-to-data-mode/6269 "2013-04-19T13:01:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jupiter](https://avatars.discourse-cdn.com/v4/letter/j/53a042/32.png) [@Jupiter](https://forum.sierrawireless.com/u/Jupiter)\
**Post date:** [April 19, 2013, 1:01pm UTC](https://forum.sierrawireless.com/t/uart-going-back-to-data-mode/6269/1 "2013-04-19T13:01:53Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![Rex\_alex](https://avatars.discourse-cdn.com/v4/letter/r/73ab20/32.png) [@Rex\_alex](https://forum.sierrawireless.com/u/Rex_alex)\
**Post date:** [April 23, 2013, 12:13pm UTC](https://forum.sierrawireless.com/t/uart-going-back-to-data-mode/6269/2 "2013-04-23T12:13:07Z")

</div>

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.
