How to join an ap quickly?

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

cross mob
chch_2120956
Level 3
Level 3
First like received First like given

step:

     1.compile with customer dct include ap ssid and password.

     2. call wiced_network_up( WICED_STA_INTERFACE, WICED_USE_EXTERNAL_DHCP_SERVER, NULL );

     we find module need about 5 times retries to join ap.how to join an ap quickly?

add printf in wiced_join_ap.

      join_result = wiced_wifi_join_specific( &temp_scan_result, (uint8_t*) ap->security_key, ap->security_key_length, NULL );

      printf("join specific details join_result=%d\r\n",join_result);

        /* If join-specific failed, try scan and join AP */

       join_result = wiced_wifi_join( (char*) ap->details.SSID.val, ap->details.security, (uint8_t*) ap->security_key, ap-                                         >security_key_length, NULL );

       printf("try scan and join AP =%d\r\n",join_result);

logo:

join specific details join_result=6

try scan and join AP =6

0 Likes
1 Solution

You can also use the Console app to manually join the AP.

> join <ssid> wpa2 <passphrase> ...

See if this works as expected and you can join the first try.

View solution in original post

4 Replies
Anonymous
Not applicable

Hi ChenChuang

Which SDK you use?

I have use SDK 2.3.1 / 2.4.1 and can join an AP at the first try.

So could you try to join another AP? And see how's going?

Please in a normal environment.

(I mean don't in the critical env ex:exhibition center)

0 Likes

You can also use the Console app to manually join the AP.

> join <ssid> wpa2 <passphrase> ...

See if this works as expected and you can join the first try.

GregG_16
Employee
Employee
50 sign-ins 25 sign-ins 25 comments on KBA

Are we OK here, or do we still have an issue?

0 Likes

OK