Overview

Updated at:

IoT Platform provides the device tagging feature. You can manage devices by customizing tags. This article describes how to configure Link SDK for C to update or delete tags.

Prerequisites

Background information

  • For more information about the Alink data format of device tags, see Device tags.
  • For more information about how to add device tags in the IoT Platform console, see Edit device tags.
  • For more information about how to manage device tags by using IoT Platform API operations, see the following articles:

How it works

An application establishes a connection with the IoT Platform by calling the C Link SDK APIs based on theconnect with IoT Platform over MQTT and send a request to submit or delete device tags. Each device tag is in the key:value format.

The following time series chart uses the device application./demos/devinfo_posix_demo.c as an example to illustrate the implementation flow.

Process

For more information about device tag-specific API operations, see aiot_devinfo_api.h.

Examples

  • For a code sample of the MQTT connection feature, see Example.
  • For error codes related to the MQTT connection feature, see aiot_devinfo_api.h.