Skip to main content
1-Visitor
August 23, 2018
Question

About get property value function (C-SDK)

  • August 23, 2018
  • 0 replies
  • 1087 views

Hello, I have a question about two "get property value" functions.

 

There are two get property functions in C-SDK

 1. twPrimitive * twExt_GetPropertyValue(const char * thingName, char * propertyName);

 

 2. int twApi_ReadProperty(enum entityTypeEnum entityType, char * entityName, char * propertyName, twPrimitive ** result, int32_t timeout, char forceConnect);

 

 What are differences of two functions?

 

When I try to get value of 'isConnected' property of Connectable shape, first function is failed and secod is success.

 

 There is no explain about these... exactly..