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.

CC3220S: how to send packet in bypass mode

Part Number: CC3220S

I set  the bypass mode  reference the sample code in [https://www.ti.com/lit/ug/swru455m/swru455m.pdf 

I can get raw packet with mac header use sl_recv() (ARP, DHCP discover and so on). 

But When  I sent the packet which just received with sl_send() for test, I can not capture any packet sent by sl_send ()from my PC. What should i do to send the ethernet packet to my PC?

  • At the minimum, you should switch the Ethernet destination and source.

    How are you capturing the packets? If you use air sniffer that should be enough.

    If you are sniffing on another machine, you will need to make sure that the IP addresses are configured correctly as well.

    I suggest you will use a packet that you know is valid.

    It should be an ethernet packet including the header.

    br,

    Kobi