Menu

possible bug found: 00 byte unwanted

Help
gabrago
2012-07-12
2013-05-20
  • gabrago

    gabrago - 2012-07-12

    Hello all,
    I have created two  virtual pairs  COM177<->CNCB0 and COM178<->CNCB1 .
    I have added this line in multilpexer.bat after line 48 :     IF /I "%OPTION%" == "-octs"   GOTO BEGIN_OPTION_LC
    Then I do: multiplexer.bat -trace -octs=off COM177 CNCB1,
    finally I open with putty.exe a terminal to COM178 and type the letter "a" (that is 61 in hex"),
    then COM177 receive ""00 61", and this happens for all bytes that I send from COM178, id est there is always an unwanted "00" prepended,
    can anyone help me?

    This is the otput of the command:
    …….
    Started CNCB1(3)
    2012/07/13 00:48:14.493 CNCB1(3)-(COM)->: MSG_LINE_DATA {:
      61                                               * a                *}
    2012/07/13 00:48:14.514 CNCB1(3)-(ExM)->: MSG_LINE_DATA {:
      61                                               * a                *}
    2012/07/13 00:48:14.536 CNCB1(3)-(CxB)->: MSG_LINE_DATA {:
      61                                               * a                *}
    2012/07/13 00:48:14.559 CNCB1-muxB(2)<-(TxM)-CNCB1(3): MSG_LINE_DATA {:
      61                                               * a                *}
    2012/07/13 00:48:14.583 CNCB1-muxB(2)<-(muxB)-CNCB1(3): MSG_LINE_DATA {:
      61                                               * a                *}
    2012/07/13 00:48:14.614 CNCB1-muxA(1)-(muxA)->: MSG_LINE_DATA {:
      61                                               * a                *}
    2012/07/13 00:48:14.635 CNCB1-muxA(1)-(TxL)->: MSG_LINE_DATA {:
      00 61                                            * .a               *}
    2012/07/13 00:48:14.657 COM177(0)<-(COM)-CNCB1-muxA(1): MSG_LINE_DATA {:
      00 61                                            * .a               *}

     
  • Vyacheslav Frolov

    > there is always an unwanted "00" prepended

    Are you sure you need multilpexer?
    If you multilpex data then you need demultilpex it on the other end.

     
  • gabrago

    gabrago - 2012-07-16

    Really I would share a phoenix reader with a sim card inside, but I don't know if it is possible,
    thank you anyway for com0com, I think it will be useful.

     

Log in to post a comment.