[UWP] Windows 10 Wi-Fi Direct sample unable to connection with TI Simplelink CC32xxSF Board

nobi 1 Reputation point
2020-10-29T05:32:19.53+00:00

Hi, I'm trying to use the C++ version of the Wi-Fi Direct sample running on my windows 10 x64 laptop with a SimpleLink CC3220SF Wi-Fi MCU dev board, but am unable to get the the two devices to connect. I am also using the network terminal sample project from TI for the board. The windows Wi-Fi direct sample program and TI program are able to detect one another and begin the P2P negotiation process, but no matter which device is set to client or GO the connection appears to hang and eventually time out on the windows side. If anyone has any experience with P2P communication with windows and/or the simplelink board and could provide any advice I would greatly appreciate it. Based on the API documentation for the SimpleLink Wi-Fi CC3x20 Network Processor (section 4.5, pg. 60) I believe I have set up the device to properly accept a pin code negotiation request from the windows program, but I am most likely missing something.

Output from network terminal program for board as client:
35889-p2p-for-forum3.png
For those that might be familiar with the simplink NWP API, the P2P conneciton process is hanging after the SL_WLAN_EVENT_P2P_REQUEST event. I also added custom output to the terminal to verify my laptop was the other peer and see where the code was stalling at, and it seems to be waiting for a connection event semaphore to unlock:

/* Wait for connect event */  
ret = sem_wait(&app_CB.P2P_CB.RcvConReq);   

Output from windows Wi-Fi direct sample program for board as GO:
35933-p2p-for-forum1.jpg

35806-p2p-for-forum2.jpg

Universal Windows Platform (UWP)
{count} votes

1 answer

Sort by: Most helpful
  1. Derrick Lau 1 Reputation point
    2021-03-04T00:01:41.297+00:00

    I had the same issue with an ESP32 dev board when trying to connect to my home WiFi network. The only example I could get to work was using WPS and literally pressing the button on my home router to connect my ESP32.

    0 comments No comments