- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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
Solved! Go to Solution.
- Labels:
-
SPI
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Are we OK here, or do we still have an issue?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
OK