mirror of
https://github.com/emqx/neuron.git
synced 2026-10-19 23:02:33 +08:00
57 lines
930 B
JSON
57 lines
930 B
JSON
{
|
|
"add_group_config_req": {
|
|
"name": "modbus-tcp-config1",
|
|
"node_id": 1,
|
|
"interval": 10000
|
|
},
|
|
"del_group_config_req": {
|
|
"node_id": 1,
|
|
"name": "gconfig1"
|
|
},
|
|
"update_group_config_req": {
|
|
"name": "modbus-tcp-config1",
|
|
"interval": 20000,
|
|
"node_id": 4
|
|
},
|
|
"get_group_config_req": {
|
|
"node_id": 1
|
|
},
|
|
"get_group_config_resp": {
|
|
"group_configs": [
|
|
{
|
|
"name": "config_modbus_tcp_sample_2",
|
|
"interval": 2000,
|
|
"pipe_count": 1,
|
|
"tag_count": 0
|
|
},
|
|
{
|
|
"name": "gconfig1",
|
|
"interval": 10000,
|
|
"pipe_count": 0,
|
|
"tag_count": 0
|
|
}
|
|
]
|
|
},
|
|
"subscribe_req": {
|
|
"src_node_id": 4,
|
|
"dst_node_id": 5,
|
|
"name": "gconfig1"
|
|
},
|
|
"unsubscribe_req": {
|
|
"src_node_id": 4,
|
|
"dst_node_id": 5,
|
|
"name": "gconfig1"
|
|
},
|
|
"get_subscribe_resp": {
|
|
"groups": [
|
|
{
|
|
"node_id": 1,
|
|
"group_config_name": "g1name"
|
|
},
|
|
{
|
|
"node_id": 2,
|
|
"group_config_name": "g2name"
|
|
}
|
|
]
|
|
}
|
|
} |