I'm wondering if you can help me with my problem. I've got an external device which is sending some data by UART. I'm reading it to the char array. And unfortunatelly this device sends NULL characters inside the data (for the device is just something like NOP instruction but in C it's not so ) and because of that I'm loosing all data after that NULL character.
I can't change the device so I'm asking if there's some possibility to change the interpretation of NULL in C?