which evb are you using now for the test?
Can you recreate the issue on a Cypress development board? Our Applications Team does not have access to our partner's EVBs.
I dont have one from Cypress. If it helps, the nx_ip_status_check() API in wiced_ip_up() times out. I have a thread like the wifi_join_thread in the ble_wifi_introducer app. Do I need to reset or deinit something when a wifi_join() call fails. May be this information will help in debugging?
I have a test based on CYW94343WWCD1_EVB . Actually , I met some failures in first time join, but "no Unable to obtain IP address via DHCP" is not printed, most of the time the connection is successful on the first try. “join” command will call wifi_join() API .
Did have a try to run APSTA app in our release? if APSTA can join the AP in the first try , you can have a reference based on it for the init process.
Starting WICED vWiced_006.002.000.0072
Platform CYW94343WWCD1_EVB initialised
Started ThreadX v5.8
Initialising NetX_Duo v5.10_sp3
Creating Packet pools
WLAN MAC Address : 00:A0:50:11:0C:BF
WLAN Firmware : wl0: Apr 30 2018 04:14:19 version 126.96.36.199 (r688715 CY) FWID 01-283fcdb9
WLAN CLM : API: 12.2 Data: 9.10.39 Compiler: 1.29.4 ClmImport: 1.36.3 Creation: 2018-04-11 22:31:21
> join zhez_2g wpa2 abcd1234
Joining : zhez_2g
Successfully joined : zhez_2g
Obtaining IPv4 address via DHCP
DHCP CLIENT hostname WICED IP
IPv4 network ready IP: 10.0.0.6
Setting IPv6 link-local address
IPv6 network is not ready
I have a test based on CYW94343WWCD1_EVB . Actually , I met some failures in first time join, but "no Unable to obtain IP address via DHCP" is not printed, most of the time the connection is successful on the first try. “join” command will call wifi_join() API
Did you ever check the reason of "some failures in first time join"?
1 of 1 people found this helpful
Yes, I added some logs for the issue, but it never happened again after print added , will do the debug if met with big ratio.
by the way , I have no antenna connected with the evb , assume there has some packet Retransmissions occasionally . and will do more verification.