Hey there,
I want to send some data from a µC board to a PC via RS232.
On the PC there is a VB6 application using MSComm control (properties in attached file RS232-02.jpg)
The µC send 24 bytes of data.
The first bytes of data are 0, 5, 255, 0, 10, 255, 0, 15, 255, 13, 35, 255, 13, 40, 252, 13, 45, 253, …
I encounter problems receiving the bytes with data “0”, zero.
Like you can see in file RS232-01.jpg all bytes are present except the three “0” bytes from position 1, 4 and 7.
Please notice that the software received only 21 bytes while the µC sends 24.
I suppose MSComm filtered these bytes out.
How do I tell MSComm to also pass bytes with “0” data to the input buffer?
I already tried with InputMode set to comInputModeBinary but with even worse result, mixed up data.
Thanks a lot for reading this
Even more thanks for a solution
I want to send some data from a µC board to a PC via RS232.
On the PC there is a VB6 application using MSComm control (properties in attached file RS232-02.jpg)
The µC send 24 bytes of data.
The first bytes of data are 0, 5, 255, 0, 10, 255, 0, 15, 255, 13, 35, 255, 13, 40, 252, 13, 45, 253, …
I encounter problems receiving the bytes with data “0”, zero.
Like you can see in file RS232-01.jpg all bytes are present except the three “0” bytes from position 1, 4 and 7.
Please notice that the software received only 21 bytes while the µC sends 24.
I suppose MSComm filtered these bytes out.
How do I tell MSComm to also pass bytes with “0” data to the input buffer?
I already tried with InputMode set to comInputModeBinary but with even worse result, mixed up data.
Thanks a lot for reading this
Even more thanks for a solution