typedef void (*TWDeviceFoundCallback)(TWDevice* device);
typedef void (*TWEnrollmentSucceedCallback)(TWEnrollee* enrollee);
typedef void (*TWDeviceStatusUpdateCallback)(TWUpdate* update);
+typedef void (*TWInitCompleteCallback)(bool status);
/**
*
*
* @param[in] level The The meaning of ‘level’ is device dependent
* e.g. for a light it may mean brightness level.
-
+ *
* @param[in] transTime The time taken to move to the new level
*
*/
/**
*
+ * Move Color Temperature
+ *
+ * @param[in] nodeId The node id of the device.
+ * @param[in] endpointId The endpoint id from which the attribute belongs.
+ * @param[in] colorTemperature 16 bit hexadecimal number.
+ * @param[in] transTime The time taken to move to the new level.
+ *
+ */
+OCStackResult TWColorMoveToColorTemperature(char* nodeId, char* endpointId,
+ char* colorTemperature, char* transTime);
+
+/**
+ *
* Sets discovery callback.
* This callback will be called when TWDiscover() discovers ZigBee device(s).
*
*/
OCStackResult TWSetDiscoveryCallback(const TWDeviceFoundCallback callback);
-
/**
*
* Sets status update callback.
/**
*
+ * Process TWEntry.
+ *
+ */
+OCStackResult TWProcess();
+
+/**
+ *
* Uninitializes the Telegesis module.
*
*/