Searched refs:ucNBytes (Results 1 – 3 of 3) sorted by relevance
69 UCHAR ucNBytes; in eMBFuncReadDiscreteInputs() local102 ucNBytes = ( UCHAR ) ( usDiscreteCnt / 8 + 1 ); in eMBFuncReadDiscreteInputs()106 ucNBytes = ( UCHAR ) ( usDiscreteCnt / 8 ); in eMBFuncReadDiscreteInputs()108 *pucFrameCur++ = ucNBytes; in eMBFuncReadDiscreteInputs()124 *usLen += ucNBytes;; in eMBFuncReadDiscreteInputs()
74 UCHAR ucNBytes; in eMBFuncReadCoils() local107 ucNBytes = ( UCHAR )( usCoilCount / 8 + 1 ); in eMBFuncReadCoils()111 ucNBytes = ( UCHAR )( usCoilCount / 8 ); in eMBFuncReadCoils()113 *pucFrameCur++ = ucNBytes; in eMBFuncReadCoils()130 *usLen += ucNBytes;; in eMBFuncReadCoils()
101 UCHAR ucNBytes; in eMBMasterFuncReadDiscreteInputs() local126 ucNBytes = ( UCHAR )( usDiscreteCnt / 8 + 1 ); in eMBMasterFuncReadDiscreteInputs()130 ucNBytes = ( UCHAR )( usDiscreteCnt / 8 ); in eMBMasterFuncReadDiscreteInputs()136 if ((usDiscreteCnt >= 1) && ucNBytes == pucFrame[MB_PDU_FUNC_READ_DISCCNT_OFF]) in eMBMasterFuncReadDiscreteInputs()