[replying again to include the iotivity list] On 03/06/2015 08:54 AM, Lankswert, Patrick wrote: > Uze, > > In general, I like the idea. However, I think that we may want to address one of the needs a different way. > > I like the simulator and the ability to bring *fake* devices by profile is an excellent idea. >
Yes, this is a very good idea. In fact with the most recent time working on a cross-platform communication library I reused the code to create a simulator that would spin up 40k simulated endpoint clients on a developer's box. There are certain I/O design considerations to allow for maximum effectiveness (e.g. shared asynchronous I/O vs dedicated blocking I/O) but it's more planning rather than coding. > Regarding packet analysis though, I would rather someone write a plugin to wireshark instead of tying it to the simulator. This would allow it to be used for diagnostics either with or without the simulator. > I definitely agree here. And actually wireshark already comes with support for CoAP in general. (Looking at captures is how I found that IoTivity is broken in that regard at the moment IOT-319). Another thing that has proven useful in the past is a simple tool that digests capture files. Use wireshark or some command-line tool to capture, then later examine the captures with something else. -- Jon A. Cruz - Senior Open Source Developer Samsung Open Source Group jonc at osg.samsung.com
