add 3 var

This commit is contained in:
2025-09-15 03:06:58 +03:00
parent f92bfb2e08
commit 2b49e0069e
3 changed files with 30 additions and 41 deletions

View File

@@ -134,6 +134,10 @@ typedef struct
/** @brief Structure for modbus messsage */
typedef struct // RS_MsgTypeDef
{
uint16_t Transaction_ID; ///< Modbus TCP Transaction_ID
uint16_t Protocol_ID; ///<
uint16_t Pack_length;
uint8_t MbAddr; ///< Modbus Slave Address
MB_FunctonTypeDef Func_Code; ///< Modbus Function Code
MB_DevIdMsgTypeDef DevId; ///< Read Device Identification Header struct