31.01.2019, 13:58
Basic receive logic:
Receive 1 byte with 1 second timeout
Receive 1 byte with 1 second timeout
- In case of timeout, check if buffer is not empty and parse it
- Otherwise add byte to buffer