Languages

Menu
Sites
Language
IOTcon API not supported on gear S3 frontier

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.

Responses

3 Replies
Armaan-Ul- Islam

After checking your post I've tested the IotCon capabilities On My Gear

-> S3 running on Tizen 3

-> Gear Sport running on Tizen 3   

 

In both cases the Capability is false.  

 

var iotcon_feature = tizen.systeminfo.getCapability('http://tizen.org/feature/iot.ocf');
alert(iotcon_feature);

  


 

So, The conclusion is though Tizen 3.0 supports IoTCon API from OS level, but from device perspective, Samsung Gears don't support them yet.

 

Armaan-Ul- Islam

It's stated on the IoTcon Guide: " Tizen lotcon API is optional for Tizen mobile, wearable, and TV profiles, which means that it may not be supported on all mobile, wearable, and TV devices."

 

So, Seems it's not impsossible for a Tizen 3.X wearable not having support for IOTcon API.

John Ixion

The IoT devs are available here btw:

https://riot.im/app/#/room/#freenode_#iotivity:matrix.org