The traffic patterns of a real IoT device can vary widely. There are millions of IoT devices and the traffic generated by these is highly dependent on the device and the environment in which it is used. There are many traffic generation models in NetSim for Voice, Video, HTTP, Database, FTP, Sensor App, etc. A brief explanation of the sensor application and video generation models is given below.
NetSim's sensor application is based on the following parameters: Packet Size (B) -- Value can be set as either constant or distrusted exponentially around a mean (useful for generating randomly sized packets)Inter-arrival Time (μs) -- Value can be set as either constant or distrusted exponentially around a mean (useful for generating randomly timed packet arrivals)The generation rate for sensor app would be calculated as Generation Rate (Mbps) = Packetsize*8 / IAT
NetSim's video traffic model contains the following parameters: Frames per second – Number of frames arriving per second. This is in the range of 10 – 50.Pixels per frame - Number of pixels in each frame. This is in the range of 10000 – 100000.Bits per pixel (μ) – Mean value of the normal distribution used to generate the value of bits per pixel.Bits per pixel (Σ) – Standard Deviation of the normal distribution used to generate the value of bits per pixel. The generation rate for video application can be calculated by using the formula Generation Rate (bits per second) = fps * ppf * bpp where, fps = frames per second, ppf = pixel per frame, bpp (μ) = bits per pixel (mean)
Please note that the codes for the traffic generator are open and advanced users can add/modify the generation pattern as they seem fit.
In terms of the 'packet' itself, the format of the packet is as per the applicable technology standard. The payload is dummy data. Again, the format & payload can be varied since codes are open.
Understanding your devices, their use case and along with traffic patterns of any existing deployment of these devices would be useful in choosing the right traffic generation model/parameters.