Languages

Menu
Sites
Language
Error when called SAScoket.sendData ... IOError: Problem on I/O connection.

Hi guys,

I development wearable app for transfer data between gear2 and android device.

I implements provider(android) and consumer(gear2 app), I send string data to Android device from Gear2.

But, it's occurs error when called SAScoket.sendData.

this codes :

    try {
      saSocket.sendData(CHANNEL_ID, jsonData);   // IOError: Problem on I/O connection.
    } catch(e) {
      logger("sendData, Error: " + e);
    }

 

However, success to send data to Gear2 from Android device...

Is there any solution? help me plz