Wi-Fi Combo Forum Discussions
Hello
While downloading on the air, my app is writing to external sflash with wiced_framework_app_write_chunk() function.
MPU:STM32F412
SRAM:MX25L3233
After writing all data, do checking of CRC32 from external flash by wiced_framework_app read_chunk() function.
When comparing the written data with the read data, about 1.1% of the data errors were found in 1MB.
The contents of the error are the following 3 patterns.
- FF ... About 1% of the whole, it is thought that several bytes to several tens of bytes are continuous, and not written.
- 00 ... About 0.1% of the whole, it is thought that 3 bytes are continuous and not erased.
- Others ... Since it is 2 bytes and the position is continuous with 2., it is considered that it is not completely erased.
Of these, 1. was resolved by <https://community.cypress.com/message/29678> as a result of a search for community.
This was two years ago, but has not yet been corrected in the libraries included in WICED studio 6.4.0.61.
From this, it is considered that other unfixed defects are included in WICED.
Items related to the above are given priority.
If there is an errata, please expand the information.
Is the operation of the WICED library guaranteed? (is it sample?)
Thank you.
Show LessUsing the CYW4343W, is it possible to switch between listening for BLE advertisements (for let's say 1 second) and performing a WiFi data transaction, assuming WiFi has already established a connection with an AP and is in Power Save Mode?
Show LessHi, I use SP-KL1DX-T chip with Cypress/CYW4343W IC.(linux 4.1.15). Firmware - cyw-bt-patch/CYW43430A1.1DX.hcd at master · murata-wireless/cyw-bt-patch · GitHub
WLAN and Bluetooth work fine but I want to try PMU features.
I read your datasheet(https://www.cypress.com/file/298081/download) page 27 and I decided to use BT_HOST_WAKE.
Where I can find information about ' power management handshaking' ?
Show LessIs it possible to bypass CYW43455 iLNA?
If yes, how to do it? by modifying nvram?@
Hi All,
I want to specify the Cipher Suite supported by WICED.
[Background]
In order to analyze the TLS packet contents with WireShark, I hope to specify cipher suites.
With the default settings of WICED,
the server returns TLS_DHE_RSA_WITH_AES_256_CBC_SHA256, because 21 types of Cipher Suite are transmitted.
So I cannot decode the packet with WireShark.
I want to use Cipher Suite with TLS_RSA_WITH_AES_128_CBC_SHA.
In this case, I will able to decrypt with WireShark.
[Question]
How can WICED support Cipher Suite be TLS_RSA_WITH_AES_128_CBC_SHA only ?
*********************************************************************
*********************************************************************
As an example, I tried to make the following changes:
However,the server still returns TLS_DHE_RSA_WITH_AES_256_CBC_SHA256.
I can not decrypt the packet.
[Changes is as follows]
1.Changed definition "mbedtls_cipher_type_t" to NONE and MBEDTLS_CIPHER_AES_128_CBC .
WICED\security\BESL\mbedtls_open\include\mbedtls\cipher.h
2.TLS define value is only the following
#define TLS_RSA_WITH_AES_128_CBC_SHA MBEDTLS_TLS_RSA_WITH_AES_128_CBC_SHA
WICED\security\BESL\mbedtls_open\include\mbedtls\compat-1.3.h
3.Modified the source for error measures at the time of building.
WICED\security\BESL\mbedtls_open\library\cipher_wrap.c
WICED\security\BESL\mbedtls_open\library\ssl_ciphersuites.c
:
4.The part related to RSA was left.
mbedtls_ssl_sig_hash_set_find
mbedtls_ssl_sig_hash_set_add
mbedtls_ssl_sig_hash_set_const_hash
WICED\security\BESL\mbedtls_open\library\ssl_tls.c
Best Regards,
Sakagami
Hello.
I refer to publisher.c and subscriber.c of demo,
I am creating MQTT transmission / reception processing.
The main processing flow is as follows.
(1) Connection to AWS
get_aws_credentials_from_resources ()
wiced_aws_init ()
wiced_aws_create_endpoint ()
do_connect_and_acknowledge ()
(2) Subscribing
wiced_aws_subscribe ()
(3) Publish transmission / Publish reception
wiced_aws_publish ()
my_publisher_aws_callback ()
(4) Disconnect from AWS
wiced_aws_disconnect ()
wiced_aws_deinit ()
I have a question.
While waiting for the processing of (2), (3),
If the WiFi connection is lost, the following message will appear.
[AWS / MQTT] Event received 2
[Application / AWS] Disconnection Received
Also, the last "else" of mqtt_manager (),
Stop at "WPRINT_LIB_ERROR (("[MQTT LIB] Not connected \ r \ n"));
Is there a workaround?
How do I restore the connection?
For example, after (3) and (4), should I start over from (1)?
Thank you.
Show LessHi,
We have designed one product based on NXP platform and now we are in certification phase for this product.In this we have interfaced LBEE5HY1MW-230 module via SDIO and UART. We need wl and HCI commands for conducted test of Wi-Fi and BT. We need below details ASAP as our conducted test for certification is on hold.
1. wifi adaptivity test commands using WL tool.
2. WL commands for un-modulated carrier testing.
3. HCI commands for Bluetooth testing for different modulation techniques i.e GFSK, DQPSK and 8DPSK
Let me know if you need any more details.
Regards,
Richa
Show LessHello,
We are trying to add OTA2 to our application running on STM32F412.
We have read the document (WICED OTA2 Update Support), however, still don't understand how to edit makefiles.
Based on the chapter 8 "Adding OTA2 to a new platform", we have edited some makefiles but we are facing a problem of the ota2_bootloader is not build.
The console of the WICED Studio outputs following build log:
"Skipping building bootloader due to NO_BOOTLOADER_REQUIRED"
Do we need to edit more makefiles other than described in the chapter 8?
Thanks.
Show LessHello.
My platform's component is MPU:STM32F412 with external sflash added.
According to WICED-OTA.pdf 2.1 Internal + External FLASH.
In OTA(not OTA2) external sflash can understand LUT, DCT and OTA_APP and APP_image to be arranged.
Then is it possible to place DCT in the built-in flash?
If possible, please tell me how to changing.
According to WICED-WAF.pdf 2, the DCT used is described as internal flash side only.
The result of "make snip.ota_fr-<platform_name> download download_apps" is that DCT looks like internal flash.
And when analyze the source of WICED, it seems that EXTERNAL DUCT can be used to switch on making, but this definition alone will cause an error in make.
メッセージ編集者: Hiroyuki Iwasaki I wanted to get some answers, so translated it into English. Thank you.
Show LessHi,
On CYW943907AEVAL1F, interrupt latency sometimes getting longer.
Usually, it's approx 2-3us, but every 2-10 seconds get 30-100us.
In my project, CPU must respond within several microseconds.
Therefore this long latency is a issue to be solved.
How can I make the latency at around 3us constantly?
Sample program is attached.
Tools
- Windows 10 PC
- CYW943907AEVAL1F
- WICED-Studio 6.4.0.61 on Windows
- SocketTest v3.0 http://sockettest.sourceforge.net/
- Wi-Fi Access Point
- Jump wire 1pc
The connection diagram is shown below.
Usage
1) Power on Wi-Fi AP.
2) Using jump wire, connect J10.7 to J12.4 on CYW943907AEVAL1F.(J10.7=PWM4 output, J12.4=interrupt input)
3) Run SocketTest3 on Windows PC, it acts as a TCP Server.
4) Connect CYW943907AEVAL1F to Windows PC with USB cable.
5) Run TeraTerm, and connect CYW943907AEVAL1F via Serial port.
6) Type "join <AP SSID> wpa2_aes <Password>" on TeraTerm.
> join IoT-2G-01-1943 wpa2_aes PASSWORD
Joining : IoT-2G-01-1943
Successfully joined : IoT-2G-01-1943
Obtaining IPv4 address via DHCP
L1420 : dhcp_client_init() : DHCP CLIENT hostname = [WICED IP]
IPv4 network ready IP: 192.168.3.100
Setting IPv6 link-local address
IPv6 network ready IP: FE80:0000:0000:0000:A608:EAFF:FED9:CE58
7) Windows PC connects to the Wi-Fi AP.
😎 Set up SocketTest3 as a TCP Server. The IP address=X.X.X.X and Port=5001, and click "Start Listening".
9) Type "start -c X.X.X.X" on TereTerm, then start data transmission.
10) The interrupt latency information are displayed on TeraTerm.
exceed_cnt increments when exceeds threshold.
exceed_val shows interrupt interval when exceeds threshold.
> start -c 192.168.3.101 -n 100
wiced_tcp_connect start
> wlan_send_countdown=99, exceed_cnt=37, exceed_val=76100ns
wlan_send_countdown=98, exceed_cnt=37, exceed_val=76100ns
wlan_send_countdown=97, exceed_cnt=38, exceed_val=91250ns
wlan_send_countdown=96, exceed_cnt=38, exceed_val=91250ns
wlan_send_countdown=95, exceed_cnt=38, exceed_val=91250ns
wlan_send_countdown=94, exceed_cnt=38, exceed_val=91250ns
wlan_send_countdown=93, exceed_cnt=38, exceed_val=91250ns
wlan_send_countdown=92, exceed_cnt=39, exceed_val=91250ns
wlan_send_countdown=91, exceed_cnt=39, exceed_val=91250ns
wlan_send_countdown=90, exceed_cnt=41, exceed_val=75550ns
wlan_send_countdown=89, exceed_cnt=41, exceed_val=75550ns
wlan_send_countdown=88, exceed_cnt=41, exceed_val=75550ns
wlan_send_countdown=87, exceed_cnt=41, exceed_val=75550ns
wlan_send_countdown=86, exceed_cnt=42, exceed_val=91025ns
wlan_send_countdown=85, exceed_cnt=42, exceed_val=91025ns
...
wlan_send_countdown=3, exceed_cnt=55, exceed_val=75725ns
wlan_send_countdown=2, exceed_cnt=55, exceed_val=75725ns
wlan_send_countdown=1, exceed_cnt=56, exceed_val=75650ns
wlan_send_countdown=0, exceed_cnt=56, exceed_val=75650ns
Regards,
Nobuhiro
Show Less