I have a wear app which acts as a controller to another app in mobile. I have used message api to communicate between the devices. The messages include recognized touch and non-touch gestures and these will be displayed on the mobile app. Everything worked fine until I started sending continuous data.
I wanted to store the sensor data of watch in a file in mobile. So I started sending sensor data at a sampling rate of 200ms along with the recognized gestures. Now I can see a lot of delay in displaying the recognized gesture in the phone since the amount of data being sent is too high. The delay increases as time goes on.
Is it because the message api is too slow? Is there any other alternative way to send messages? Will channel api help? I would like to know few ideas to try out and fix this delay in receiving data.