Applies to: Docklight / Docklight Scripting (all versions), Article ID: dl_faq019
Your situtation: You are monitoring the communication between two devices. You need to build a simulator for one of the
devices. Docklight allows you to manually create Send / Receive Sequences from the communication data,
but copying and pasting all the different requests and answers is a time consuming and boring task.
As a faster approach, we have implemented an additional helper application that can read a Docklight log file
and build a simulator project from it. This works nicely for master/slave applications, where Docklight just needs
to answer to a finite set of requests, and you do not require responses with random data.
See the link below for the ‘DocklightProjectGen’ tool and additional information. Just give it a try!
Even if you have to deal with random data, DocklightProjectGen can help you to set up a basic framework for
your simulator, which you can extend and modify manually. We would very much welcome any comments and suggestions concerning this tool!
DocklightProjectGen Tool – Building A Simulator From A Docklight Log File