Other Parts Discussed in Thread: CC3100
Hello community!
I'm working on an older project that uses the CC3100MOD for Wi-Fi communication. I have to implement Wi-Fi Direct (P2P) communication, so the device can communicate with a PC or a Smartphone. So far the discovery of the device (I used the P2P example for reference) is working and i can find it on my PC and my Phone as well. But my Problem is, that when i try to connect to it, i either get a SL_WLAN_CONNECTION_FAILED_EVENT or i never get an IP-Address so i stay in the while-loop that is waiting for the IP-Address for ever. Static IP also doesn't work. The Negotiation Request on the other hand does work and i get that event. DHCP on the PC is enabled!
Has someone had similar problems or does anyone know what i might be doing wrong?
My current config is:
- Wlan Connection Policy = Fast and Auto
- Wlan P2P Policy = Negotiate and Initiator Random Backoff
- Device Type = 1-0050F204-1
- Security Type = Pin Display
- DHCP enabled
For Testing i have used the UWP Wi-Fi Direct Sample from Microsoft.