设备管理
Event
设备拓扑更新
Topic: thing/product/{gateway_sn}/status
Direction: up
Method: update_topo
Data:
Column | Name | Type | constraint | Description |
---|---|---|---|---|
type | 网关设备的产品类型 | int | 参考:产品支持 | |
sub_type | 网关子设备的产品子类型 | int | 参考:产品支持 | |
device_secret | 网关设备的密钥 | text | ||
nonce | nonce | text | ||
thing_version | 网关设备的物模型版本 | text | ||
sub_devices | 子设备列表 | array | {"size": 1, "item_type": struct} | |
»sn | 子设备序列号(SN) | text | ||
»type | 子设备的产品类型 | int | 参考:产品支持 | |
»sub_type | 子设备的产品子类型 | int | 参考:产品支持 | |
»device_secret | 子设备的密钥 | text | ||
»nonce | nonce | text | ||
»thing_version | 子设备的物模型版本 | text |