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.

LAUNCHCC3220MODASF: About receiving limited broad cast data when AP mode

Genius 5840 points

Part Number: LAUNCHCC3220MODASF

Hello,

I am connecting my computer(10.123.45.2) as station and CC3220MODASF Launchpad(10.123.45.1) as AP mode and trying to send UDP data.

If I send by unicast of directed broadcast(10.123.45.255)with UDP from my computer, Launchpad can receive the data successfully.

But when I try to send limited broadcast(255.255.255.255), Launchpad can't receive the data.

Is there something way to receive limited broadcast data when CC3220MODASF is AP mode?

regards,

U-SK

  • Hi U-SK,

    Is your computer sending out the UDP broadcast packets on the correct network interface?

    Running the same test on my PC and launchpad setup, with the CC32xx in AP mode, I am unable to reproduce any issue with 255.255.255.255 broadcast packets - the CC32xx is able to receive them without issues.

    Regards,
    Michael

  • Hi Michael,

    Thank you for your reply.

    Could you tell me what example project you used and how you test it?

    I executed API as same sequence when receive mode in USPServer() in socket_cmd.c file as below.

    sl_Socket()→sl_Bind()→sl_RecvFrom()→sl_Close()

    Regards,

    U-SK

  • Hi U-SK,

    I simply used the network_terminal example from the SDK with no modifications, then performed the following steps:

    1. Set device into AP mode with command

    <wlan_ap_start -s "test" -t OPEN>

    2. On my PC, connect to the "test" SSID started in step1

    3. On CC3220, start UDP server socket, and wait for packets on port 5001 using

    <recv -u -s -p 5001 -n 10>

    4. On PC, open my packet sending utility, and send 10 UDP packets to 255.255.255.255:5001

    With the steps above, I was able to get the CC3220 to successfully receive the UDP broadcast packets sent from my PC.

    Regards,

    Michael

  • Hi Michael,

    Sorry for my rate reply.

    I executed your procedure and result was following.

    Could you tell me how to confirm whether CC3220 received the limited broad cast packet ?

    What kind of packets are expected to be included in the Received Packets surrounded by a red frame?

    Regards,

    U-SK

  • Hi U-SK,

    It seems like your device does not receive any broadcast packets successfully, as the program output indicates that there were 0 packets received successfully.

    The number of frames received as indicated in the RX statistics are the sum of all frames received. So this would mainly be management frames from the AP, power saving PSPOLL messages, etc. and not just UDP packets/data frames.

    What are you using on the PC to send the UDP packets to the CC3220? Are you able to verify that the UDP packets are actually transmitted by the PC on the air? I suggest you also try a different PC and sending mechanism to ensure that the issue isn't caused by the sending side.

    Regards,

    Michael