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

FTP client structure. More...

#include <tsmart_cellular_2g.h>

Data Fields

uint8_t id_session
 
uint16_t remote_port
 
uint8_t * remote_ip
 
uint8_t * user
 
uint8_t * password
 
uint8_t file_type
 
uint8_t mode
 

Detailed Description

FTP client structure.

Examples:
cellular_2g_ftp_receive.c, and cellular_2g_ftp_send.c.

Field Documentation

uint8_t file_type

Data representation type of the files: ASCII(0) or Binary(1)

Examples:
cellular_2g_ftp_receive.c, and cellular_2g_ftp_send.c.
uint8_t id_session

Session identifier. Range: 1-8

Examples:
cellular_2g_ftp_receive.c, and cellular_2g_ftp_send.c.
uint8_t mode

FTP mode: Active(0) or pasive(1)

Examples:
cellular_2g_ftp_receive.c, and cellular_2g_ftp_send.c.
uint8_t* password

FTP password

Examples:
cellular_2g_ftp_receive.c, and cellular_2g_ftp_send.c.
uint8_t* remote_ip

Remote IP(i.e.: "178.210.25.32") or domine (www.tst-sistemas.es)

Examples:
cellular_2g_ftp_receive.c, and cellular_2g_ftp_send.c.
uint16_t remote_port

Remote FTP port. Range: 1-65535

Examples:
cellular_2g_ftp_receive.c, and cellular_2g_ftp_send.c.
uint8_t* user