Yeah, I noticed this sort of shenanigans with the last chip I was working with alright. Quite complicated so it is. In fact I suspect that it wasn't quite working properly, as every now and again it would bork spectacularly and in ways that are very much not like what it says on the tin.
It wasn't a massive deal, since we were still prototyping, so I let it slide, and crossed my fingers when investor eyes were on me.
There are many potential points of failure in these setups, not least of which was my dodgy modified Linux driver.
I will indeed let you know how it shapes up.
Here, do you mind me asking, (I will make the assumption you too are also coding up for Win32 machines) why are you using C++, and not C# to solve your problem? That was going to be my next port of call for the production code. You appear to have quite a lot of control over whats happening from the brief look I had.

In reply to Re^6: Win32::SerialPort ; close / open problem by philipMac
in thread Win32::SerialPort ; close / open problem by philipMac

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.