tiwari.sachin
Full Member level 6
I am using a device that communicates to a mobile via bluetooth.
My unit has a MCU and bluetooth connected via UART
When there is continuous communication happening between the two devices, I see that there is some data loss. This happens randomly and I cannot really find a proper sequence for the same.
Works fine for longer duration for some mobiles and for some, the time of proper communication is different.
I was thinking of using CRC (384 bits and/or 576 bits followed by 16 bit CRC). Since there would be lot of computation that goes plus extra couple of bytes, the overall communication speed will drop drastically.
Is this the better way or are there other faster and good techniques to check proper data communication.
My unit has a MCU and bluetooth connected via UART
When there is continuous communication happening between the two devices, I see that there is some data loss. This happens randomly and I cannot really find a proper sequence for the same.
Works fine for longer duration for some mobiles and for some, the time of proper communication is different.
I was thinking of using CRC (384 bits and/or 576 bits followed by 16 bit CRC). Since there would be lot of computation that goes plus extra couple of bytes, the overall communication speed will drop drastically.
Is this the better way or are there other faster and good techniques to check proper data communication.