1 Reply Latest reply on Apr 21, 2016 9:16 PM by kmoon RSS
    dstoyanovsky Newbie

    C SDK thing name as identifier

    I've encountered an issue with Thing identifiers in the context of C SDK. In one of Java SDK tutorials it is mentioned that when we use remote things we can associate it with thing using identifier, however C SDK does not have magic property 'identifier' like JAVA SDK's VirtualThing constructor does. Java SDK is supplied without sources, so no straight possibility to look inside and see what to do to get the same in C SDK.

    Taking into account that my search how to convert thing name to identifier gave nothing, I guess it can be useful mentioning here that if you need to use thing name as 'identifier' (isIdentifier will be checked in the list of unbound things and then you will be able to associate thing with remote thing by identifier) you should add asterisk '*' before remote thing name in your C code.

    NOTE: Understanding this I was able to find some places in the Edge SDK documentation where this is mentioned implicitly, nevertheless I can't find explicit explanation of asterisk before thing's name in association with identifier of unbound thing.