I need to document a communication protocol (working both with serial and ethernet), for that matter I would like to include for programmers also what the remote machine must / can reply.
Is there a plugin to format Request-response communication ?
It is a bit challenging since sometimes the remote machine will answer a few times, so it must be possible to tell DW which direction the talk is.
Could be something like, with R in first character = Receive, S = Send
<protocol>
RMachine this and that#
RVersion 0.14#
RReady#
SStart#
ROK#
</protocol>
Resulting in something like
Machine this and that#
Version 0.14#
Ready#
Start#
OK#
Or perhaps
>> Machine this and that#
>> Version 0.14#
>> Ready#
<< Start#
>> OK#
Does anything remotely similar exist ? Perhaps to document telnet sessions ?