My gear, Samsung S3 frontier with Tizen 3.0.0.1 OS, does not show support for IOTcon API. When capability is checked using the below code, the app returns false.
try {
/* Checks whether a device supports the Iotcon API */
var iotcon_feature = tizen.systeminfo.getCapability('http://tizen.org/feature/iot.ocf');
console.log('Iotcon = ' + iotcon_feature);
} catch (error) {
console.log('Error name: ' + error.name + ', message: ' + error.message);
}
The API guide for IOTcon however states that it supports Tizen 3.0 and higher.
Also. it would be helpful if someone can provide a sample app on how to use iotcon. What i am trying to do is, establish communication between gear and TV directly.