Automatically Accepting Specific P2P Connection Requests on RT1176 (MAYA-W4 Module)

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Automatically Accepting Specific P2P Connection Requests on RT1176 (MAYA-W4 Module)

Jump to solution
1,185 Views
Tarak_777
Contributor III

Hi,

I’m working on a Wi-Fi Direct implementation on the i.MX RT1176 board using the MAYA-W4 Wi-Fi module. I am using wpa_supplicant example from SDK V25.09,I was able to successfully establish and disconnect P2P connections.

In my application, the first connection requires a PIN entry from the user. Once the connection is established, I store the peer’s MAC address in flash memory. For subsequent connections, I want the device to automatically accept incoming requests from the same peer (without requiring user intervention).

I tried using the command wlan-p2p-start-wps-pbc, but it appears to accept connection attempts from all nearby devices, not just the previously stored one.

Is there a way to automatically accept connection requests only from a specific peer MAC address? Any guidance or suggestions would be appreciated.

Thanks,
Tarak.

Tags (1)
0 Kudos
Reply
1 Solution
1,161 Views
DanielRuvalcaba
NXP TechSupport
NXP TechSupport

Hi,

 

Have you tried hard coding the values using wpa_supp_p2p_connect() and call it from main()?

 

Regards,
Daniel.

View solution in original post

0 Kudos
Reply
2 Replies
1,162 Views
DanielRuvalcaba
NXP TechSupport
NXP TechSupport

Hi,

 

Have you tried hard coding the values using wpa_supp_p2p_connect() and call it from main()?

 

Regards,
Daniel.

0 Kudos
Reply
1,135 Views
Tarak_777
Contributor III

Hi @DanielRuvalcaba ,

Thanks for the reply. I have tried by hard coding the values and i was able to connect successfully. Thanks for the support.

Best regards,

Tarak.

Tags (1)
0 Kudos
Reply