GPRS.ini
This ini file is designed to make the RFgen mobile client dial a connection so that data can be sent or retrieved to the server while in a disconnected state. This file is not intended to establish a connection for a thin client connection. If a General Packet Radio Service (GPRS) connection is desired for a thin client connection simply establish it first, then any VPN connections if required and then launch the RFgen thin client.
In a typical implementation Server.Connect and Server.Disconnect are used both at the beginning of the process, to retrieve validation data, and at the end to submit collected data. When the connect command is executed the mobile client checks the phonebook setting in the RFgenCFG.exe program and uses either WiFi or GPRS to make the connection. If GPRS is selected the ini file tells RFgen what settings to use. If RFgen needs to establish the VPN connection as well then those settings can be documented as well.
Note that the GPRS and VPN connections must first be setup in the CE environment and RFgen simply references and starts those connections.
Using any desired method, create and deploy a file called GPRS.ini to the install directory (by default: \Program Files\RFgenCE). It contains the following settings:
[GPRS]
Enabled=True
Name=GPRS
User=
Pwd=
[VPN]
Enabled=True
Name=My Work Network
User=
Pwd=
The Enabled parameter just tells RFgen if it should make that connection.
The Name parameter is the name used in the setup of the connection in the operating system’s configuration.
The User and Pwd fields, if needed, are stored in the ini file as well.