A way to know if a STA connects to my 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 configured CYW943907AEVAL1F as STAtion.

I want to know if there is a way to know when a STA connects to my AP.

I try to use

 

wiced_network_register_link_callback ( (wiced_network_link_callback_t)&onWiFiConnect, NULL, (wiced_network_link_callback_t)&onWiFiDisconnect, NULL, WICED_AP_INTERFACE );

 

but "onWiFiConnect" or "onWiFiDisconnect" callbacks never execute

0 Likes
1 Solution
Aditi_B
Moderator
Moderator
Moderator
500 replies posted 5 questions asked 250 replies posted

Hi,

If you're doing a simple "join" by wiced_network_up API, or by command console, it will show you the required logs when the STA joins the AP. Can you give more details on your query? Is it that when your STA switches to another AP, you want some info on the terminal to know that an AP switch has been taken?

Thanks 

Aditi 

View solution in original post

0 Likes
1 Reply
Aditi_B
Moderator
Moderator
Moderator
500 replies posted 5 questions asked 250 replies posted

Hi,

If you're doing a simple "join" by wiced_network_up API, or by command console, it will show you the required logs when the STA joins the AP. Can you give more details on your query? Is it that when your STA switches to another AP, you want some info on the terminal to know that an AP switch has been taken?

Thanks 

Aditi 

0 Likes