标签:return start 规范 hand iad device ESS ram function
1、函数注解
/***************************************************************************
* Function : ModbusTcpReadInputBits
* Description: Creat socket、connect server
* Parameter :
* [Input Parameter]
* iFd @Socket file handle
* pusTranID @Modbus/TCP MBAP‘s Trans indentifier field
ucDevAddr @Device address
iAddr @Regiter start address
iLen @Modbus/TCP MBAP‘s length field
* [Output Parameter]
* dest @register data
* Return :
iLen @data length [success]
-1 @[fail]
* Change Logs:
* 2018/11/22 jiangfeng.zhang :add comment
***************************************************************************/
int ModbusTcpReadInputBits(int iFd,unsigned short*pusTranID,
unsigned char ucDevAddr,
int iAddr,
int iLen,
unsigned char *dest)
标签:return start 规范 hand iad device ESS ram function
原文地址:https://www.cnblogs.com/retry/p/10000430.html