Last Updated on：2020-03-09 03:48:30
If your product functions are not in the standard function selections, you can customize the function. Function points are abstract representations of product functions, each of which can be defined by different functional types. The current platform provides: Boolean, numeric, enum type, fault type, string type, through the transmission of these six types of functions.
Among them, the Boolean type, numerical type, enumeration type is the basic type, most of the functions can be defined by the three types of functions. Fault type specifically for fault definition, easy to failure statistics in the background. The string type and the transparent type are advanced types. They are used for more complicated functions. They are recommended only when other types can not be satisfied.
How to define function points, as described in detail below.
Function Point：That is, the abstraction of the specific smart device functions, used to describe the product function and its parameters.
Function Point ID：Function point coding, follow-up equipment and the function of cloud data transmission through the function point ID.
Function Point Name：Custom Function Name
Identifier Name：Function point code value used for the multi-language management of App display function name. Support for letters, numbers, underscores, beginning with a letter.
Data transfer type：
Applicable functions: non-true or false binary variable function. Function example: the device switch, heater child lock, electric fan swing, air purifier filter reset and other functions, can be used Boolean expression.
Applicable functions: Suitable for linearly adjustable data types.
Applicable functions: This feature has a limited set of custom values.
Note: When editing a function point, the enumeration value supports letters, numbers, and underscores. When the Enter key is pressed, the enumeration value is automatically generated. Enumerated values are encoded starting at 0, and are transferred with hardware encoding in an enumerated value encoding. Each enumeration value is no more than 15 characters in length and supports up to 10 enumerated values.
Enumeration value Enter one for each, need to enter once, the enumeration value will confirm the generation.
Applicable functions: Dedicated for reporting and statistical failure of the function points. This type of function will be used for statistics.
Note: Faulty data format is the bitmap type, can support multiple fault definitions. The fault type function only supports data report, so the data transmission type can only choose
Applicable functions: Function points transmitted in the form of character strings. If the above four types of functions can not meet the definition of product functions, can be agreed through the string of data transmission
Note: String-type maximum length of not more than 255 bytes.
Applicable functions: Binary mode transparent function points. Generally do not recommend the use of the function points.Can be used when you meet some complex functions that can't be satisfied with the function points above.
Note: Transparent type maximum length does not exceed 255 bytes.
At present each product, supports up to 25 function points. If your product features more than 25 points, you can contact Tuya Smart Staff for support to find a better solution for you.
How helpful was this page?