# How to access the individual serial port data buffer bytes and send a reply?

**URL:** <https://discourse.nodered.org/t/how-to-access-the-individual-serial-port-data-buffer-bytes-and-send-a-reply/26403>\
**Category:** General\
**Created:** [10 May 2020 05:50 UTC](https://discourse.nodered.org/t/how-to-access-the-individual-serial-port-data-buffer-bytes-and-send-a-reply/26403 "2020-05-10T05:50:28Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Steve-Mcl](https://sea2.discourse-cdn.com/flex026/user_avatar/discourse.nodered.org/steve-mcl/32/4826_2.png) [@Steve-Mcl](https://discourse.nodered.org/u/Steve-Mcl)\
**Post date:** [10 May 2020 07:17 UTC](https://discourse.nodered.org/t/how-to-access-the-individual-serial-port-data-buffer-bytes-and-send-a-reply/26403/2 "2020-05-10T07:17:31Z")

</div>

I guess this is related to your original [thread](https://discourse.nodered.org/t/how-to-write-the-string-array-containing-hex-commands-to-serial-out-node-without-buffer-on-node-v0-10-40-node-red-v0-15-2/26150)?

> [@Waled22](#):
>
> I need to access the individual bytes of the buffer

That info is in the buffer docs Nick pointed you to in your other thread.

> [@Waled22](#):
>
> I need to compare the individual bytes to other set bytes and then accordingly write the buffer to the serial out node

> [@Waled22](#):
>
> Is there any way to automate this whole thing

Yes, of course, but you will need to spell out the steps. And you will need to provide sample data and demo flows.

---

_[View the full topic](https://discourse.nodered.org/t/how-to-access-the-individual-serial-port-data-buffer-bytes-and-send-a-reply/26403)._
