Error when called SAScoket.sendData on Gear S2. IOError: Problem on I/O connection.
By Ken
31 Jan 2016 01:24
English
2 Replies
Hi,
I'm developing companion app for Gear S2 with Galaxy A5(Android).
I use Samsung Accessory Protocol and implements provider(A5) and consumer(S2).
It works well while sending data from A5 to S2.
However, it fail to send data from S2 to A5.
It always throw IOError when calling SAScoket.sendData on S2.
The code like this:
try {
saSocket.sendData(CHANNEL_ID, test_data); // IOError: Problem on I/O connection.
} catch(err) {
alert("sendData, Error: " + err);
}
Is there any suggestion?
Thanks.
Edited by: Ken on 31 Jan, 2016
You must log in to use this service. Log in now?
The tag you entered already exists.
Do you want to report this post as spam?
The post has been reported as spam.
cannot be empty.
Are you sure you want to cancel and return to the list?
The code has been copied to the clipboard.
Enter a title.
All Categories
General Support
Tizen .NET
Web Application Development
Native Application Development
SDK & IDE
--------
--------