This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC3220: SimpleLink Host Driver API for accessing raw socket data header information

Part Number: CC3220


I read in SWRU455 that data packet received with sl_Recv includes an 8 byte proprietary header with information about the packet (rate, channel rssi, time stamp). I'd like to access this information to help debug an application problem.

  • Are there any Host Driver API for accessing this data?
  • If not, I can just access it directly from the receive buffer but where can I find more information on the data structure format for the 8 byte header?

Thanks

  • Hi rperezti,

    The 8 byte proprietary header referred to above is only received with raw socket data after opening a transceiver socket. So, this is only applicable to transceiver mode.

    The RSSI is not provided in connection mode and average RSSI can be read using the sl_WlanRxStatGet().
  • Thanks. I understand from your answer that this doesn't really apply to my usecase of sl_Recv since I'm not using transceiver mode. I'm really interested in a way to track timestamps for UDP packets. I would like to use this information to compare with Wireshark timestamps in order to debug a problem. Please let me know if there are any other built in hooks or tricks I could use to have similar information about UDP packet traffic.