API  2.2
TSmarT Software Library
 All Data Structures Functions Variables Typedefs Enumerations Enumerator Groups Pages
tsmart_cellular_2g_file_location_t Struct Reference

FTP File location structure. More...

#include <tsmart_cellular_2g.h>

Data Fields

tsmart_cellular_2g_location_t location
 
uint32_t ptr_store
 
uint32_t size
 

Detailed Description

FTP File location structure.

Examples:
cellular_2g_ftp_receive.c.

Field Documentation

Select location, it shall be:

  • TSMART_CELLULAR_2G_STM32FLASH - file will be stored in the internal flash of the microcontroller
  • TSMART_CELLULAR_2G_RAM - file will be sotre in RAM memory
Examples:
cellular_2g_ftp_receive.c.
uint32_t ptr_store

Base memory address to save data

Examples:
cellular_2g_ftp_receive.c.
uint32_t size

Size in bytes of the memory to save the received FTP file.

Note
: The size shall be a multiple of 2 Kbytes for the internal flash memory choice. If the size provided is not a multiple of 2 Kbytes, the TSmarT API will be rounded to the nearest multiple
Examples:
cellular_2g_ftp_receive.c.