Wi-Fi Combo Forum Discussions
Hi - I'm using the WW101 examples with a Quicksilver board. I can join a WiFi network by editing the SSID and PASSPHRASE entries in the wifi_config_dct.h file, but how do I join a network that requires username and password credentials?
Thanks,
Bill
Show LessHi,
I am testing WICED SDK 6.1 for all the supported Authentication methods in STATION mode. I have few issues in WICED SDK 6.1. i.e
1. In every case for WEP , Authentication fails .I enabled already the Macro , #define WICED_WIFI_SOFT_AP_WEP_SUPPORT_ENABLED .
It fails in wwd_wifi_prepare_join()(file wwd_wifi.c) ,I also added "WICED_SECURITY_WEP_PSK" in below function -
static wwd_result_t wwd_wifi_prepare_join( )
{
if ( ( ( ( key_length > (uint8_t) WSEC_MAX_PSK_LEN ) ||
( key_length < (uint8_t) WSEC_MIN_PSK_LEN ) ) &&
( ( auth_type == WICED_SECURITY_WPA_TKIP_PSK ) ||
( auth_type == WICED_SECURITY_WPA_AES_PSK ) ||
( auth_type == WICED_SECURITY_WPA2_AES_PSK ) ||
( auth_type == WICED_SECURITY_WPA2_TKIP_PSK ) ||
( auth_type == WICED_SECURITY_WPA2_MIXED_PSK) ||
( auth_type == WICED_SECURITY_WEP_PSK ) ) ) )
2.In case of WPA_AES_PSK,the station shows WPA2_AES_PSK in scan results ,tough it connects properly.
3.In case of WPA2_FBT too ,it shows WPA2_AES_PSK in scan results .
Please help me in solving above issues.
Thanks and Regards,
Suresh
Show LessHi,
We have a plan to use Azuewave module CU289 that has CYW43438 and STM32F412 to design Wi-Fi and BLE application.
This STM32F412 has internal Flash(512KB~1MB) and SRAM(256KB) and we'd like to know how much memory can the customer use for their application without some library and OS.
Thank you.
--TAK
Show LessHello,
I have been dealing with a processor hang (or data exception issue in some instances) for a couple of days. The issue can be easily replicated using the snip.secure_mqtt example and I am hoping someone from Cypress (or the community) can provide some insight...
PROBLEM DESCRIPTION:
- I am running the secure_mqtt snip example over ethernet. Initially, right after a board flash, the snip runs without issues.
- After a complete board power cycle, snip starts but then the processor hangs. (Eventually watchdog steps in if wdg is enabled and the cycle repeats)
- The issue is consistent on multiple dev boards as well as the custom application board I am working on for my client.
ENVIRONMENT CONFIGURATION:
- Wiced Studio 6.2.1.2 on Windows 7
- CYW943907AEVAL1F dev board
- Trying to run snip.secure_mqtt example on this board but over the ethernet inerface (as opposed to wifi in the original example)
HOW TO REPLICATE:
- To demonstrate the problem, I modified the snip.secure_mqtt example to run over the ethernet interface. The modification is done in "secure_mqtt.c" file by replacing all instances of "WICED_STA_INTERFACE" with "WICED_ETHERNET_INTERFACE". Everything else stays the same as in the original snip example.
- Compile and flash using this target: "snip.secure_mqtt-CYW954907AEVAL1F-debug download run"
- With ethernet port connected to a network switch, code flashes and continues on to execute the snip example without any issues.
- After a complete dev board power cycle (not just a reset), snip will start and run until after it completes the "test.mosquitto.org" address resolution, but then the processor hangs.
ADDITIONAL OBSERVATIONS:
- The processor hang occurs after the "mqtt_thread_main" attempts to process the first "MQTT_SEND_EVENT" it receives.
- The MQTT_SEND_EVENT results in a series of calls to lower level support lib functions and eventually it fails (causes the program to hang or throws exception) at this line: - Line# 2490 in "ssl_tls.c": if( ssl->state != MBEDTLS_SSL_HANDSHAKE_OVER || ssl->handshake->retransmit_state == MBEDTLS_SSL_RETRANS_SENDING)
- Specifically, accessing ssl->handshake->retransmit_state seems to cause a data exception.
- Note that I mentioned exceptions as well as mcu hangs... If you replicate the example the way I described above, the code just hangs. If in addition to the change above, we change the code to not initialize wifi at all (since it's not used), the code executes up to the same point but in this case, mcu exception is caught by the handler and appropriately shown.
- In either case, code fails on the same line of code shown above.
- My thought is that some part of memory within the wiced_mqtt_object_t structure is not setup correctly by the time this statement is executed, but it's quite difficult to navigate that huge structure...
All help is very much appreciated,
Nebojsa
Show LessWhen I use the network_tcp_send_packet from the wiced_tcp_send_buffer, Error 0x39 [NX_WINDOW_OVERFLOW] is occurs.Our application sends about 25kbytes data via wi-fi(2.4GHz) at regular intervals about 160ms. This problem is happened sometimes in a few hours. And this situation is very similar to previous discussion show in https://community.cypress.com/message/7087#7087 in long ago.
How can I fix this problem at latest SDK version 6.2 ?
Error log
+ wiced_tcp_send_buffer() returns 0x39 [NX_WINDOW_OVERFLOW]
+ wiced_tcp_send_buffer() returns WICED_ERROR
Environment:
+ SDK: WICED-Studio-6.2
+ Device: CYW943907AEVAL1F
+ MakeTarget Option: -ThreadX-NetX-Duo
Show LessHello,
Is there a DTLS 1.2 Client implementation in WICED 6.2.1.2 for communicating from a WICED device to an external DTLS 1.2 Server?
All I have seen is DTLS Server functionality implemented as part of the COAP protocol library and I see it used by snip/coap_app, but only the server mode. All the COAP client examples seem to be plain UDP (non-DTLS).
Thanks
Show LessHi Cypress Team,
I am looking for below details, which i require in one of the product certifications which uses CYW4343W SoC.
1) CYW4343W supports 20MHz channels only. Please confirm.
2) Does the CYW4343W support TPC (Transmit power control)?
Looking for your quick response for the same.
Show LessWe are using CYW94343WWCD1_EVB platform.
We need the master gerber files in altium for the product also if there are *.BRD files that would help us in spec'ing out the antenna design so that we can use cypress's, all this will cut 2-4 months of development interval for us.
The problem with what exists is there are eagle cad files and an old version which altium cannot read. Altium says the files are too old to be read in it's software. So if anyone has gerber altium project files that would be great. if not Is there the master *.BRD files we can use as a basis for designing our board.
This will help us so we can have it manufactured and start testing in four weeks time. if this is available to us.
Thanks is advance Sincerely, Gillian/aao
Show LessProject : 43xxx_Wi-Fi
IDE : WICED-Studio-6.2.1.2-IDE
I added sntp.c (WICED/network/LwIP/ver2.0.3/src/apps/sntp/sntp.c) file for compilation in LwIP.mk file
as shown below.
$(NAME)_SOURCES += ver$(VERSION)/src/apps/sntp/sntp.c
In this sntp.c file one header file is included to meet my project requirements.
For suppose say #include "My_File_Sntp.h"
When i try to compile, compiler is throwing error.
Reason is My_File_Sntp.h file is having C++ stuff (like class declaration,keyword bool etc...)
If i change extension of file sntp.c from .c to .cpp then compilation is successful.
I came to know from googling that
By default, gcc selects the language based on the file extension,
but you can force gcc to select a different language backend with the -x option
My question is:
What changes i have to do in makefile so that only sntp.c file
gets compiled in backend using c++ compiler without changing extension?