HMS Management
Event
Health Alert
Topic: thing/product/{gateway_sn}/events
Direction: up
Method: hms
Data:
Column | Name | Type | constraint | Description |
---|---|---|---|---|
list | Health Alert List | array | {"size": 20, "item_type": struct} | |
»level | Alert Level | enum_int | {"0":"Notification","1":"Reminder","2":"Warning"} | |
»module | Event Module | enum_int | {"0":"Flight Task","1":"Device Management","2":"Media","3":"HMS"} | |
»in_the_sky | In Flight | enum_int | {"0":"On Ground","1":"In Sky"} | |
»code | Alert Code | text | {"length":"10240"} | |
»device_type | Device Type | text | Format: {domain-type-subtype~~~~} | |
»imminent | Is Immediate | enum_int | {"0":"No","1":"Yes"} | Indicates whether the alert is immediate. For example, a high wind alert would automatically disappear when the wind decreases. |
»args | Parameters | struct | ||
»»component_index | Message Variable | int | {"length":"10240"} | |
»»sensor_index | Message Variable | int | {"length":"10240"} |
Example:
{
"bid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx",
"data": {
"list": [
{
"args": {
"component_index": 0,
"sensor_index": 0
},
"code": "0x16100083",
"device_type": "0-67-0",
"imminent": 1,
"in_the_sky": 0,
"level": 2,
"module": 3
}
]
},
"tid": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxx",
"timestamp": 1654070968655,
"method": "hms"
}