Configuring the BlackBerry JDE to work with the BlackBerry ...



Configuring the BlackBerry JDE to work with the BlackBerry Desktop Manager

Darren Suprina

Innovative Systems Design, Edison, NJ

May 1, 2003

Abstract:

This paper describes how to configure the BlackBerry JDE (Java Development Environment) built-in BlackBerry Emulator to interoperate with the BlackBerry Desktop Manager. For the sake of brevity, the components will be henceforth referred to as follows: JDE, Emulator, BDM (BlackBerry Desktop Manager), and BES (BlackBerry Enterprise Server).

Table of Contents

1. Hardware Setup

2. Software Setup

3. Environment Use

4. Observed Limitations

5. Troubleshooting

6. Miscellaneous

1. Hardware Setup

Note: A VMware was used to “simulate” an actual system. This was done so as to prevent any “bad behavior” on the part of the Emulator or the BDE from corrupting an actual system. Additionally, a VMware virtual machine can be cloned by simply copying the directory used to contain it, making the checkpointing of stable environments a simple task.

Created VMware virtual machine (VM) running Microsoft Windows 2000 Pro (fully updated). VM Configuration:

• Memory: 368 MB

• USB Controller: Present

• Serial Port (COM1): Using port COM1

Disable device emulations which are not needed. This step is required so as to reduce the resource footprint of the VM so that the desired COM port 1 will find sufficient resources to be enabled.

Remove ports 6, 5, 4, and 3, in that order.

Configure COM1 for 9600 BAUD.

Attach a null-modem (male-to-male) cable between the BAFO device and the host system’s serial port.

Insert a BAFO USB-to-Serial-Adapter device into the host system’s USB port.

The device will be recognized as a plug-and-play device. Follow the instructions to load the driver software of the device (which is provided by the manufacturer on a CDROM).

Configure for COM7 port operation, 9600 BAUD.

Check the menu of the VM to insure that that the following device mappings between the VM and the guest system are enabled:

• Serial0 ( COM1

• USB Port 1 ( Pacific Technologies USB device

Note: At this point both COM1 (of the VM and the physical machine) and COM7 (of the VM and physical machine) are defined and configured for 9600 BAUD operation.

The user can insure that the configuration of COM1 and COM7 are identical (BAUD rate, etc.)

Then Right-click on COM1 and COM7,

2. Software Setup

Install Microsoft Outlook (2000).

Reboot.

Launch Outlook and configure an email account.

Install the BlackBerry JDE.

Configure JDE’s launch of the Emulator to map the Emulator’s serial port to COM1. This is done by adding the string “/S1” (without the quotes) at the end of the Simulator launch command string:

Install the BDM.

Configure the BDM:

• Use COM7 and to support USB-to-Serial-Converter-Compatibility.

• Automatically start synchronization tasks upon system start.

• Configure the Redirector Settings:

o General:

Insure that the check box to Disable email redirection is NOT clicked.

o Advanced:

Override the Email address, if necessary.

Override the (Email) Profile Settings, if necessary.

• Configure the Intellisync settings:

(The connectivity between the Emulator and the BDM is as follows: )

( What Is Connected to Comment )

( USB COM7 DBM )

( Serial COM1 Emulator Command line param /S1 )

3. Environment Use

Boot the VM.

The BDM will launch automatically and NOT find the Emulator.

Kill the BDM.

Launch the JDE. Use the JDE to launch any program in the JDE. The Emulator will start. Note a java.exe command shell window will also start, as will a dialog box displaying the Radio Simulation. Both the command shell and Radio Simulation can be minimized.

(Select a program, such as Hello World, and click the “Go ” button)

Launch BDE and the Emulator should see each other and any synchronizations selected to occur upon launch should take place.

(Displayed on the Emulator: “Connected to Desktop”)

4. Observed Limitations

It does not seem to matter if the Emulator is configured (via the menu) to be in the cradle or not.

Note: The Emulator will continue to report that it is synchronizing with the BDM until the BDM is terminated.

Note: Outlook Calendar and Contacts appear to replicate. Email does NOT replicate.

Note: It does not appear possible to download BlackBerry applications (ali files) via the BDM to the Emulator. The difficulty appears to be the Emulator.

Note: While there is connectivity between the (virtualized) serial port of the Emulator and the BDM, there is no apparent alternative path for wireless communications. Therefore, while a BES may obtain the Emulator’s PIN (all Emulators have the PIN of 0x200000A) from Active Directory, which it got from Exchange, which it got from the BDM, which it got from the Emulator, there is no radio contact, and thus no way to register the Emulator as a “real” BlackBerry. Thus, no Emulator (( BES interoperability is possible.

Rebooting the environment appears to cause the loss of records synchronized between the Emulator and Outlook.

5. Troubleshooting

• COM7 not found

When VM starts, it may tag USB Port 1 to be disconnected. It is via this virtual USB port that the “Pacific Technology USB Device” (the BAFO USB to Serial Adapter) is accessed.

Insure that USB Port 1 is mapped to “Pacific Technology USB Device”.

If the BDM is running, kill it and restart it.

• DBM reports it is “Disabled” –

See troubleshooting entry “COM7 not found”.

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download