Skip to content

Commit 81e2cac

Browse files
committed
added mesh_node_plugin command to teachUI
1 parent 1b9869c commit 81e2cac

File tree

1 file changed

+24
-1
lines changed

1 file changed

+24
-1
lines changed

www/scripts/sepiaFW.teach.js

Lines changed: 24 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,30 @@ function sepiaFW_build_teach(){
119119
name : "and says ...",
120120
optional : true
121121
}]
122-
}
122+
},
123+
mesh_node_plugin : {
124+
command : "mesh_node_plugin",
125+
name : "Call SEPIA Mesh-Node plugin",
126+
parameters : [{
127+
value : "node_url",
128+
name : "Mesh-Node URL"
129+
},{
130+
value : "node_plugin_name",
131+
name : "Name of plugin"
132+
},{
133+
value : "node_plugin_data",
134+
name : "JSON string sent to plugin",
135+
optional : true
136+
},{
137+
value : "reply_success",
138+
name : "Success answer",
139+
optional : true
140+
},{
141+
value : "reply_fail",
142+
name : "Fail answer",
143+
optional : true
144+
}]
145+
},
123146
};
124147
}
125148

0 commit comments

Comments
 (0)