User's Manual
CHAPTER FIVE - CONECTIVITY
92
connected your PL3000, you can use ‘Internet Explorer’ for testing the just
established GPRS connection. A double-tap on the ‘Internet Explorer’ icon on the
desktop of the Windows CE shell opens the browser on the display.
BLUETOOTH
By default the Bluetooth radio is turned off on your
PL3000. When you turn on the radio, other Bluetooth
devices can discover your PL3000. However, your
device does not publish any service by default, so it cannot be connected to
through the Bluetooth. In fact, quite probable use for Bluetooth connectivity on your
PL3000 is to connect it to another device that provides some service for the
program running on your PL3000.
If Bluetooth is used as a part of communication aid in the Windows CE
application, the easiest way to build the required functionality is to build it on
Bluetooth’s RFCOMM communication, of course depending on the required
functionality. On the PL3000, ActiveSync is that kind of application that works out
of the box above Bluetooth’s RFCOMM protocol layer, assuming that you have
assigned RFCOMM to some virtual serial port (COM port) for ActiveSync in the
‘Bluetooth Device Properties’ applet.
Hint: Windows CE has two application programming mechanisms to use
Bluetooth connectivity above RFCOMM protocol: Winsock API and virtual
serial ports API. The preferred method is to use Winsock API to access
Bluetooth stack for the simple reason that the socket interface is well
known abstraction of the programming interface above transport protocol
layer. Furthermore, the Winsock version 2.2 on the PL3000 offers some
easiness for Bluetooth stack configuration through the ‘setsockopt’ and
‘getsockopt’ calls.
Turning on/off Bluetooth Radio
The first step to bring Bluetooth into service on the PL3000 is to turn on its
radio. In the similar way you can shut down the Bluetooth.
Before you begin, open the ‘Bluetooth Device Properties’ control panel
applet (see the section ‘Control Panel’ on page 30).
To turn on the Bluetooth radio:
1. Tap on the ‘Hardware‘ tab to open the page where you can switch on the
radio
2. Tap on the ’Turn ON Bluetooth’ button to switch on the radio; you may
wait a moment before the radio and the Bluetooth stack are up and
running. When the radio is on, the button text is changed to ‘Turn OFF