# Why use 2 way send data to uart but its different?

**URL:** <https://discourse.nodered.org/t/why-use-2-way-send-data-to-uart-but-its-different/48102>\
**Category:** General\
**Created:** [7 July 2021 01:48 UTC](https://discourse.nodered.org/t/why-use-2-way-send-data-to-uart-but-its-different/48102 "2021-07-07T01:48:35Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![jlian168](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jlian168/32/43737_2.png) [@jlian168](https://discourse.nodered.org/u/jlian168)\
**Post date:** [7 July 2021 01:48 UTC](https://discourse.nodered.org/t/why-use-2-way-send-data-to-uart-but-its-different/48102/1 "2021-07-07T01:48:35Z")

</div>

Dear Sir :

Look at Pic and below :

1. The Green is send data to uart and mcu has response same data too.
2. The Red is send data to uart but mcu has not response!
3. Why? What happend!

Thank u.

 ![螢幕擷取畫面 2021-07-07 093928](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/b/0/b0b47db125115f5740cfa9ce70227c957bd71d2b.jpeg)

---

<div class="post-metadata">

**Author:** ![Gunner](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/gunner/32/43582_2.png) [@Gunner](https://discourse.nodered.org/u/Gunner)\
**Post date:** [7 July 2021 02:12 UTC](https://discourse.nodered.org/t/why-use-2-way-send-data-to-uart-but-its-different/48102/2 "2021-07-07T02:12:58Z")

</div>

Without seeing the contents of your function nodes, nor what triggers the "faulty" one, all I can see is that one is a buffer and one is an array.

![image](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/3X/d/d/dda80291d38ecaa575bedafb0eb2b2bd26c14a0b.jpeg)

And that is the limit of my understanding between the two 😛

---

<div class="post-metadata">

**Author:** ![jlian168](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/jlian168/32/43737_2.png) [@jlian168](https://discourse.nodered.org/u/jlian168)\
**Post date:** [7 July 2021 02:18 UTC](https://discourse.nodered.org/t/why-use-2-way-send-data-to-uart-but-its-different/48102/3 "2021-07-07T02:18:52Z")

</div>

Dear Gunner :

Yeah, I see, its different...  
And I use Buffer.from(array) that become ok.

Thank u.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex026/uploads/nodered/original/1X/d073cd938eafa2e558d7c2cd59003b3ef4963033.png) [@system](https://discourse.nodered.org/u/system)\
**Post date:** [21 July 2021 02:19 UTC](https://discourse.nodered.org/t/why-use-2-way-send-data-to-uart-but-its-different/48102/4 "2021-07-21T02:19:38Z")

</div>

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
