Hy Erel,
In my project I try to communicate on android mobile with a PIC micro over bluetooth serial. I use asyncstream in prefix mode. The mobile is the main, so every time the android send packet and wait for a answer. My question is, how to handle when for some reason the PIC dosnt send back answer.
Something like WAIT for packed received FOR 1000mS. When no packet received do something ...
I try to find on forum the solution but I dont find how to manage it.
Please help
Thank You
Edit (Erel): Answer is here: https://www.b4x.com/android/forum/threads/wait-for-packet-predefined-time.80666/#post-511130
In my project I try to communicate on android mobile with a PIC micro over bluetooth serial. I use asyncstream in prefix mode. The mobile is the main, so every time the android send packet and wait for a answer. My question is, how to handle when for some reason the PIC dosnt send back answer.
Something like WAIT for packed received FOR 1000mS. When no packet received do something ...
I try to find on forum the solution but I dont find how to manage it.
Please help
Thank You
Edit (Erel): Answer is here: https://www.b4x.com/android/forum/threads/wait-for-packet-predefined-time.80666/#post-511130
Last edited by a moderator: