| Constructing a Linux-powered IrDA printing device |
Gerd Rausch (June 7, 2002)
The idea
Tired of filling out forms? Nobody can read your handwriting? Is your last name 'Rausch', and no one can spell it?
More and more people own a PDA these days, and most of these devices are equipped with an infrared port. Thanks to IrOBEX (PDF download), these devices can even talk to one another and exchange simple records like addresses or calendar entries. But when it comes to the world outside, the only transfer between those PDA's and a target system seems to be a keyboard, at best, and a form and a pencil, at worst.
People have gotten so used to filling in forms by hand, that nobody doubts that process anymore. So, people pull out their PDAs and copy the data from the screen onto a form. But what if you could simply beam the information required, directly from your PDA?
This idea began to dawn on me during a recent trip through Europe, as I noticed that my wife (who was my girlfriend back then) would often pull her Handspring Visor out of her pocket to look up some information, and then write it down onto some piece of paper by hand. This step seemed so unnecessary, that it started me wondering why there aren't any places (to my knowledge) that have installed IrDA transceivers to receive information from a PDA and process it. Wouldn't that be useful at hotels, rental-car agencies, mailing offices, etc. -- basically, places where names, addresses, and other such information are required?
At around the same time, we were wrestling with ideas of starting our own business. So I decided to try my hand at implementing a gadget that could receive and process messages from any IrDA/Obex talking device. And that is what gave birth to TxLogic.
TxLogic is a message-handling framework that supports different protocol end-points, one of them being IrOBEX. It allows turning a number of various message filters into one particular application setup.
The prototype
In order to create such a device, I had two main choices: design and build my own electronics, based on a system-on-chip processor or programmable logic device; or simply buy a ready-to-use small system and use it as a prototype. The latter option seemed more feasible, and was a better fit for my restricted budget.
While looking for a hardware box and software platform to put my application onto, the combination of a 3iNET Universal Interface Box (UIB) plus Linux seemed to be a good candidate. The prototype I built consists of the UiB running Linux-2.4. The UiB offers two control buttons and an LCD display for the user interaction part. The modem port is not used in this application. The IrDA interface I settled on is an off-the-shelf ActiSys IrDA transceiver (IR220L+) that connects to the UiB's only serial port.
The Linux implementation is basically a modified linux-2.4 kernel. The userspace programs mainly consist of a collection of Debian utilities. There aren't very many excess tools installed, since the UiB's Flash disk only has room for about 8MB total.
On top of this, I installed my own software, which I intend to keep proprietary since I hope to make a business out of this in the future. Everything on top of the kernel interface -- protocols, message parsing and handling, process scheduling, user Interaction -- is part of that software, which is what I call "TxLogic".
Trying it out
After a number of sleepless nights with lots of work, the prototype system (shown below) was ready for testing.

The TxLogic prototype setup
Finally, all I needed was a real-world location where a prototype of my idea could be tested. For that, I selected a Mailboxes Etc. office in Berkeley, CA.
The prototype application allows customers to beam their Sender Address record along with up to 3 recipient address records, and print them onto an official Mail Boxes Etc. mailing form. This test has proven Linux to be a reliable platform for the installation. An online product presentation video, which demonstrates the device's operation, is available here
Future applications
There are numerous applications for this idea. Possilities include: check-in at hotels, car-rental agencies, and airports; providing personal data at health-care providers' offices; calendar synchronization; list transfers; etc.
Basically, wherever a need exists to transfer information between a PDA and another computerized entity, a 'TxLogic device' could be useful.
 About the author: By day, Gerd Rausch works for Ericsson (the Swedish Telecom company) in Berkeley, CA. In his spare time, Rausch has developed free software, including the Linux device driver for sam9407-based soundcards. Rausch is originally from Germany, and came to California in July 2000, where he soon met his future wife.
(Click here for further information)
|
|
|
FUEL Database on MontaVista Linux
Whether building a mobile handset, a car navigation system, a package tracking device, or a home entertainment console, developers need capable software systems, including an operating system, development tools, and supporting libraries, to gain maximum benefit from their hardware platform and to meet aggressive time-to-market goals.
Breaking New Ground: The Evolution of Linux Clustering
With a platform comprising a complete Linux distribution, enhanced for clustering, and tailored for HPC, Penguin Computing¿s Scyld Software provides the building blocks for organizations from enterprises to workgroups to deploy, manage, and maintain Linux clusters, regardless of their size.
Data Monitoring with NightStar LX
Unlike ordinary debuggers, NightStar LX doesn¿t leave you stranded in the dark. It¿s more than just a debugger, it¿s a whole suite of integrated diagnostic tools designed for time-critical Linux applications to reduce test time, increase productivity and lower costs. You can debug, monitor, analyze and tune with minimal intrusion, so you see real execution behavior. And that¿s positively illuminating.
Virtualizing Service Provider Networks with Vyatta
This paper highlights Vyatta's unique ability to virtualize networking functions using Vyatta's secure routing software in service provider environments.
High Availability Messaging Solution Using AXIGEN, Heartbeat and DRBD
This white paper discusses a high-availability messaging solution relying on the AXIGEN Mail Server, Heartbeat and DRBD. Solution architecture and implementation, as well as benefits of using AXIGEN for this setup are all presented in detail.
Understanding the Financial Benefits of Open Source
Will open source pay off? Open source is becoming standard within enterprises, often because of cost savings. Find out how much of a financial impact it can have on your organization. Get this methodology and calculator now, compliments of JBoss.
Embedded Hardware and OS Technology Empower PC-Based Platforms
The modern embedded computer is the jack of all trades appearing in many forms.
Data Management for Real-Time Distributed Systems
This paper provides an overview of the network-centric computing model, data distribution services, and distributed data management. It then describes how the SkyBoard integration and synchronization service, coupled with an implementation of the OMG¿s Data Distribution Service (DDS) standard, can be used to create an efficient data distribution, storage, and retrieval system.
7 Advantages of D2D Backup
For decades, tape has been the backup medium of choice. But, now, disk-to-disk (D2D) backup is gaining in favor. Learn why you should make the move in this whitepaper.
|
|
|
|
|