ContentsIndex
PreviousUpNext
GPRS
Topics | Functions | Macros | Structs, Records, Enums | Types
Description

This API enables GPRS connections.

Introduction

This API allows you to configure GPRS connection. 

To hold a bearer token, use vm_gsm_gprs_hold_bearer; to release a bearer token, use vm_gsm_gprs_release_bearer. Please note that when the function is holding the bearer token, the token will be kept active until it is released explicitly, this helps to save time when it needs to establish the next socket connection. 

To configure the APN settings, use vm_gsm_gprs_set_customized_apn_info. You can also retrieve APN settings by calling vm_gsm_gprs_get_apn_info for different data account IDs, the data account ID is encoded by vm_bearer_get_data_account_id() according to the data account type.

Limitation

There are no known limitations for this API at this time.

Functions
Function 
Description 
This function retrieves the IP addresses associated with the specified host name. 
This function gets the APN information of the specified data_account_id. 
This function holds the bearer. 
This function release the bearer. 
This function sets customized APN information. 
This function switches GPRS on or off. 
Macros
Macro 
Description 
The DNS maximum address length 
Structs, Records, Enums
Struct, Record, Enum 
Description 
DNS result 
The DNS query result struct 
The APN information struct 
The handle type 
The proxy type 
Types
Type 
Description 
This is the callback function of vm_dns_get_host_by_name, it will be called if it doesn't get the DNS result immediately. 
The DNS handle 
Links
Created with a commercial version of Doc-O-Matic. In order to make this message disappear you need to register this software. If you have problems registering this software please contact us at support@toolsfactory.com.