public interface AnswerComm_ifc
Modifier and Type | Method and Description |
---|---|
int |
txAnswer(int nrofAnswerBytesPart,
boolean bLastTelg)
Sends an answer.
|
int txAnswer(int nrofAnswerBytesPart, boolean bLastTelg)
nrofAnswerBytesPart
- Number of bytes of a part, which is prepared new
and not returned from executeMonitorCmd_CmdConsumer_ifcInspc(...) yet.
This parameter is meanfull if a telegram will be sent
while executeMonitorCmd_CmdConsumer_ifcInspc(...) is running.
If the last telegramm will be sent, it should be 0.bLastTelg
- true than the bit for last telg in the sequence counter is set.
false than the last-telg-bit isn't set and a new telg will be prepared.