Configuration Update
Requests
Get the configuration
Topic: thing/product/{gateway_sn}/requests
Direction: up
Method: config
Data:
Column | Name | Type | constraint | Description |
---|---|---|---|---|
config_type | Configuration type | enum | {"json":"json format"} | |
config_scope | The scope of configuration | enum | {"product":"Product dimension"} |
Example:
{
"tid": "6a7bfe89-c386-4043-b600-b518e10096cc",
"bid": "42a19f36-5117-4520-bd13-fd61d818d52e",
"timestamp": 1667803298000,
"gateway": "sn",
"method": "config",
"data": {
"config_type": "json",
"config_scope": "product"
}
}
Topic: thing/product/{gateway_sn}/requests_reply
Direction: down
Method: config
Data:
Column | Name | Type | constraint | Description |
---|---|---|---|---|
ntp_server_host | NTP service Host | string | {} | the service domain or IP that supports the NTP protocol. The default port is 123. This service domain or IP should be able to access through the Dock network. |
app_id | App ID created on the developer website | string | {} | |
app_key | App Key created on the developer website | string | {} | |
app_license | App License created on the developer website | string | {} |
Example:
{
"tid": "6a7bfe89-c386-4043-b600-b518e10096cc",
"bid": "42a19f36-5117-4520-bd13-fd61d818d52e",
"timestamp": 1667803298000,
"gateway": "sn",
"method": "config",
"data": {
"ntp_server_host": "host_url",
"app_id": "123456",
"app_key": "app_key",
"app_license": "app_license"
}
}