Hidden Wi-Fi connection possible only after scanning

Hello,

Using 5340+7002 and Zephyr, I met problem connecting to wifi with hidden SSID.
I use regular commands like "wifi scan' and 'wifi connect' but despite the fact that i pass correct ssid/pass with 'wifi connect' my device is not able to connect.
It goes into scanning, which never ends.

For workaround I can do scanning first and then 'wifi connect'. This way it works, but really I'm not sure why do I have to scan first? Is this expected behaviour?
Also, I can see that connecting to hidden network is waaay slower and less reliable (more often faults) than connecting to public, visible networks. 
I haven't found any info that maybe non-public networks are not supported, nor any special config/steps i should proceed before connecting to such specific network.

Do i miss something here, guys?
Thank you.

Parents
  • Hi.

    We do support connecting to a hidden SSID. And theree is not need for an explicit scan to connect to a hidden SSID.

    Could you add some more details on your setup? DK or custom board, HW versions, SDK version etc.

    As for the unreliable connection when using hidden SSID; Could you try to disable hidden SSID in the same AP to see if it's a generic issue or specific to the hidden SSID?
    Else, if we are to investigate the connection issue we would need sniffer captures, environmental details etc.

    Br,
    Joakim

Reply
  • Hi.

    We do support connecting to a hidden SSID. And theree is not need for an explicit scan to connect to a hidden SSID.

    Could you add some more details on your setup? DK or custom board, HW versions, SDK version etc.

    As for the unreliable connection when using hidden SSID; Could you try to disable hidden SSID in the same AP to see if it's a generic issue or specific to the hidden SSID?
    Else, if we are to investigate the connection issue we would need sniffer captures, environmental details etc.

    Br,
    Joakim

Children
No Data
Related