Since the keyword search on the forum doesn't work for now...
I want to read a string from a comport and used the readfile function, but i don't know how many bits i will recieve (eihter 0 or 2). ReadFile has to know this in front. If it didn't recieve the right amount of bits yet, the app (or function) keeps waiting for them. How do i prevent this?
I want to read a string from a comport and used the readfile function, but i don't know how many bits i will recieve (eihter 0 or 2). ReadFile has to know this in front. If it didn't recieve the right amount of bits yet, the app (or function) keeps waiting for them. How do i prevent this?