@arge06 why do you use Chr? Do you want to send bytes or characters?
B4X:Dim data() as byte = Array as byte(0XDF, 0x00, ...) astreams.Write(data)
I'm sorry but I don't understand the question. I guess that the BytesToString keyword can help you.
You might consider exposing the modem control methods which might be useful.
No, the number of returned bytes is different if I repeat the same command after a initialization.If it is exactly 56 bytes every time it looks like a flow control problem as buffer overruns and lost data would tend to be variable. Have/can you dramatically slow the baud rate down to see if that changes the symptoms?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?