SWRU368C May 2018 – January 2021 CC3100 , CC3100MOD , CC3200 , CC3200MOD
For testing purposes, there is an internal packet generator in the SimpleLink WiFi device capable of repeating a predefined pattern of data.
To use, before calling sl_Send, set the number of frames using the sl_SetSockOpt to either 0 (an infinite number of frames) or to the given number of frames needed to transmit.
Following that, use a single call to the sl_Send API to trigger the frames transmission.
The SimpleLink WiFi device keeps transmitting until it has sent all the requested frames, or until the socket is closed or another socket property changes (in case an infinite number of frames were used).