Hi,
I'm developing a proof of concept/app for my Garmin Forerunner 245 music and Android 9 smartphone. I would like to send the current GPS status (accuracy and lat/long) and compass heading to an Android app running on my phone.
I have set this all up using the documentation and it works fine, but I notice that if I try to send a message more than once per second it never arrives on my phone (but it doesn't throw an error).
My current setup:
- At a 1 second interval check for changes in GPS heading, send message to phone if changed since last interval
- Use the onlocationchanged callback to detect changes in GPS lat/long/accuracy, send message to phone if changed since last sent message
These both work fine, but if both change at the same time, there are two attempts to send a message in a second (one for gps one for heading) and one of them just never arrives but doesn't throw an error in the connectionlistener.
I have 'solved'/worked around this by just checking for changes once a second and including both updates in one message, but I can't seem to find anything in the docs about limitation to the amount of messages you can send.
I use this to transmit data: