Hello @Rolandas ,
There is no binary mode setting in UWP. The SerialDevice API always transmits raw bytes exactly as provided in your buffer.
So we can narrow down the issue to either the virtual COM driver or the device/firmware itself.
You can try the following steps to diagnose the problem:
- Check the virtual COM driver's settings and version. Trial builds sometimes alter data; if applicable, switch to a licensed build or try another driver.
- Confirm the device isn't in ASCII/terminal mode and that no firmware option maps characters or does line-ending translation.
- Disable any emulation features in the virtual port tool (CR/LF conversion, character filtering, transformers).
- As a sanity check, loop the port back and read exactly what you wrote. If the bytes change on loopback, it's the driver; if they only change when talking to the device, it's the device/firmware.