Pocket PC Operation

(Performed on WEA R4.30)

Hard Reset Pocket PC
Microsoft Activesync Software Installation
Pocket PC Client Software Installation
Connecting To Al Gores Internet
Pocket PC DB2 SQL Operation
Logging DB2e Operations
Operating the Pocket PC
Network Connectivity via ActiveSync

The exact behaviour of your installation might vary somewhat from what is described in this page, but in general, it should work.
 
 

Hard Reset Pocket PC

Note: To turn on Pocket PC 2002 (PPC), press the button on the front top right.

1) First assure no one has anything useful on the device, then perform a hard reset (the hard reset is performed differently on different PPC's, for example, for the Compaq iPAQ Pocket PC, remove the device from the cradle and battery pack, hold down two bottom buttons on front of the device next to the edge while pressing the recessed button on bottom edge with wand. The display will go off. Then press the recessed button on the bottom edge with the wand.  OR, when you press these three buttons, the display will not go completely off and a reset will occur)

2) As instructed, tap screen to set up Pocket PC. You will be instructed to tap it on 5 places, then to perform a "cut and paste" operation, then tap "Next".

3) As instructed, select the time zone ("Eastern"), then tap "Next".

4) In the "Complete" and "Expand" windows, tap the screen to continue.

(Note: these devices are not incredibly stable. You might perform the following and it work. You might need to do a "soft reset" occasionally and things magically start working. Soft reset is done by using the wand to press the small recessed button on the bottom right edge using the wand.)
 
 

Microsoft Activesync Software Installation

1) From "zeitouni5.raleigh.ibm.com", in the directory "PPCutilities", doubleclick the "msasync.exe" (or alternatively "MSASYNC3.7.1.exe") icon/file.

2) In the "Microsoft Activesync" Setup window, click "Next".

3) In the "Select Installation Folder, click "Next".

4) Connect the Pocket PC to your computer via the USB cable (DO NOT connect your Pocket PC with anything BUT the USB cable. Connecting with the serial port will cause you to come talk to Steve), then in the "Get Connected" panel, click "Next .

5) Your computer should then recognize the Pocket PC and load the appropriate driver, this will be reflected in a dialog box.

6)  You might need to disconnect your Pocket PC from the dock, or even reset it (press the button on the bottom right edge), then replace in dock.

7a) For "msasync.exe":  In the "New Partnership" "Set Up a Partnership" panel, select "Guest Partnership", then click "Next". (note, from now on, when you connect the Pocket PC to your PC this same procedure will occur). Go to step 10.

7b) For "MSASYNC3.7.1.exe":  In the "New Partnership" "Set Up a Partnership" panel, select "Yes"  "Set up a partnership so that I can synchronize information between my device and this computer", then click "Next". (note, from now on, when you connect the Pocket PC to your PC this same procedure will occur).

8) In the "Select Synchronization Settings", unselect all items, then click "Next".

9) In the "Setup Complete" panel, click "Finish".

10) After several seconds the "Microsoft Activesync" window should reflect "Connected". Minimize this window.
 
 

Pocket PC Client Software Installation

1) From CD 7, change directories to the CD directory "\client\PPC2002", and double-click the "setup.exe" program.

2) In the "Choose Setup Language" panel, click "English" (or the language of your choice), then click "OK".

3) In the "Everyplace Client for Pocket PC" dialog box, "Welcome" panel, click "Next".

4) In the "License Agreement" panel, click "Yes".

5) In the "Choose Destination Location" panel, accept the default and click "Next".

6) In the "Select Components" panel, accept the selected defaults but also include "Lotus Mobile Notes", "DB2 Everyplace Sample Applications", and  "WebSphere Micro Enviroment (Preview)" (WEAR4.21), "Sametime Connect" (WEA430), "Service Oriented Runtime (Preview)" (WEA430), and "Server Initiated Action (only Phone Edition)" (WEA430), (then click "Next".

7) In the "Start Copying Files" panel, the Components selected should include "Lotus Mobile Notes", "PIM and Email Synchronization", "DB2 Everyplace", "Offline Portal Browsing", "IBM Device Agent", "Offline Portal Forms', and "WebSphere Micro Enviroment (Preview)" (WEAR4.21), "Service Oriented Runtime (Preview)" (WEA430), and "Server Initiated Action (only Phone Edition)" (WEA430), then click "Next".

8) You will be queried by a "Installing Applications" popup if you wish to "Install "Sync Client" and other pending installations using the default application install directory", click "Yes".

9) After several seconds an "Application Downloading Complete" popup appears, reflecting you should "Please check your mobile device screen to see if additional steps are necessary to complete this installation". At the Pocket PC, the "Sync Client" should be running, requesting:

    (WEA4.21) your e-mail information. Enter your Name and Email address in the appropriate fields. (i.e. "Steve Hayden", and "shayden@us.ibm.com"), then tap "OK" in the upper right corner of your Pocket PC,

OR

    (WEA4.30) in the "User ID", "Password", and "Confirm Password" fields enter your Portal information (i.e. "db2euser1", from step 5 of the section above Create DB2e Group and Users), then tap the "Enter" key on the PPC keyboard. The PPC should reflect that downloading is occurring. In the next panel on the PPC, enter your name and email address (i.e. "Steve Hayden", and "shayden@us.ibm.com"), then tap the "Enter" key on the PPC keyboard. (the preceding operations might be reversed).

10) Click "OK" on the "Application Downloading Complete" pop-up on your PC.

11) In the "Everyplace Client for Pocket PC" dialog box, "InstallShield Wizard Complete" panel, click "Finish".

12) Disconnect the USB or seriral port cable from your Pocket PC to your PC.(note: you should hear an descending tone on both devices when disconnection occurs).
 
 

Connecting To Al Gores Internet

Perform one of the following ("Using Bluetooth Connection" or "Using LAN Connection"(to be added by Steve when he gets good and ready!)) to enable connectivity to the network

Using Bluetooth Connection

The following was performed on a Pocket PC 2002. You might need to tap somewhere on the screen to continue.

1)  Tap the icon in the lower right corner, and in the resulting expansion, select "Turn Radio On".

2)  Tap the icon in the lower right corner, and in the resulting expansion, select "Bluetooth Manager".

(Note, the following 4 steps should only need to be executed once for the device unless it is reset or powered off)

3)  In the "Bluetooth Manager" question to search for devices, tap "Yes".

4)  When the search is complete, select "PicoBlueLab1", and tap "Save".

5)  In the "Save the devices to following groups", select all options ("Home" and "Work") and tap "OK".

6) In the upper right corner, tap "OK", then in the "Bluetooth Manager" panel, tap the "X" in the upper right corner.

7) In the lower right corner, tap the icon and select "Bluetooth Manager".

8) Select "PicoBlueLab1", and in the lower left corner tap "Actions" and tap "Connect to LAN access using PPP".

9) A "Connecting" popup will appear and eventually hide.

10) In the upper right corner, tap "OK".

11) In the upper right corner, tap the "X" to exit Bluetooth Manager.

12) In the upper left corner, tap the Window icon and select "Internet Explorer".

13) In the lower left corner, tap "View" and select "Address Bar"

14) Click on the keyboard icon in the lower right corner and fill in a URL to test connectivity to internet, then click the green circular arrow in the upper right corner of IE. If your URL downloads successfully, you have successfully connected to Bluetooth and to Al Gore's internet.

15) If you get a "Trouble Connecting"  popup, you need to perform additional configuration. Tap the "Settings" button.

16) For the three choice settings, the first and second should be "Internet Settings", and the third should be "The Internet", then tap "OK" in the upper right corner. Perform step 14 again and surf.
 
 

Pocket PC DB2 SQL Operation

Note: You can only have one PPC application connected to the PPC DB2 database. If you have the DB2e Command :Line Processor (CLP) running and you try to synchronize your device database, it will probably fail.

1)  On the Pocket PC, tap "Start", "Programs", and then tap the "Db2 Everyplace Sample" icon.

2) In the "DB2 Everyplace Sample" panel, tap the "Db2eclp" icon.

3) In the top entry field of the "DB2 Everyplace CLP" panel, enter sql statements, then tap "Execute" to perform the SQL statement (i.e "list tables", "select * from vncontact", etc.).  Note: you might need to "connect" to the database (i.e. "connect to \Program Files\iSync\") to be able to work with a DB's tables.

4) To drop a table, simply type "drop table yourtablename" (where "thetablename" is the name of the table you wish to drop) and tap the "Execute" button.

5) To list contents of a table, simply type "select * from thetablename" (where "thetablename" is the name of the table you wish to view), and tap the "Execute" button.
 
 

To insert a row (an example)

1)  From the "DB2 Everyplace CLP" panel,   "INSERT INTO VNCONTACT (PATIENTID, CONTACTID, RELATIONSHIP) VALUES ('909090909', '999900000', 'BUBBA'). and tap "Execute".

2) Syncronize again, go to your AIX machine, and from the command prompt log in as your DB2 instance user.

3) Connect to your nurse database (i.e. "db2 connect to vnurse").

4) From the DB2 command prompt type "db2" to enter the DB2 command mode.

5) At the DB2 command prompt type "select * from dsysample.vncontact", which will list all the rows in this database. Your newly added row should appear at the end. Congrats on syncing.


Logging DB2e Operations

1) Switch users to the "db2inst1" user (i.e. "su - db2inst1", password = "ibmdb2").

2) Change directories to "/home/db2inst1/db2everyplace81/Server/bin" and execute the command "dsytrace.sh 1" to turn on DB2e logging (or "dsytrace.sh 0" to turn it off"). Trace logging goes to "/home/db2inst1/db2everyplace81/Server/logs", filename(s) "dsys.*.trace", where "*" = 1-9.

3) Stop the "DB2 Everyplace Application Server" in the WAS console, then restart it.

4) From the MDAC, reset the user, then attempt synchronization.
 
 

Operating the Pocket PC
 

Running Programs

Programs are run by tapping the Window icon in the upper left corner of your display, and selecting the application you wish to run, or, from the resulting pulldown choice, select "Programs", and tapping on one of them in the resulting display.

1) To determine what programs are running, tap Window icon, tap "Settings", and on the bottom tabs, tap "System".

2) In the Settings "System" view, tap "Memory".

3) In the Memory view, at the bottom tabs, tap "Running Programs".

4) The Running Programs List, your running programs will be displayed. You can select one of them, tap "Activate", and your program will be brought to the foreground.
 

Using the File Explorer

1) Tap the "Start" button in the upper right corner of the display.

2) Tap "Programs", and in the Programs panel tap "File Explorer".

3) Tapping any file will attempt to execute it.

4) Touching and holding will bring up a pull down menu with "Cut", "Copy", "Rename", "Delete", "Send via E-mail", and "Beam File..." function.
 
 
 

Changing Pocket PC Client Login ID/PW

This section assumes you already have installed the Everyplace Client on your PPC.

1) Tap the "Start" button in the upper right corner of the display.

2) Tap "Everyplace Client" , and in the Internet Explorer "Welcome" window, enter the ID/PW for your current ID and tap "Logon..

3) In the choices pulldown, select "My settings".

4) Tap the "Client and portal log in".

5) In the "Current password" field, enter your current ID's password.

6) In the "User ID" field, enter your new ID, and in the "New password" and "Confirm new password" fields, enter the appropriate value, then tap the check mark in the upper right of the portlet, then tap "OK" in the confirmation popup.

7) Git to werk!
 
 
 
 

Network Connectivity via ActiveSync

If your PPC does not have an etherenet, bluetooth, or wireless interface, your only alternative is to connect via ActiveSync. To connect via this method, your USB cable must be connected, and your device must be connected as a "Guest".

You must also configure your PPC to connect appropriately.

1) Tap the "Start" menu bar icon and then tap "Settings".

2) In the "Settings" panel, on the bottom tabs, tap "Connections".

3) Again in the "Settings" panel, tap "Connections".

4a) For " msasync.exe": In the three fields, set the top one for "Work Settings", the middle one for "Work Settings", and the bottom one to "Work", then tap "OK" in the upper right corner. Go to step 5.

4b) For "MSASYNC3.7.1.exe": In the three fields, set the top one for "Internet Settings", the middle one for "Internet Settings", and the bottom one to "Work", then tap "OK" in the upper right corner.

5) Back in the "Settings" panel, tap the "X" in the upper right corner.

You should now be able to connect to Al Gore's Internet with Internet Explorer or Everyplace Client.