From ac12cf65d158e1a671b4dab1ecc082476ab28c28 Mon Sep 17 00:00:00 2001 From: Tester23 Date: Tue, 8 Oct 2024 08:47:33 +0200 Subject: [PATCH] add missing tuyaMcu_sendCmd desc --- src/driver/drv_tuyaMCU.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/driver/drv_tuyaMCU.c b/src/driver/drv_tuyaMCU.c index 81a49ea0d..5735d83f9 100644 --- a/src/driver/drv_tuyaMCU.c +++ b/src/driver/drv_tuyaMCU.c @@ -2360,9 +2360,8 @@ void TuyaMCU_Init() //cmddetail:"fn":"TuyaMCU_SendMCUConf","file":"driver/drv_tuyaMCU.c","requires":"", //cmddetail:"examples":""} CMD_RegisterCommand("tuyaMcu_sendMCUConf", TuyaMCU_SendMCUConf, NULL); - - //cmddetail:{"name":"tuyaMcu_sendCmd","args":"TuyaMCU_SendUserCmd", - //cmddetail:"descr":"", + //cmddetail:{"name":"tuyaMcu_sendCmd","args":"[CommandIndex] [HexPayloadNBytes]", + //cmddetail:"descr":"This will automatically calculate TuyaMCU checksum and length for given command ID and payload, then it will send a command. It's better to use it than uartSendHex", //cmddetail:"fn":"NULL);","file":"driver/drv_tuyaMCU.c","requires":"", //cmddetail:"examples":""} CMD_RegisterCommand("tuyaMcu_sendCmd", TuyaMCU_SendUserCmd, NULL);