The application that we are developing in Tizen, is supposed to collect the data from multiple devices. Therefore, I need to send the device-ID
(or anything which is unique for every watch) along with other collected data.
I would like to know if there is such an API in Tizen to get the device-ID
or any other unique identifier for the watch.
UPDATED
I first tried to get device
DUID
using SystemInfoDeviceCapability:
var cap = tizen.systeminfo.getCapabilities();
console.log("Or this damn thing: " + cap.duid);
But it seems that duid
is not defined for Tizen-Wearable, I guess!
Then I followed the manual, in which it clearly says SystemInfo.DUID
is the attribute I am looking for. So I tried:
tizen.systeminfo.getPropertyValue("http://tizen.org/system/tizenid",
function (param) {
console.log("TIZEN-ID: " + param);
}, function (error) {
console.log("An error occurred " + error.message);
});
This time I get an error, sayin type mismatch
, which is probably because this key http://tizen.org/system/tizenid
is not in the list which SystemInfo
can work with. This list, only contains:
None of the above gives me a unique ID for the gear S watch. Is there anywhere else I should be looking for this?