
Chapter 19: Wireless Wide-Area Networking
Connecting to a VPN
211
Psion Mobile Devices Developers Guide
19.7.8 Connecting to a VPN
A VPN (Virtual Private Network) can be used to connect a WWAN modem to a corporate network. Some
third-party VPN clients work correctly only in conjunction with the Microsoft ASYNCMAC driver. In the
standard Mobile Devices SDK implementation of WWAN, ASYNCMAC is not used. Psion proprietary modules
complete the communication between NDIS and the WWAN modem.
When using a third-party VPN client, in the Wireless Manager applet WWAN configuration screen, select
Use virtual serial port. This gives access to ASYNCMAC through the virtual serial port. This is shown in the
following diagram:
19.8 Access Flags
The GUI Wireless Manager applet and the Mobile Devices SDK are able to read and set the same WWAN
settings. The access flags prevent conflicts between values manipulated by the Wireless Manager interface
and by the Mobile Devices SDK. Most of the WWAN settings can be queried through both access methods;
however, the following four activities can be carried out by both access methods, and should be carried out
by an SDK application only after setting the corresponding access flag:
• Set the network register state
• Set the PIN
• Set provisioned contexts
• Set suppress call notifications
The Mobile Devices SDK can set an access flag corresponding to each of these settings. While the access
flag is set, the Wireless Manager applet user interface cannot change the corresponding setting. While one
of these access flags is enabled, the application must handle everything associated with the associated
activity: The user interface is locked out until the access flag is disabled.
Set Register State Access Flag
When a GSM radio modem is roaming, there are two courses of action. The first option is that either the
user or the software application selects a network. The second option is that the radio automatically selects
a network. An application that explicitly selects a network must set this flag.
When the set register access flag is enabled, the user is prevented from selecting the network though the
GUI. The Too l s -> Network menu is not available in the Wireless Manager applet WWAN UI settings screen.
If this flag is set during driver initialization, and the startup registration mode for the modem is
WwanRegisterModeDeregister, then the user interface does not automatically select a network at
startup—this is the case for Workabout Pro expansion boards with Chi Mei modems. In this case, the
network must be explicitly selected through the user interface or via the application.
NDIS
ASYNCMAC
TAPI
Unimodem
WWAN driver Virtual serial port
Serial driver
WWAN modem
NDIS
ASYNCMAC
TAPI
Unimodem
WWAN driver Virtual serial port
Serial driver
WWAN modem
Comentarios a estos manuales