Skip to content

Commit

Permalink
add Result stub per request
Browse files Browse the repository at this point in the history
  • Loading branch information
openshwprojects committed Oct 21, 2024
1 parent 5eaf5c7 commit a69b263
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 5 deletions.
2 changes: 1 addition & 1 deletion sdk/OpenW600
Submodule OpenW600 updated 1 files
+112 −1 app/Makefile
2 changes: 1 addition & 1 deletion sdk/OpenW800
Submodule OpenW800 updated 1 files
+58 −1 app/Makefile
11 changes: 8 additions & 3 deletions src/cmnds/cmd_tasmota.c
Original file line number Diff line number Diff line change
Expand Up @@ -433,19 +433,24 @@ int taslike_commands_init(){
// those are stubs, they are handled elsewhere so we can have Tasmota style replies

//cmddetail:{"name":"State","args":"NULL",
//cmddetail:"descr":"NULL",
//cmddetail:"descr":"A stub for Tasmota",
//cmddetail:"fn":"cmnd_stub","file":"cmnds/cmd_tasmota.c","requires":"",
//cmddetail:"examples":""}
CMD_RegisterCommand("State", cmnd_stub, NULL);
//cmddetail:{"name":"Sensor","args":"NULL",
//cmddetail:"descr":"NULL",
//cmddetail:"descr":"A stub for Tasmota",
//cmddetail:"fn":"cmnd_stub","file":"cmnds/cmd_tasmota.c","requires":"",
//cmddetail:"examples":""}
CMD_RegisterCommand("Sensor", cmnd_stub, NULL);
//cmddetail:{"name":"Status","args":"NULL",
//cmddetail:"descr":"NULL",
//cmddetail:"descr":"A stub for Tasmota",
//cmddetail:"fn":"cmnd_stub","file":"cmnds/cmd_tasmota.c","requires":"",
//cmddetail:"examples":""}
CMD_RegisterCommand("Status", cmnd_stub, NULL);
//cmddetail:{"name":"Result","args":"NULL",
//cmddetail:"descr":"A stub for Tasmota",
//cmddetail:"fn":"cmnd_stub","file":"cmnds/cmd_tasmota.c","requires":"",
//cmddetail:"examples":""}
CMD_RegisterCommand("Result", cmnd_stub, NULL);
return 0;
}

0 comments on commit a69b263

Please sign in to comment.