Wi-Fi Combo Forum Discussions
We are doing power test.
I am using the while function to send http every 5 seconds.
wiced_rtos_delay_milliseconds (5000);
Is it correct use?
Do you have a sleep mode?
Are there good features to reduce power consumption?
In the case of Bluetooth, there was a sleep mode. Is there a sleep mode even in the case of Wi-Fi?
Please tell us.
I'm sorry I did not speak English.
Thank you.
Show Lesshttpbin_org
I just changed the URL for this project. (www.naver.com)
However, there is an indication that it has failed.
'viscr: failed to connect to serError: failed to connect to server: 4'
How can I succeed?
Help me.
Show LessI have to down load 6MB file from cloud using USI 22 ( BMC4343XX + STM32F41xx) module, which has 1MB Flash nd 256KB RAM. The module connected cloud via TCP/IP(HTTPS) and USART to Host MCU which have 64MB Flash and 16MB RAM but it is very busy with doing all the application. I need to transfer this data reliably and correctly to host processor. My understanding of file transfer from server is verify by HTTP client after download entire file,
Q1. What is the best way to down load this big data from server
1. Chop the big file into 1KB packet and every packet with clear packet number and CRC
2. Wi-F module verify every packet received the send to host via serial port
3. Host will verify the CRC and store into flash
4. After transfer entire packet cloud send file hash
5. Hash is verify by host
In is this good idea? or give some suggestion please
Show LessGood morning.
I want to make an http request.
However, the default setting for this project is https.
If you change the port number, you are still sending https requests.
How do I request it via http?
I am a beginner.
Show LessHi,all:
Now I am using the module of SPIL (SB-WBM-N07P1 ) to do UART bridge(The Platform is CYW943907WAE3).
How can I get the actually number of the data when I use the wiced_uart_receive_bytes fucntion.If beyond the timeout time ,the number of data by UART sent less than the number of expected_data_size.
Show Less1.
I downloaded and installed WICED-Studio.
All options are set by default.
I have not inserted code.
However, as shown in the first figure, the following error occurs.
Please tell me the reason why the error occurred.
If it is not normal, please tell me how to do it.
2.
I read this tutorial.
I double-clicked "Run snip.scan.BCM943364WCD1 Download".
It has been marked as compiled successfully.
However, it will not work properly because it will turn red on the actual board.
When connecting with PUTTY, the following messages are not displayed to the end.
I did not enter the code.
help.
For reference, the SDK has been tested in all versions 5 and 6, but the symptoms are the same.
I'm sorry I can not speak English well.
Show LessThe implementation in ota_server_thread_main() for receiving packet data is buggy:
wiced_packet_get_data(temp_packet, 0, (uint8_t**)&request_string, &request_length, &available_data_length);
if ( request_length != available_data_length )
{
result = WICED_ERROR;
wiced_packet_delete(temp_packet);
goto disconnect;
}
1. It does not check the return value of wiced_packet_get_data() call
2. The way to handle request_length != available_data_length is wrong.
request_length != available_data_length does not means error but current code just delete the packet and disconnect the connection which is *wrong*.
So I'm not surprised that users will randomly hit disconnect error when upload data to the ota_server.
Show LessI did not modify any code.
I double-clicked "snip.httpbin_org-BCM943364WCD1 download downlad_apps run"
It compiled normally.
However, the above error message occurs.
How can I solve it?
My goal: I want to access a specific URL and receive Return value.
Show Less