Hi Toradex Community,
I am working with a Colibri iMX6ULL 512MB module and BSP Dunfell 5.7.
I have created a configuration file for a new hostapd
setup and modified /etc/connman/main.conf
to prevent ConnMan from managing the interface.
Additionally, I developed a web application using Apache and Flask that allows users to connect to the access point (AP) and select a WiFi station to connect to.
The application is accessible from a phone via a browser connected to the AP. From there, I can scan for available WiFi networks and connect to one successfully. However, during this process, the phone disconnects from the AP, losing access to the web app. It seems that the access point restarts but reappears almost immediately.
The WiFi station connection works successfully, but the interruption in the AP causes usability issues with the web app.
Do you have any idea what might be causing this behavior or how to resolve it?
Thank you for your support!
Hi @facundo.n.r!
Sorry for the delayed response.
Could you confirm if the AP and the Wi-Fi are on the same channel? And how does this interruption affect the web app?
Best regards.
Lucas Azeituno.
Hi @lucas_az.tx, thanks for your response.
When the AP and Wi-Fi are on the same channel, there is no problem. However, if the AP and Wi-Fi use different channels, the AP connection is rebooted, causing the device to disconnect.
Hi @facundo.n.r!
As far as we’ve tested, your Wi-Fi module is working properly. We verified that if the AP and STA (Wi-Fi client) are used at the same time, but in different channels, it will not work (in your case, rebooting the AP). However, if you use the same channel for both, it should work properly (as it is). So, is it mandatory for your project to use two different channels?
Right now, you are facing a hardware limitation, but if using two different channels is mandatory, you could bypass it. For example, using another Wi-Fi module on your setup, like a Wi-Fi dongle, you could use the Colibri’s Wi-Fi module for the AP and the external module for the Wi-Fi connection.
Best regards.
Lucas Azeituno