> For the complete documentation index, see [llms.txt](https://doc.yuncitys.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.yuncitys.com/she-bei-jie-ru/chuang-jian-she-bei.md).

# 创建设备

| 名称    | 解释                                                  |
| ----- | --------------------------------------------------- |
| 设备    | 指不能挂载子设备的设备。设备可以直连物联网平台，也可以作为网关的子设备，由网关代理连接物联网平台。   |
| 普通设备  | 不能挂载子设备，可以直接连接物联网平台。                                |
| 终端子设备 | 作为网关的子设备，由网关代理连接物联网平台。                              |
| 中继    | 可以挂载子设备，但必须由网关代理连接物联网平台，类似于主机设备。                    |
| 网关    | 指可以挂载子设备的直连设备。网关可以管理子设备、可以维持与子设备的拓扑关系，并将该拓扑关系同步到云端。 |

设备与平台连接拓扑图如下：

![](/files/-MPgIS_iZOXnNn1162Um)

### 创建网关

登录IoT 后，在左侧导航栏选择“设备管理”，点击右上角的“+”按钮，可添加设备，页面如下图所示，新增成功后在设备管理列表中可查看新创建的设备。

![](/files/-MPc17Jtbzp1U9uM-l5z)

### 添加网关

点"添加新设备"后弹出如下窗口，按截图指引进行网关创建。

![](/files/-MPc2unADR47K5C-P4MB)

### 设备列表

添加成功后如下图列表效果：

![](/files/-MPc3EKviXbYOobX5Nod)

### 设备详细

对创建的新设备进行详细查看，并获取**访问令牌**:

![](/files/-MPc4qePe-_ghSSJfVXf)

### **获取访问令牌**

![](/files/-MPhNwtAh0ExCw7MuZp4)


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://doc.yuncitys.com/she-bei-jie-ru/chuang-jian-she-bei.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
