Bluetooth 2.0 not reconnecting
Posted: Sat Jun 10, 2023 2:51 pm
I have built a 10 Hz Bluetooth GPS from a BT04-S Bluetooth/serial module and a Reyax RY82530 GNSS Receiver module. It is very cheap and is 8-10x faster than the standard phone GPS. There is only one problem with using it with HLT. It has to be forgotten and re-paired whenever it is powered ON.
Normally I would expect BT 2.0 to remember the last pairing & simply reconnect next time the two meet, and they do. HLT will reconnect, but no data will flow.
Today I was trying to get a handle on the issue and came across an Android BT GPS app called "Bluetooth GNSS" that connects to the BT GPS and presents the data to Android as if it were originating from the internal GPS. When HLT is then run, the GPS source does not need to be selected. It reads the "internal" GPS stream as normal, but the rate is now 8 - 10 Hz.
If I shut down the BT GPS and power it back up, it immediately enters pairing mode and then "Bluetooth GNSS" takes over and reconnects. HLT continues as before, at 10 Hz.
Curiously, after several minutes of reporting the internal GPS as the source, HLT changes over to reporting BT04-S as the source, with a dropout of a few seconds.
I wonder if HLT could do this without the "Bluetooth GNSS" app as an intermediary?
[this on a Nokia 5.1 running Android 10]
Normally I would expect BT 2.0 to remember the last pairing & simply reconnect next time the two meet, and they do. HLT will reconnect, but no data will flow.
Today I was trying to get a handle on the issue and came across an Android BT GPS app called "Bluetooth GNSS" that connects to the BT GPS and presents the data to Android as if it were originating from the internal GPS. When HLT is then run, the GPS source does not need to be selected. It reads the "internal" GPS stream as normal, but the rate is now 8 - 10 Hz.
If I shut down the BT GPS and power it back up, it immediately enters pairing mode and then "Bluetooth GNSS" takes over and reconnects. HLT continues as before, at 10 Hz.
Curiously, after several minutes of reporting the internal GPS as the source, HLT changes over to reporting BT04-S as the source, with a dropout of a few seconds.
I wonder if HLT could do this without the "Bluetooth GNSS" app as an intermediary?
[this on a Nokia 5.1 running Android 10]