Search engine text can go here  Home > Support > Development
Your Logo Here
 Products Store Support About Us
  

Download
Development

Development

Welcome to the DigiSwipe support section.  Here there are links to writing applications which use the Com port for various Microsoft Windows environments.  If new to serial communications, then it is strongly suggested to purchase Visual Basic Programmer's Guide to Serial Communications, 4th Edition - It can be purchased from the publisher at  www.mabry.com and contains great source code material. We use the CFSerialIO component written by the author of this book for PocketPC 2002 & 2003 environments. 

Accessing Serial Ports from the .NET
Links to good articles/sample code

Serial Ports in Visual Studio 2008 .NET 3.5 (Windows Mobile 6)

SmartDevice SerialPort CardSwipe Code Example
Nice example from Lanse Larsen which takes advantage of the SerialPort class in .NET (present in .NET 2,3 and 3.5).  Lance provides source code for Visual Studio 2008.  Code runs on a HP 2790 Pocket PC with our DigiSwipe CF card reader. 

Serial Ports in Visual Studio 2005 .NET 2.0 (Tablets/Laptops/Desktops)

Visual Studio 2005 has a new Serial Port control that is part of .NET 2.0 and is freely available in C# Express on MSDN. It is considerably easier to use and is a true .NET component.

There is a sample application, SerialPort Terminal, written by Noah Coad which you can try out to see how the new SerialPort control is used. Since Visual Studio 2005 / .NET 2.0 is just being introduced, you will need to compile the app on your system before running it.

Serial Ports in .NET 2003 Framework (Tablets/Laptops/Desktops)

  • HOW TO: Access Serial Ports and Parallel Ports by Using Microsoft Visual Basic .NET   Detailed article from Microsoft.  It is a bit complex compared to other approaches using off the shelf components but purist may appreciate it.
  • Serial Communications : The .NET Way Article at Codeproject.com which includes source code and components to ease accessing com ports.
  • Serial COM Simply in C# Good article which uses MSComm OCX that is included with VB in Visual Studio 6 (and previous versions). You must have at least the ActiveX components of VS6 installed in order to use MSComm because it is a licensed control.
  • Use P/Invoke to Develop a .NET Base Class Library for Serial Device Communications   Article from Microsoft which provides an alternative to using MSComm control - Summary The only way of coding RS232 serial communications applications in the .NET environment is to import the outdated and somewhat limited MSComm ActiveX control. This article describes the development of a lean, multithreaded, and modern RS232 base class library in C# managed code. The library uses Platform Invocation Services to interact with the Win32 API directly. Application programmers can use the library from any .NET language through inheritance; the article explores examples written in C# and Visual Basic .NET.

 

Tested Compatible PocketPC PDAs

Below is a partial list of PocketPC PDAs which DigiSwipe has been tested with.  Because the DigiSwipe becomes a new serial port in the PocketPC, it will work in any PocketPC or Windows CE device with a Type II Compact Flash Slot.  The only known issue was with early versions of Windows Mobile 5 devices with bugs in the Windows Mobile 5 code.   Early versions of Windows Mobile 5 code had several bugs in the code which controlled the CompactFlash slot.  Dell issued updates in March of 2006 to address these issues.  Customers with early versions of Windows Mobile 5 operating systems should update to the latest version.  Dell has a free update for AXIM X51 devices - See Dell Windows Mobile 5 update.

Device Operating System Com Port Comments
HP ipaq 4700 Windows Mobile 5 (WM5) (via upgrade) 6 Tested
HP ipaq 4700 PocketPC 2003 6 Tested
Dell AXIM X50 PocketPC 2003 4 Tested
Dell AXIM X51 Windows Mobile 5 4 Must be latest ROM  version of WM5 - Original Versions of WM5 had bugs. - See Dell Site
Dell Axim X5 Pocket PC 2002 & 2003 5 Test
HPx 2000 Pocket PC 2003 4 Tested
HP iPAQ hx2795 Windows Mobile 5 6 tested 6/21/07
HP iPAQ hx2495 Windows Mobile 5  6  
HP iPAQ 211 Windows Mobile® 6 Classic Edition 1 texted 3/2009
need  DigiSwipe version 1.5 released 3/09
HP iPAQ 210 Windows Mobile® 6 Classic Edition 1 Tested 7/2008

Asus 730

Windows 2003 2nd. Ed 8 Tested
Asus 716 Windows PocketPC 2003 8 Tested
Socket Mobile 650 Windows Mobile 5 2 Tested 4/17/09
need DigiSwipe version 1.5  released 3/09



 

 

 



 

Print this Page




Download the Flash Player.

 Copyright 2001-2006 TokenWorks Inc.  Your company name here | Link to Privacy Policy and other statements