Mercurial > public > ostc4
comparison Small_CPU/Src/pressure.c @ 218:ff59d1d07f9c Improve_IPC_Sync
Splitted 120 seconds UART timeout into chunks of 500ms
The UART connection via Bluetooth was realized using a receive call with 120 seconds timeout. By cancellation it seemed for the user as if the connection would have been aborted. In reality the received function keeped executing the wait for RX data till timeout occure. To avaoid this the timeout has been splitted into several calls with 500ms timeout => If the user disconnects by pressing "back" the COMM function is now ended.
author | ideenmodellierer |
---|---|
date | Sun, 31 Mar 2019 15:44:12 +0200 |
parents | f11f0bf6ef2d |
children | 2b9775f71e30 |
comparison
equal
deleted
inserted
replaced
217:ce05c801b002 | 218:ff59d1d07f9c |
---|