I'm writing an app that reads text data sent via Bluetooth from a radio terminal node controller.
Sometimes the first character or two in the stream are missing.
I'm assembling the string using Async NewData with BytestoString with Stringbuilder and 99.9% of the time it's OK but the missing characters are causing problems as the link has to be error free.
I find that if the Bluetooth link is strong it's 100% but if the link is weak then the errors start to appear.
Is there any way around this?
Is there any way to measure the signal strength or link quality of the Bluetooth link? I could then pause string processing when the Bluetooth signal is weak. I know that a Bluetooth RSSI isn't included in Android yet but is there any alternative way to get an idea of signal strength?
Thanks,
Chris
Sometimes the first character or two in the stream are missing.
I'm assembling the string using Async NewData with BytestoString with Stringbuilder and 99.9% of the time it's OK but the missing characters are causing problems as the link has to be error free.
I find that if the Bluetooth link is strong it's 100% but if the link is weak then the errors start to appear.
Is there any way around this?
Is there any way to measure the signal strength or link quality of the Bluetooth link? I could then pause string processing when the Bluetooth signal is weak. I know that a Bluetooth RSSI isn't included in Android yet but is there any alternative way to get an idea of signal strength?
Thanks,
Chris