Help Center> IoT Device Management> FAQs> Secondary Development> FAQs About Product Development> Profile Definition> How to Select a Data Type When Developing a Profile Online
Updated on 2022-02-24 GMT+08:00

How to Select a Data Type When Developing a Profile Online

The rules for configuring Data Type are as follows:

  • int: If the reported data is an integer or Boolean value, set the data type to this value. The plug-in can be of the int or array type.
  • decimal: If the reported data is a decimal, set the data type to this value. The plug-in can be of the string, int, or array type.
  • string: If the reported data is a string, enumerated value, or Boolean value, set the data type to this value. If enumerated or Boolean values are reported, use commas (,) to separate the values. The plug-in can be of the string or array type.
  • DateTime: If the reported data is a date, set the data type to this value. The plug-in can be of the string or array type.
  • jsonObject: If the reported data is in JSON structure, set the data type to this value. The plug-in can be of the string or array type.

Profile Definition FAQs

more