cancel
Showing results for 
Search instead for 
Did you mean: 

Nx_Network_Basics_wifi example in STM32H573I-DK board

ZZY
Associate II

Hey! I want to test the functionalities of EMW3080 wifi module using the given example. When I run http command as shown in the readme file, it should download the example .bin file. Where can I find the file's location? I looked into the http_file_download function and it seems to only store the file in a local varible called p_buffer and calls tx_byte release(p_buffer) when exits the function. There seems no action to store it in the flash or somewhere? Thanks!

 https://github.com/STMicroelectronics/STM32CubeH5/tree/66f1a02802658fd01a404e770252b5ffc63986dd/Projects/STM32H573I-DK/Applications/NetXDuo/Nx_Network_Basics_wifi 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
Pavel A.
Evangelist III

It depends. If you know how to move an array in memory to external or internal flash, or SD card, or other storage then you can. Else you cannot))  Also, IIRC these external wi-fi devices have their own internal flash (not sure about the EMW3080 on that board) and can download a file from internet to their internal memory without interference of the host; using some other commands (not via the sockets API). Then the host can read that file.

View solution in original post

3 REPLIES 3

So there's no way that I can get the downloaded file?

Pavel A.
Evangelist III

It depends. If you know how to move an array in memory to external or internal flash, or SD card, or other storage then you can. Else you cannot))  Also, IIRC these external wi-fi devices have their own internal flash (not sure about the EMW3080 on that board) and can download a file from internet to their internal memory without interference of the host; using some other commands (not via the sockets API). Then the host can read that file.