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.

CCS/CC3220SF-LAUNCHXL: unicast, broadcast, multicast

Part Number: CC3220SF-LAUNCHXL

Tool/software: Code Composer Studio

HI supporter!

I have 2 boards, 1 to send, 1 to receive.

- Sending side:( channel 4) I send periodically 20ms 1 packet.

- Receiving side: ( channel 2)

+ When I receive unicast, the waveform as below ( << 1% packet loss)

+ When I receive multcast or broadcast, the waveform as below (~5-10% packet loss)

Can you explain me why wave like this, number of packet lost??

Thank!

Vu.

  • Hi Vu,

    Higher packet lost for a broadcast and multicast in case of Wifi is a pretty normal and highly depends on RF conditions and setup/type of your network infrastructure (used access point).

    If you need to get best performance regardless to power consumption, you can set power policy to always on.

    retVal = sl_WlanPolicySet(SL_WLAN_POLICY_PM, SL_WLAN_ALWAYS_ON_POLICY, NULL, 0);
    

    Jan

  • Hi Jan.

    Yes, I have set it already!

    How about the wave form?

    Thank!

    Vu.

  • Hi Vu,

    What do you means exactly?

    You can check if your device use have uploaded latest service pack and do you use latest SDK, but I think that you will not be able decrease your packet loss significantly.

    You can test with another model of AP, I expect that you will see slightly different packet lost. Because different APs types have different strategy how to deal with broadcast and multicast UDP packets. If you want to develop reliable solution, you should not rely on to UDP broadcast/multicast only.

    Jan

  • Hi Jan

    Thank you, 

    Vu