Page 1 of 1

How to Set Up Wi-Fi Peer-to-Peer (P2P) Between Luckfox Lyra Ultra W and Mobile/PC?

Posted: 2025-09-17 9:52
by Infitechlab1
I’m developing a handheld application on the Lyra Ultra W and need to establish a direct, offline Wi-Fi connection (peer-to-peer) with a smartphone or PC for file transfer . I’ve looked into Wi-Fi Direct but haven’t been able to get it working on my device.

Here’s my setup:
Hardware: Luckfox Lyra Ultra W (ARM64 Linux)
Host OS: ubuntu with wpa_supplicant and iw installed
Use case: Transfer files and receive control commands without an AP or internet

what i tried:
got to know about AIC8800DC module which support P2P connection

Code: Select all

root@luckfox:~# iw phy
Wiphy phy0
        ........
        Supported interface modes:
                 * managed
                 * AP
                 * AP/VLAN
                 * monitor
                 * mesh point
                 * P2P-client
                 * P2P-GO
                 * P2P-device
I would greatly appreciate guidance on:
1.Configuring P2P Group Owner (GO) mode on the Lyra Ultra W.
2.Example wpa_supplicant.conf or hostapd.conf snippets for P2P GO and client.
3.Any required kernel modules, driver options, or firmware tweaks.
4.CLI commands (using iw, wpa_cli, etc.) to initiate discovery, group formation, and connection.
5.Troubleshooting tips if peers aren’t discovered or connections keep dropping.

Thank you in advance for any advice, sample configs, or pointers to documentation.

Re: How to Set Up Wi-Fi Peer-to-Peer (P2P) Between Luckfox Lyra Ultra W and Mobile/PC?

Posted: 2025-10-09 6:21
by Crocodile
Hello, the contents related to the wireless module P2P connection and Ubuntu are not within the scope of technical support. We have no relevant experience or development plans for the wireless module P2P connection, and therefore we cannot provide any suggestions at present.

Re: How to Set Up Wi-Fi Peer-to-Peer (P2P) Between Luckfox Lyra Ultra W and Mobile/PC?

Posted: 2025-10-09 9:26
by Infitechlab1
Thank You so much for your reply. we were able to figure out and thus successfully able to establish connection between lyra board and mobile/pc.