[Bug] Connect to 'hidden' Wifi fails
Description of the bug Sample application (hello_wlan) can't connect to a hidden Wifi. Connecting to the very same network made 'visible' on the router works.
Affected version(s) and hardware
Tested on a Pi3 B+, 32bit kernel, tested with current 'master' 50.0.1 + the workaround to avoid crash with mesh-networks (#616)
and with current develop branch.
Log output or screenshots wpa_supplicant.conf:
#
# wpa_supplicant.conf
#
country=AT
network={
ssid="pottendo-lte"
scan_ssid=1
psk="xxxMYPWxxx"
proto=WPA2
key_mgmt=WPA-PSK
}
Maybe hidden networks are anyway unsupported or for good reason not available - So let me know if I should provide more logs by switching to MSG_DEBUG level.
int wpa_supplicant_main (const char *confname)
{
[...]
params.wpa_debug_level = MSG_DEBUG;
I'm afraid hidden networks currently do not work and are not supported. I tried several options in wpa_supplicant.conf and nothing worked.
Hi Rene, thanks for the quick analysis - as always, big thumbs up! I got the report on my project (see cross reference above). It seems to not work also in previous versions, so the recent change of wpa_supplicant is not the issue. You may close this for now - unless you want to keep an eye on it. ;-) bye, pottendo
Thanks pottendo. We should keep this open for the case, that other users have the same problem. And maybe it can be solved later.
I'm afraid hidden networks currently do not work and are not supported. I tried several options in wpa_supplicant.conf and nothing worked.
Any chance this has been fixed in circle 51? I don't have an easy way to test it, but this issue was written against circle 50.0.1.
The WLAN support has not been changed in Circle 51. This problem is still there. Honestly I have no idea, how it could be fixed.
I think I have a patch for this, but it needs to be tested.
add this line to your wpa_supplicant.conf scan_ssid=1
Please provide some input for me, thanks a lot!
This is for hostap :
hidden-wifi-driver_circle.patch
This is for circle repo:
Please let me know how this goes. If it seems to work I'll put in an official PR
Many thanks for the patches. I will test them soon.
It works, that's great! I successfully tested with and without hidden SSID. I will merge the PRs soon.
@danifunker Your code looks clean and works here. Thus I merged both PRs now and made the updated hostap version the default on the develop branch. Thank you again for this contribution!
hi, thanks for the update - I'll try it also in the upcoming days. all the best, pottendo
Hi, I can confirm that the patch works also for my application - good work, spotting and fixing the issue! thanx, pottendo
@pottendo Thanks for testing!
Hi Rene, any plans to do a release including this fix in the near future? I've delayed the next release of my application a bit to wait until then. I may decide to not wait depending on your (rough) time-plan. thx, pottendo
Feel free to create a patching system like the one I have on usbode-circle. That way you don't need to wait for official releases.
Feel free to create a patching system like the one I have on usbode-circle. That way you don't need to wait for official releases.
thanks, will have a look - though I don't want to cherry-pick patches; as of now the steps as released by Rene deliver good integrated consistency; and I'm actually using circle-stdlib. Let's see what I get as feedback - I'm not in a rush.
Cool, my patching system handles both components :) I’m using the same thing in my project
On Sep 7, 2026, at 1:54 PM, pottendo @.***> wrote:
[https://avatars.githubusercontent.com/u/62503913?s=20&v=4]pottendo left a comment (rsta2/circle#633)https://github.com/rsta2/circle/issues/633#issuecomment-5574159141
Feel free to create a patching system like the one I have on usbode-circle. That way you don't need to wait for official releases.
thanks, will have a look - though I don't want to cherry-pick patches; as of now the steps as released by Rene deliver good integrated consistency; and I'm actually using circle-stdlib. Let's see what I get as feedback - I'm not in a rush.
Feel free to create a patching system like the one I have on usbode-circle. That way you don't need to wait for official releases.
...actually I'm doing this already - not that sophisticated though. ;-) My patches do modify circle-stdlib a bit (config changes) and some enhancements, I didn't dare to submit so far. thx for the hint, pottendo
I'm working to prepare the new release 51.1 already. It will contains this fix. It can take some weeks, because of the necessary testing.
The issue has been fixed in Circle 51.1, which is out now.