# Transfer ALL from UART1 to UART2

**URL:** <https://forum.sierrawireless.com/t/transfer-all-from-uart1-to-uart2/2540>\
**Category:** General\
**Created:** [September 23, 2008, 7:12pm UTC](https://forum.sierrawireless.com/t/transfer-all-from-uart1-to-uart2/2540 "2008-09-23T19:12:53Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![DrLan](https://avatars.discourse-cdn.com/v4/letter/d/57b2e6/32.png) [@DrLan](https://forum.sierrawireless.com/u/DrLan)\
**Post date:** [September 23, 2008, 7:12pm UTC](https://forum.sierrawireless.com/t/transfer-all-from-uart1-to-uart2/2540/1 "2008-09-23T19:12:53Z")

</div>

Hi guys!

I’m a beginner in OAT programming and i don’t know how to read data from UART2 from external device and write it ALL to UART1?

I can is bad searched on a site? ☹  
There is a ready sample of similar code or a close problem?

Many thanks to all in advance.

---

<div class="post-metadata">

**Author:** ![awneil](https://avatars.discourse-cdn.com/v4/letter/a/49beb7/32.png) [@awneil](https://forum.sierrawireless.com/u/awneil)\
**Post date:** [September 23, 2008, 10:05pm UTC](https://forum.sierrawireless.com/t/transfer-all-from-uart1-to-uart2/2540/2 "2008-09-23T22:05:45Z")

</div>

Use the “Flow Control Manager”

UART2 is one “Flow”;  
UART1 is another “Flow”

You simply copy all data received from the UART2 “Flow” onto the UART1 “Flow”

---

<div class="post-metadata">

**Author:** ![DrLan](https://avatars.discourse-cdn.com/v4/letter/d/57b2e6/32.png) [@DrLan](https://forum.sierrawireless.com/u/DrLan)\
**Post date:** [September 24, 2008, 7:06am UTC](https://forum.sierrawireless.com/t/transfer-all-from-uart1-to-uart2/2540/3 "2008-09-24T07:06:34Z")

</div>

Has already gone to try.

Thnx 😒

---

<div class="post-metadata">

**Author:** ![elesaq](https://avatars.discourse-cdn.com/v4/letter/e/50afbb/32.png) [@elesaq](https://forum.sierrawireless.com/u/elesaq)\
**Post date:** [October 16, 2008, 11:39am UTC](https://forum.sierrawireless.com/t/transfer-all-from-uart1-to-uart2/2540/4 "2008-10-16T11:39:42Z")

</div>

Hi,  
i’m trying the same thing on q2686. I have an external device (sensor) and trying to send data to UART2. Unfortunately Uart2dataHandler does not respond in data sending.  
I used the code that is posted in ([http://www.wavecom.com/modules/movie/scenes/forums/viewtopic.php?f=5&t=2386&p=8827&hilit=+uart\*+data+stop#p8827](http://www.wavecom.com/modules/movie/scenes/forums/viewtopic.php?f=5&t=2386&p=8827&hilit=+uart*+data+stop#p8827)).  
Does anyone know what’s wrong??
