Перенос заглушек в modbus_compat и заготовки для TCP

This commit is contained in:
2025-11-06 12:48:37 +03:00
parent 510e8aec50
commit 8a2e7398e1
12 changed files with 175 additions and 114 deletions

View File

@@ -171,7 +171,7 @@ typedef struct // RS_MsgTypeDef
{
#ifdef MODBUS_PROTOCOL_TCP
uint16_t ID_Transaction; ///< Modbus TCP: ID Transaction
uint16_t ID_Prot; ///< Modbus TCP: ID Protocol
uint16_t ID_Protocol; ///< Modbus TCP: ID Protocol
uint16_t PDU_Length; ///< Modbus TCP: PDU_Length
#endif
@@ -299,6 +299,9 @@ MB_ExceptionTypeDef MB_DefineCoilsAddress(uint16_t **pCoils, uint16_t Addr, uint
/** MODBUS_CMD_PROCESS_FUNCTIONS
* @}
*/
/////////////////////////---FUNCTIONS---/////////////////////////////
#endif //__MODBUS_CORE_H_
/** MODBUS_INTERNAL