Storing files on Fastrack supreme


#1

Hi,

I don’t know if this is the right place for this question, but i’ll try.
I want to send a .jpg image to a FTP server via Wavecom Fastrack Supreme 10. I’ve been through the WIP_Open_AT_IP_Connectivity_Development_Guide, and through the ftp put example in M2M studio, and i couldn’t find what i’m looking for. Is it even possible to store an image onto the module? And if so, how can one download a file onto it? hyper terminal? maybe?
and while i’m asking, how do i send the file that has been stored somewhere inside a memory? i suppose i can’t use the wip_write()?? :slight_smile:

thanks for all the help


#2

Hiya,

FTP and wip_write will probably be your friends here.

BUT

Stop thinking about storing files on any of the Wavecom products. There is no File System on these modems - there is just a (largish) area of FLASH memory that can be used to store data. It’s up to the application designer/programmer to handle HOW the data is stored in FLASH. There are NO equivalents of fopen(), fread() etc that manage files as are found on other operating systems.

So yes, you can store an image (or any other data) on the Wavecom modems - but it’s up to you to figure out how the data is formatted. The modem doesn’t care - all data is eventually treated as unsigned char (U8) bytes.

Of course, if you want to write a file system to map over the FLASH in the Wavecom modems, I’m sure that there would be a number of people interested in using it…

Hope this helps.

ciao, Dave