Search DominoPower's 11,433 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.
Notes direct serial communications to Palm devices (continued)

Because the number is sent last, I used something easy to find for when I wrote my Palm device program later. Run the program and when "?" appears, Notes will be waiting for one of the connection strings. If you enter 66 [enter] (a top-right to bottom-left slash on a Palm device) then the "?" will disappear, "CONNECT" will appear briefly and then you should see something like Figure B.

FIGURE B

Test output from Notes on the Pilot VT100 program.

Getting USER.ID from the Palm device
Now that I was certain I could establish a link with Notes I moved on to the problem of retrieving my USER.ID. The LotusScript side is listed in the example database and expands upon the simpler agent but I couldn't find what I wanted on the Internet for the Palm device side. Some programming was going to be needed and after looking around at the possibilities I decided to use "Waba", a Java subset. Even though Waba is still in beta, I found it to be the best answer for the following reasons:

  • It's free, it's simple, and there are plenty of examples;

  • The Waba SDK allows you to develop your application in conjunction with pretty much any Java development Kit (I used JDK 1.1.5);

  • The resulting programs work anywhere there is a Waba Virtual Machine, which includes Palm devices and Windows CE machines (plus of course the desktop);

  • It's a subset of Java so I could build on existing Java knowledge rather than having to learn another language just for the Palm device. That in itself is a plus since Notes itself is increasingly Java-friendly;

  • I could compile my ID into the program itself as a resource record rather than have to use a separate database; which gave me a small measure of security.

The Waba development details of the NotesId program on the Palm device are the subject of a separate article I intend to eventually write. Basically though, the NotesId program with the USER.ID compiled into it is loaded on the Palm device in the usual way with the Install tool. To recover the USER.ID, the Notes LotusScript agent and the Palm device program are run at the same time and the following "conversation" takes place between them along the serial link:

  • Palm device: Finds the "USER.ID" record in its resources and gets the size;

  • Palm device: Opens the serial port at 19,200 BPS and starts waiting for the trailing "?" from Notes;

  • Notes: Starts the agent and asks if Palm device is on and waiting;

  • Notes: Runs Netlink function call, sending the preamble and "?" as the phone number;

  • Palm device: Finds the "?" and answers back with CONNECT or 66;

  • Palm device: Waits for ANSWER handshake back from Notes; link is now established;


« Previous  ·  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 (84 articles)
   A walk down Memory Lane with Lotus Notes
   An application for scanning physical mail and distributing it virtually
   Managing Notes deployments with Teamstudio Build Manager
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 (48 articles)
   An application for scanning physical mail and distributing it virtually
   How hide-whens in Rich Text can ruin your whole day (and what to do about it)
   Little known traps about Lotus Notes fields
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
Application development, William Shatner, and the origin of the universe
Learn Domino Designer 8.5 for free
The (near) future of Sametime, Quickr, Connections, and Symphony
Inside the IBM Innovations lab
Lotusphere 2010: Hot fixes and cool news for Notes, Domino, and LotusLive
Lotusphere 2010: mobility and collaboration
2010: A Lotusphere of change
Latest Lotus Headlines
Remember Young Admins...there are 2 files
WebSphere Portal 6.1.0.2 and Lotus Domino 8.5
The CKEditor - with Domino
How not to crash in LotusScript
IBM Lotus to Google Apps Migration Remorse
Webcast Series: Mobile Collaboration with Lotus Software
Domino Login Control for Mobile Apps
>> Read all the news
More from the ZATZ journals
Computing Unplugged: The iPad defenders have spoken
David Gewirtz Online: CNN commentary and analysis
OutlookPower: More about disappearing text
-- Advertisement --

Learn Notes and Domino 8 at your place and pace!
Learn Notes and Domino in your office and/or home! TLCC's highly acclaimed distance learning courses for users, developers, and admins will enhance your career and your resume.

The many included activities and demos will make you a pro! Expert instructor help is a click away.

Click here to try a FREE demo course!!

-- Advertisement --

Mark your calendar for in-depth Lotus training, May 12-14, Boston
Join experts and peers May 12-14 in Boston for educational and networking events that deliver real-world Lotus training so you can increase productivity and efficiency in your company, advance your skills, and squeeze the most from your current environment. One registration gets you into THE VIEW's Admin2010 and Lotus Developer2010.

Register by April 10 to save $200.
ZATZ Home  ·  News  ·  Back Issues  ·  Credits/Trademarks ·  Link To Us
Copyright © 1998-2010, ZATZ Publishing. All rights reserved worldwide.
Editor's Login