Syntax
int attachGPRS(
    const char * apn, 
    const char * username, 
    const char * password
);
ContentsIndex
PreviousUpNext
LGPRSClass::attachGPRS Method (char *, char *, char *)
LGPRSClass Class
Syntax
int attachGPRS(
    const char * apn, 
    const char * username, 
    const char * password
);
Description

Sets up the Access Point Name (APN) used to connect to a GPRS network using data provided by your telecom operator.

Parameters
Parameters 
Description 
const char * apn 
The char string, Access Point Name (APN) provided by the telecom operator.
 
const char * username 
The char string, username provided by the telecom operator. Pass NULL if the telecom operator does not provide the username information.
 
const char * password 
The char string, password provided by the telecom operator. Pass NULL if the telecom operator does not provide the password information.

RETURN
1: APN setup succeeded.
0: APN setup failed. 
File

LGPRS.h

Class