Limit number of STA connected to AP

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
MaFa_974161
Level 5
Level 5
100 sign-ins 50 replies posted 50 questions asked

Hello.

I'm using WICED.

I configured WICED as AP with this settings in "wifi_config_dct.h" ...

 

#define SOFT_AP_SSID "WICED Device"
#define SOFT_AP_CHANNEL 1
#define SOFT_AP_SECURITY WICED_SECURITY_WPA2_AES_PSK
#define SOFT_AP_PASSPHRASE "12345678"

 

I want to know if there is a way to limit the number of connected STA to just only one Station.

0 Likes
1 Solution
Murali_R
Moderator
Moderator
Moderator
250 sign-ins 250 replies posted 100 solutions authored

As @Leo_Liu2 said you can either uncomment the macro in /43xxx_Wi-Fi/WICED/WWD/WWD.mk or since it is a GLOBAL define, even defining it in your application makefile should also work.

View solution in original post

0 Likes
4 Replies
Leo_Liu2
Level 2
Level 2
Distributor - Zenitron(GC)
25 sign-ins 10 sign-ins 5 replies posted

You can uncomment  below param in WWD.mk to configure max number of associated STA for SoftAP :

GLOBAL_DEFINES += WWD_WIFI_CONFIG_AP_MAX_ASSOC=1

MaFa_974161
Level 5
Level 5
100 sign-ins 50 replies posted 50 questions asked

If I add this param in my *.mk project ?

0 Likes
Murali_R
Moderator
Moderator
Moderator
250 sign-ins 250 replies posted 100 solutions authored

As @Leo_Liu2 said you can either uncomment the macro in /43xxx_Wi-Fi/WICED/WWD/WWD.mk or since it is a GLOBAL define, even defining it in your application makefile should also work.

0 Likes
MaFa_974161
Level 5
Level 5
100 sign-ins 50 replies posted 50 questions asked

yes, it works

0 Likes