Greetings, Thank you for that information. But, I am not clear as to how to initiate an connection to,?and or the ability to exchange data to and from the SD Card which is installed into the NanoVna_H4?which I have. I did not notice any change of the device screen indicating a connection was now possible.?Also, I didn't notice any fields located in NanoVNA-saver application on my windows 10 PC. Must I install,?or re-install device firmware in order to affect the change that I have made by accessing the card slot.?Thank You
toggle quoted message
Show quoted text
On Thursday, December 9, 2021, 10:59:54 AM EST, DiSlord <dislordlive@...> wrote:
My NanoVNA? H/H4 fw support commands for SD card access, so some one can write software for work.
sd_list {pattern}
sd_read {filename}
sd_delete {filename}
Commands:
sd_list {pattern}
example get all files list
sd_list
or
sd_list *.*
Read s1p list
sd_list *.s1p
Read bmp list
sd_list *.bmp
Read s1p and s2p list
sd_list *.s?p
Read *.bin list
sd_list *.bin
Log {filename} {size}
18.238 rx: ch>
18.241 tx: sd_list *.bmp
18.243 rx: sd_list *.bmp
18.246 rx: sd_list:
18.250 rx: VNA_000004.bmp 153670
18.253 rx: VNA_00000C.bmp 153670
18.256 rx: VNA_210721_210606.bmp 307270
18.258 rx: VNA_000077.bmp 153670
18.261 rx: VNA_000114_212649.bmp 307322
18.300 rx: VNA_000119_233142.bmp 307322
18.303 rx: VNA_000119_233204.bmp 307322
18.306 rx: VNA_000119_233223.bmp 307322
18.309 rx: VNA_000122_082125.bmp 307322
18.312 rx: VNA_000129_085002.bmp 307322
18.315 rx: VNA_000129_085132.bmp 307322
18.318 rx: VNA_000129_085345.bmp 307322
18.321 rx: VNA_000129_085607.bmp 307322
18.323 rx: VNA_000129_091616.bmp 307322
18.326 rx: VNA_000129_091818.bmp 307322
18.361 rx: VNA_000301_213820.bmp 307322
18.364 rx: VNA_201129_081345.bmp 307322
18.368 rx: VNA_201129_081351.bmp 307322
18.371 rx: VNA_201129_081357.bmp 307322
18.374 rx: ch>
For read file need
sd_read {filename}
After nano return binary file data
or on error
"err: no file\r\n"
Delete file:
sd_delete {filename}
After nano delete it from SD card:
Output
shell_printf("delete: %s %s\r\n", filename, res == FR_OK ? "OK" : "err");