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

Bearer configuration structure. More...

#include <tsmart_cellular_2g.h>

Data Fields

uint8_t * apn
uint8_t * login
uint8_t * password
uint16_t time_to_connect

Detailed Description

Field Documentation

uint16_t time_to_connect

Define a time limit to connect GPRS bearer.For example, value 300 for this option sets a wait time of 30s (300*100ms). Note: If timer expires before GPRS bearer connects, error 847 is returned. range: 300-1200 (default: 1200)

cellular_2g_ftp_receive.c, cellular_2g_ftp_send.c, cellular_2g_tcp_client.c, cellular_2g_tcp_server.c, mqtt_cellular_2g_publisher.c, and mqtt_cellular_2g_subscriber.c.