Attributes
The Thing Attribute tab displays the attributes defined in the Thing definitions with the actual values.
Item | Description |
---|---|
Click on the corresponding attribute view icon to see the history of values. | |
Click on the corresponding attribute delete icon to unset the attribute and stop showing it in the thing. | |
Click on the corresponding attribute edit icon to edit value of the attribute. | |
Expand all appears for all the JSON objects or arrays. Click Expand all to show all the arrays or objects. | |
Collapse all allows you to collapse the expanded objects or arrays. | |
Click the copy to clipboard icon to copy JSON objects or arrays or longer attribute values. |
To add new attribute, do the following:
- Click New attribute
- Enter the Attribute Key
- Do one of the following:
- Enter the value in the Attribute value field
- To enter an array or a JSON click on the plus sign next to the Attribute value and then enter or paste the array or object
- Click Set attribute
If the object resource to be configured as an attribute is defined as "opaque" type it will be published in the attribute in a decimal format and also introduce some spaces time to time. For example, considering the Telit object " Telit Application Data" and its resource 0 defined as "Opaque", the URI is /33205/0/0. To write the value 74657374 in the URI 33205/0/0, send the command:
AT#LWM2MSET=3,33205,0,0,0,"74657374"
When the binding detect this value and made the publish in the attribute the written value appears equal to "116 101 115 116" (decimal format).