Hi Everyone,
I have a companion app, Gear (Consumer) - Android (Provider) and I connect the app in the Gear to an WebSocket.
I can establish a WebSocket connection using the wifi of the Gear, but only if the gear isn't connected to the smartphone.
When I connect the Gear to the smartphone, and try to connect the app of the Gear to the webSocket I always recieve the readyState 3 (The connection has been closed or could not be opened.)
I have developed another companion apps, and I know that the Gear can use the internet connection of the smartphone via bluetooth, so I don't know why can't connect to the websocket.
Maybe is not possible to do this, because the accessory protocol is running, so maybe the gear can establish two or more connections simultaneously.
If any of you have some idea about how to make it work, I will be appreciate it, or if somebody know that this is impossible to accomplish i will appreciated too.
I have the GearS2 (SM-R720) - And the IDE 2.3.1 Rev1
Thanks for your help.