<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Topics tagged with serial]]></title><description><![CDATA[A list of topics that have been tagged with serial]]></description><link>https://forum.rexygen.com/tags/serial</link><generator>RSS for Node</generator><lastBuildDate>Sun, 17 May 2026 15:13:02 GMT</lastBuildDate><atom:link href="https://forum.rexygen.com/tags/serial.rss" rel="self" type="application/rss+xml"/><pubDate>Invalid Date</pubDate><ttl>60</ttl><item><title><![CDATA[Communication with USBRLY82]]></title><description><![CDATA[<p dir="auto">Hi George,</p>
<p dir="auto">Thanks for your question. You need to create a kind of state machine which basically does the following (one line = one task period):</p>

Write() - send a read request to the device
Read() - save received data and length into a global buffer/variable and distinguish if the received message is complete
Retry and repeat Read() if the previously received message was not complete

<p dir="auto">You will need to introduce a timeout - it can happen that you lost some data so there should be some timeout when you say "Message incomplete, resend the read request".</p>
<p dir="auto">Cheers,<br />
Tomas</p>
]]></description><link>https://forum.rexygen.com/topic/386/communication-with-usbrly82</link><guid isPermaLink="true">https://forum.rexygen.com/topic/386/communication-with-usbrly82</guid><dc:creator><![CDATA[cechurat]]></dc:creator><pubDate>Invalid Date</pubDate></item></channel></rss>