CipherLab 9400 Series User Manual page 182

Hide thumbs Also See for 9400 Series:
Table of Contents

Advertisement

9400 .NET Programming
SetGPRSConnStatus
Purpose
To set GPRS connection.
Syntax
int SetBTConnStatus (int onOff,
Parameters
onOff
[in] Integer variable
entryName
[in] A string variable that stores the entry name. If passing NULL or "", it uses
"GPRS" as a default value.
phoneNumber
[in] A string variable that stores the phone number to dial. This parameter is
ignored and should be set to NULL.
username
[in] A string variable that stores the user name. If passing NULL or "", it uses
"" as a default value.
userPassword
[in] A string variable that stores the password. If passing NULL or "", it uses ""
as a default value.
apName
[in] A string variable that stores the GPRS access point name. If passing NULL
or "", it uses "INTERNET" as a default value.
callbackNumber
[in] A string variable that stores the phone number to call back. This parameter
is ignored and should be set to NULL.
domainName
[in] A string variable that stores the domain name. If passing NULL or "", it
uses "" as a default value.
Example for C#
int b1 = 0;
b1 = Cipherlab.SystemAPI.Member.SetGPRSConnStatus(1, "GPRS", "", "",
"", "", "", "");
Example for VB
Cipherlab.SystemAPI.Member.SetGPRSConnStatus(1, "GPRS", "", "", "",
"", "", "")
174
Guide
0
Disconnect
1
Connect to GPRS network
string entryName,
string phoneNumber,
string userName,
string userPassword,
string apName,
string callbackNumber,
string domainName);

Advertisement

Table of Contents
loading

Table of Contents