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
  • As for now, here is the basic info:
    Zephyr version: 3.4.99
    nRF Connect SDK v2.5.1

    My hardware isn;t a Nordic devkit, it's MS12SF1 module which combines 5340+7002.

    And yes - I did testing with the same network with public SSID and it worked perfect. Hiding SSID back made scan obligatory, and also not every connect attempt was successfull.

    Are you sure that there are no special steps/config options i should do, when connecting to hidden wifi in comparison to public one? I did not find any information in documentation or samples unfortunatelly.

Reply
  • As for now, here is the basic info:
    Zephyr version: 3.4.99
    nRF Connect SDK v2.5.1

    My hardware isn;t a Nordic devkit, it's MS12SF1 module which combines 5340+7002.

    And yes - I did testing with the same network with public SSID and it worked perfect. Hiding SSID back made scan obligatory, and also not every connect attempt was successfull.

    Are you sure that there are no special steps/config options i should do, when connecting to hidden wifi in comparison to public one? I did not find any information in documentation or samples unfortunatelly.

Children
No Data
Related