Search DominoPower's 10,675 Lotus-related article archive 
Home
EasyPrint
News details Click here for the RSS feed's XML code. This is not a browser URL.
Articles-only Click here for the RSS feed's XML code. This is not a browser URL.
Twitter Feed Click here for the Twitter feed.
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. Roll over 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.


1  ·  2  ·  3  ·  4  ·  Next »
Other articles you might like
Home > Mobile Technology > Palm OS (11 articles)
   Synchronizing Notes with Palm handhelds with Pylon 5.2
   Integrate Notes with Palm's new Tungsten T
   Top 10 support questions answered for Pylon products
Home > Lotus Technologies > Notes (78 articles)
   When the debugger won't debug hidden code that isn't hidden
   What to do if the LotusScript debugger won't single-step over code
   Troubleshooting an OpenSuse Notes install
Home > Lotus Technologies > LotusScript (64 articles)
   When the debugger won't debug hidden code that isn't hidden
   What to do if the LotusScript debugger won't single-step over code
   Little known traps about Lotus Notes fields
Home > Lotus Technologies > Application Development (47 articles)
   How hide-whens in Rich Text can ruin your whole day (and what to do about it)
   Little known traps about Lotus Notes fields
   Integrating a Notes Connector database with Google Enterprise Search
Get Weekly Email Updates
Subscribe to our regular weekly email newsletter. It's packed with tips, reviews, deep analysis, and the latest news.
 
Recent DominoPower Articles
What to look for in a Domino-based document management solution
Understanding Domino.doc end-of-life options
When the debugger won't debug hidden code that isn't hidden
What to do if the LotusScript debugger won't single-step over code
Top 10 ways to launch and build a Lotus consulting practice (with a little help from the Beatles)
Troubleshooting an OpenSuse Notes install
Incident report: denial of service attack against ConnectedPhotographer.com
Latest Lotus Headlines
SnTT - Enabling ALL the bells and whistles!
Tivoli Data protection causes Domino to crash
Fun when running DB2 CLP scripts
Introducing Flippr, the easy way to admin Quickr
DXL and fake security
Using search forms in IBM Workplace Collaborative Learning 2.7
Schmidt, Freed, and Gering on the OVF Toolkit
>> Read all the news
More from the ZATZ journals
Computing Unplugged: Eight steps to successful and reliable home backups
David Gewirtz Online: CNN commentary and analysis
OutlookPower: Can Outlook run when it's not running (and other mysteries)?
-- 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 --

Sophisticated Meets Simple For Document Management
Share. Control. Manage.
Documents, emails, and content in the context of how work is done. Native to Lotus Domino. The User Experience unseen for Lotus Domino. Do more with less. Really.

See the possibilities Docova unleashes for Lotus Domino.
ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
Copyright © 1998-2009, ZATZ Publishing. All rights reserved worldwide.
Editor's Login