Email:   
Home
In This Issue
EasyPrint
Click here for the RSS feed's XML code. This is not a browser URL.
HARD-CORE NOTES PROGRAMMING
Notes direct serial communications to Palm devices
By Mark Lawson

This article is about using LotusScript to run the Notes native communications layer and in particular the largely unused Serial Driver. Why? Well, in my case it was so I could walk up to any Notes Client, plug in my PalmPilot and download my USER.ID thereby replacing the floppy I use for that purpose.

Direct serial communications avoided having to have the Palm software/HotSync/conduit system installed and, in theory, works anywhere that Notes works. This technology also opens up some interesting possibilities I haven't had a chance to look at yet -- such as data gathering, security applications and generally talking to other serial devices (i.e., A/D converters, bar-code/magnetic strip scanners and terminals -- Linux anyone?)

This article describes how to set up such a direct link with my Palm device/USER.ID system as an example. To accompany this I've created an example database with all the code and declarations listed. The address for this and other resources are at the end of the article.

Setting up a Notes test system
Before you can use any of the information in this article, you must enable the appropriate PC COM port (I've assumed COM1) by selecting Tools->User Preferences->Ports from the File menu, and have it enabled in your current Location document. For a Direct Connection, select the "Null Modem" modem type in Additional Setup, as shown in Figure A

FIGURE A

For a Direct Connection, select the "Null Modem" modem type in Additional Setup. Click picture for a larger image.

Getting ready to test
You might also find it useful to download some tools to make sure you can see all the data, including control characters going across the port. I found a little Windows application called Portmon that seemed to do the job. You'll need a test environment, consisting of Notes Client 4.x a serial cable and some sort of Palm device. Mine consisted of Notes 4.63 Client and my PalmPilot IIIx in its cradle with a freeware terminal program called Pilot VT100 installed on it. If you have the Palm Desktop software installed, then you will have to close the HotSync Manager to use the port.

For different hardware systems, you might need to modify the initial Notes settings to work with your hardware; the Pilot VT100 software only runs up to 19,200 BPS, and you saw, back in Figure A, that I set that as the maximum port speed in Notes. You might need to close Notes and restart it before it takes notice of new settings.





[ Next ]

ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
-- Advertisement --

AUTOMATE LOTUS NOTES USER ID MANAGEMENT
ID Manager 4.5 from HELP Software provides a new level of automaton for managing Lotus Notes IDs. ID Manager lets Lotus Notes administrators get out of the business of creating and managing user IDs. Use our ROI calculator to see how quickly ID Manager will pay for itself.

Learn more about HELP Software products
-- Advertisement --

The Ultimate Notes Domino Training Experience - Amsterdam, 11-13 November
Get in-depth technical training that you can put to use on the job right away at THE VIEW's Admin2008 and Lotus Developer2008 Europe! One registration gets you into your choice of over 70 new and updated expert know-how sessions, one-on-one consultations, hands-on labs, and more.

See complete agendas and register by 10 October to save 495 euros!
Copyright © 1998-2008, ZATZ Publishing. All rights reserved worldwide.
Editor's Login