Sparx Systems Forum

Enterprise Architect => Uml Process => Topic started by: jakson on September 16, 2014, 07:03:55 pm

Title: How to model communication protocol?
Post by: jakson on September 16, 2014, 07:03:55 pm
I've modeled data frames (header, messages, structures) that will be sent and received through ethernet.
Now I want to model communication protocol (what frame(s) is expected after another, ACK, NACK, timeouts, etc.).

It there any tutorial on how to model such (simple) communication protocol in EA?
Title: Re: How to model communication protocol?
Post by: qwerty on September 16, 2014, 07:08:54 pm
You could using Timing diagrams for that. To show logical order/conditions use a State diagram.

q.
Title: Re: How to model communication protocol?
Post by: Colin Coates on October 31, 2014, 03:36:24 am
One way of modelling a protocol would be:
Ideally, you would use a UML2 protocol state machine to do this, but Sparx Enteprise Architect does not currently support the correct syntax for transitions (so no way to do "[precondition] trigger [postcondition]" so far as I can see). Realistically, you can probably get by with standard behavioral state machines, which will be fine for describing triggers, guard conditions and timeouts... It would be nice to see proper support for protocol state machine syntax, though! ;)