Casio IT-800 Series, IT-9000WM Series Quick Start Manual

CASIO
IT-800 Series
Quick Start Guide
(US Version 1.03)
CASIO Computer Co., Ltd.
May 2010
Table of the Contents
Editorial Record 4 Preface 5
Chapter 1. Product Overview 6
1.1 Features at a Glance 6
1.2 Library 8
1.3 Development Manuals 9
Chapter 2. Prerequisites 10
2.1 Skills Required 10
2.2 Hardware Required 11
2.3 Software Required 13
Chapter 3. Installing BDK to PC 14
3.1 Application Development 14
3.2 Installing CASIO BDK Files 15
3.3 Installing Library 17
3.4 Installing Online Help 18
Chapter 4. Connecting Power Supply to Cradle 19
4.1 HA-H60IO 19
4.2 HA-H62IO 21
Chapter 5. Connecting the IT-800 to PC 23
5.1 Connection via USB Cradle 24
5.1.1 ActiveSync via USB 25
5.1.2 Windows Mobile Device Center via USB 25
5.2 Connection via IrDA 26
5.3 Connection via WLAN 27
5.4 Connection via Ethernet Cradle 32
5.5 Accessing Shared Network Drive on Your LAN 33
5.6 Direct TCP/IP Connection from Visual Studio 34
Chapter 6. Setting Up the Development Environment 36
6.1 Installing CAB Files 36
6.2 Visual Studio 2005 37
Chapter 7. Device Emulator 38
7.1 Software Required 38
7.2 Starting Up the Device Emulator 40
7.3 Using the Device Emulator 41
7.3.1 IT-800WM Device Emulator 41
7.3.2 I/O Simulator 42
7.3.3 Connecting via ActiveSync 47
7.4 Debugging Applications 49
Chapter 8. Visual Studio 51
8.1 Developing in C++ 52
8.2 Developing in VB 56
8.3 Developing in C# 58
Chapter 9. Resources 61
2
No part of this document may be produced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without the express written permission of CASIO Computer Co., Ltd. in Tokyo Japan. Information in this document is subject to change without advance notice. CASIO Computer Co., Ltd. makes no representations or warranties with respect to the contents or use of this manual and specifically disclaims any express or implied warranties of merchantability or fitness for any particular purpose.
© 2010 CASIO Computer Co., Ltd. All rights reserved.
3
Editorial Record
Manual Version
no.
Date edited Page Content
1.00 August 2009 all Original version 7 Chinese Sensible Code (HanXin Code) is added. 1.01 October 2009
8, 9, 36 Bluetooth library is deleted.
1.02 December 2009 36 CAB File Name is modified.
39
Note is added at case of using Device Emulator after Windows Vista OS
1.03 May 2010
13, 23 Supported OS is added. ( Windows 7 / Windows 2008 Server )
4
Preface
This guide clearly and concisely sets out the information developers need to know to get started with the CASIO IT-800 series handheld terminals with the integrated Windows Mobile
®
Version 6.5 OS. The best methods of connecting to your development system are covered and step by step instructions for installing and testing the CASIO Basic Development Kit (BDK) are included.
The purpose of this guide is to get you to the point where you can start development; you should refer to the library manuals for detailed information on the specific APIs.
The words, "the terminal", "the IT-800", "the IT-800 series", and "IT-800 device", used in this reference manual mean IT-800 series handheld terminal with the integrated Windows Mobile
®
as its
OS unless otherwise noted.
5
1. Product Overview
1.1 Features at a Glance
The IT-800 has been designed using the new concept of the Human-centered Design Processes and is capable of performing a wide variety of powerful functions. The following is a brief overview of the features available on the IT-800 series handheld terminals. For further detail on the hardware specifications, refer to IT-800 Series Hardware Manual.
Outstanding development environment
Microsoft
®
Windows Mobile® 6.5 English Version as the built-in OS
Visual Studio 2008
Visual Studio 2005
Various communication systems
Built-in WWAN module combines GSM, GPRS and EDGE modules with GPS receiver designed for use in transportation and logistics.
High speed infrared communication with IrDA Version. 1.3
Bluetooth
®
Version 2.0
Serial interface with USB version 1.1 (Host/Client)
Small size, light weight
Dimensions : Approx. 78 (W) x 159.5 (D) x 25 (H) mm
Weight : Approx. 267g (model dependant)
Improved durability
Impact resistance : 1.5 m in height *
Dust/Water-splash proof : IP54 level (compliant with IEC60529 International Standard)
* The drop durability height is a measured value resulting from actual testing. It does not necessarily guarantee the
product from damage.
6
Scanning industrial standard bar code symbologies
Readable bar code symbologies with laser scanner: EAN8, EAN13, UPC-A/E, Codabar (NW-7), CODE39, CODE93, CODE128/EAN128, ITF, MSI, IATA, Industrial 2of5, GS1 DataBar Omnidirectional (RSS-14), GS1 DataBar Limited (RSS Limited), GS1 DataBar Expanded (RSS Expanded), GS1 DatBar Stacked (RSS-14 Stacked), GS1 DataBar Expanded Stacked(RSS Expanded Stacked)
Readable bar code symbologies with C-MOS imager: 1D: EAN8, EAN13, UPC-A/E, Codabar (NW-7), CODE11, CODE32, CODE39, CODE93, CODE128/EAN128, ITF, MSI, IATA, Industrial 2of5, GS1 DataBar Omnidirectional (RSS-14), GS1 DataBar Limited (RSS Limited), GS1 DataBar Expanded (RSS Expanded) 2D Stacked: PDF417, Micro PDF, CODE49, Composite, Codablock F, TLC39, GS1 DataBar Stacked Omnidirectional (RSS-14 Stacked), GS1 DataBar Expanded Stacked (RSS Expanded Stacked), GS1 DatBar Stacked (RSS-14 Stacked) 2D Matrix: Aztec, DataMatrix, Maxicode, QR Code, Micro QR, Chinese Sensible Code (HanXin Code)
CPU, Memory
High-performance CPU Marvell
®
PXA320 Application Processor (runs at maximum 624 MHz)
Large-capacity memory RAM : 128 MB F-ROM : 256 MB
7
1.2 Library
The IT-800WM Basic Development Kit ("BDK") provides various libraries including those listed in the table.
Table 1.1
Library Description C++
VB
C# System Library Library that is used to control the system. Yes Yes Laser Scanner Library Library that is used to control the built-in laser scan engine. Yes Yes Imager Libr ary Library that is used to control the built-in CMOS Imager. Yes Yes Camera Library Library that is used to control the built-in CAMERA module. Yes Yes NFC Library Library that is used to control to communicate with IC card. Yes Yes WANGPRS Library Library that is used to control the built-in WANGPRS
module.
Yes Yes
JPEG Library Library that is used to handle and manipulate JPEG image
functions.
Yes -
FLINK Library Library that is used to control and carry out
transmission/reception of files between PC and other device.
Yes Yes
Note: The abbreviations used in the table are;
C++
: Visual C++
VB
: Visual Basic .NET
C#
: Visual C# .NET
Table 1.2 shows each file name of the Dynamic Link Library and Dynamic Link Class Library.
Table 1.2
Library Dynamic Link Library
Dynamic Link Library
(Class Library) System Library SystemLib.dll SystemLibNet.dll Laser Scanner Library OBReadLib.dll OBReadLibNet.dll Imager Library ImagerLib.dll ImagerLibNet.dll Camera Library CameraLib.dll CameraLibNet.dll NFC Library NFCLib.dll NFCLibNet.dll WANGPRS Library WangprsLib.dll WangprsLibNet.dll JPEG Library JpegCe.dll None FLINK Library FlinkLib.dll MoFlinkLib.dll
8
1.3 Development Manuals
The IT-800WM Basic Development Kit ("BDK") provides various development reference manuals as described in the table below.
Table 1.3
Development Manual Description Quick Start Guide This reference manual. Software Manual Reference manual that describes software specifications in detail for all
the software integrated in IT-800 handheld terminal.
Hardware Manual Reference manual that describes hardware specifications in detail on
each dedicated option and IT-800 handheld terminal
System Library Manual Reference manual that describes individual functions in detail for System
Library.
Laser Scanner Library Manual Reference manual that describes individual functions in detail for Laser
Scanner Library.
Imager Library Manual Reference manual that describes individual functions in detail for Imager
Library.
Camera Library Manual Reference manual that describes individual functions in detail for
Camera Library.
NFC Library Manual Reference manual that describes individual functions in detail for NFC
Library.
WANGPRS Library Manual Reference manual that describes individual functions in detail for
WANGPRS Library.
JPEG Library Manual Reference manual that describes individual functions in detail for JPEG
Library.
FLINK Library Manual Reference manual that describes individual functions in detail for FLINK
Library.
9
2. Prerequisites
2.1 Skills Required
The following skills are required by developers aiming to develop application software for the IT-800 terminal.
Windows programming
A good knowledge of one or more of the following.
- Visual C++
- Visual Basic .NET
- Visual C#
- Browser based applications (not covered in this guide)
The following skills or experience are also desirable.
Windows CE devices
ActiveSync
Some networking experience
10
2.2 Hardware Required
The following models of the IT-800 series and dedicated options are available.
Table 2.1 List of available models
Model no.
Scan
Engine
Camera NFC
Extention
Slot
WWAN
GPS
WLAN
(802.11 b/g)
Bluetooth
IT-800R-05 - No Yes SDIO No Yes Yes IT-800RGC-05 - Yes Yes SDIO Yes Yes Yes IT-800R-15 Laser No Yes microSD No Yes Yes IT-800RC-15 Laser Yes Yes microSD No Yes Yes IT-800RGC-15 Laser Yes Yes microSD Yes Yes Yes IT-800R-35 Imager No Yes microSD No Yes Yes IT-800RC-35 Imager Yes Yes microSD No Yes Yes IT-800RGC-35 Imager Yes Yes microSD Yes Yes Yes IT-800R-15-CN Laser No Yes microSD No Yes Yes IT-800RC-15-CN Laser Yes Yes microSD No Yes Yes IT-800EC-05 * - Yes Yes SDIO No No Yes IT-800GC-05 * - Yes Yes SDIO Yes No Yes IT-800EC-35 * Imager Yes Yes microSD No No Yes IT-800GC-35 * Imager Yes Yes microSD Yes No Yes
Notes:
Model with "-CN" at the end of its model umber is for China.
Model with "*" at the end of its model number is for USA and Canada.
Table 2.2 List of the dedicated options
Option Product Model no. Remark
USB Cradle HA-H60IO
HA-H60IO-CN
For China
Cradle
Ethernet Cradle HA-H62IO
HA-H62IO-CN
For China
Battery Pack HA-D20BAT
HA-D20BAT-CN For China
Battery
Large-capacity Battery Pack HA-D21LBAT
HA-D21LBAT-CN For China
Dual Battery Charger HA-D32DCHG
HA-D32DCHG-CN For China
Cradle-type Battery Charger HA-H30CHG
HA-H30CHG-CN For China
Battery charger
Car Mounted-type Battery Charger
HA-H35CHG
HA-H35CHG-CN For China AC adaptor (For HA-H60IO, HA-H62IO, HA-D32DCHG)
AD-S42120B-N
AD-S42120BE-CN
Without power cable accompanied
For China AC adaptor (For IT-800, HA-H30CHG)
AD-S15050BE AD-S15050BE-CN AD-S15050B-N
For China
Without power cable accompanied
AC-CORD-EU For Europe AC-CORD-US For USA/Canada AC-CORD-TW For Taiwan AC-CORD-KR For Korea
Power Cable (For AD-S42120B-N, AD-S15050B-N)
AC-CORD-AU For Australia/New Zealand
Cable USB cable DT-380USB For cradle - PC
Continue.
11
Screen Protect Sheet HA-H90PS5B
HA-H90PS5B-CN For China
Others
Trigger Grip HA-H51TG
HA-H51TG-CN
For China
External views of IT-800 and dedicated options
Figure 2.1
12
2.3 Software Required
The following software tools and libraries are required in order to develop software for the IT-800. Please ensure that you download or purchase the correct Microsoft tools as appropriate.
PC Operating System
Microsoft Windows 2000 Professional Service Pack 4 or later
Or Microsoft Windows 2000 Server Service Pack 4 or later
Or Microsoft Windows XP Professional Service Pack 2 or later
Or Microsoft Windows 2003 Server Service Pack 1 or later
Or Microsoft Windows Vista (Business / Ultimate )
Or Microsoft Windows 7
Or Microsoft Windows Server 2008
Development platform
Table 2.3
Programming
Language
Development Platform
Visual C++ Visual Basic .NET Visual C#
Microsoft Visual Studio 2005 + SP1 or later Microsoft Visual Studio 2008 + SP1 or later
Communication Software
Microsoft ActiveSync 4.5 (or later)
Download for free from;
http://www.microsoft.com/downloads/details.aspx?familyid=9E641C34-6F7F-404D-A04B-DC0 9F8141141&displaylang=en
Microsoft Windows Mobile Device Center 6.1 (for Windows Vista or later)
Download for free from;
http://www.microsoft.com/downloads/details.aspx?familyid=46F72DF1-E46A-4A5F-A791-09F 07AAA1914&displaylang=en
SDK
Microsoft Windows Mobile 6 Professional SDK (Mandatory)
Download for free from;
http://www.microsoft.com/downloads/details.aspx?familyid=06111A3A-A651-4745-88EF-3D4 8091A390B&displaylang=en
Microsoft Windows Mobile 6.5 Developer Tool Kit (Not mandatory)
http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=20686a1d-97a8­4f80-bc6a-ae010e085a6e
CASIO IT-800WM BDK
Download the IT-800WM BDK from
http://www.casio4business.com/pa2/support/index_support.html
(The site requires your user name and password. )
13
3. Installing BDK to PC
3.1 Application Development
This chapter explains about what you need to set up for the development environment before starting your application development.
1. Installing Development Platform Install Microsoft's development platform which supports Visual Studio 2008 and Visual Studio
2005. Install SDK (Microsoft Windows Mobile 6 Professional SDK) For detail, refer to Chapter 2.3 "Software Required".
2. Installing CASIO BDK to PC Install CASIO's BDK ("Basic Development Kit") and various libraries if necessary. For installation method, refer to Chapter 3.2 "Installing CASIO BDK Files".
3. Connecting IT-800 to PC (via either ActiveSync or Windows Mobile Device Center) Connect the IT-800 to PC via Microsoft's ActiveSync (for Windows XP or any other OS before Windows XP) or via Windows Mobile Device Center (for Windows Vista). For connection method, refer to Chapter 5 "Connecting the IT-800 to PC".
4. Setting up the Development Environment Transmit the CASIO's libraries to the IT-800. For detail, refer to Chapter 6 "Setting Up the Development Environment".
5. Installing the Device Emulator Install the Device Emulator for the IT-800. For installation method, refer to Chapter 7 "Device Emulator". If not necessary to install, go to "6. Application Development" below.
6. Application Development Now, the application development environment is set up and your development with the development platform can be started. After application is developed, transmit it to the Device Emulator or an actual terminal of the IT-800 via ActiveSync or Windows Mobile Device Center for check on the operability. For application development method and transmitting your application, refer to Chapter 8 "Visual Studio".
14
3.2 Installing CASIO BDK Files
Download the CASIO IT-800WM BDK installation CD image file from the following site and write it to a CD-ROM media.
http://www.casio4business.com/pa2/support/index_support.html
(The site requires your user name and password. Enter your user name and password as issued by CASIO.)
Notes:
If you had already installed IT-800WM BDK Ver. 1.xx, be sure to uninstall it before installing Ver. 2.xx.
If any file of the IT-800WM BDK Ver. 1.xx is remained in the following folders after uninstalling, delete it manually.
C:\Program Files\CASIO\MBSYS C:\Program Files\Windows CE Tools\wce500
If your PC runs in the Window Vista, first you must disable the User Account Control ("UAC") by following the process below before installing the CASIO BDK Files.
- Navigate to Control Panel User Accounts Enable or Disable the User Account Control. Remove the check on User Account Control (UAC) to protect your PC, and then click OK button.
15
Installation Steps
1. When the CASIO IT-800WM BDK CD-ROM is inserted in the drive of PC, the following menu
screen appears automatically.
Figure 3.1
2. Click Installation List in Figure 3.1. The installation screen appears.
Figure 3.2
3. Choose the component you wish to install in the screen.
16
3.3 Installing Library
The IT-800 Library is available for the below development platforms.
Microsoft Visual Studio 2008
Microsoft Visual Studio 2005
Notes:
1. The Library header file (*.h) and the Import library file (*.lib) are installed in the following folders respectively.
C:\Program Files\CASIO\MBSYS\include : Header file C:\Program Files\CASIO\MBSYS\lib\ARMV4I : Import library file
2. The Class library DLL file (*.dll) is installed in the following folder. C:\Program Files\CASIO\MBSYS\WindowsCE
3. When the Library is installed in PC, the Help file (*.chm) is installed in the following folder. C:\Program Files\CASIO\MBSYS\HELP
The Help file can be accessed by navigating to Start menu → All Programs → CASIO Basic Development Kit Help
17
3.4 Installing Online Help
Besides the Help file described in the previous page, the Online Help is also available for the below development platforms. The installation of the Online Help is initiated in the Installation List.
Microsoft Visual Studio 2008
Microsoft Visual Studio 2005
After the installation is complete, Microsoft Visual Studio starts up. The Online Help file can be accessed by navigating to Help Contents menu.
18
4. Connecting Power Supply to Cradle
4.1 HA-H60IO
Use the dedicated AC adaptor (AD-S42120B) for supplying power to the HA-H60IO USB Cradle. Ensure that you connect the AC adaptor to the cradle before starting communication between the IT-800 and PC via the cradle. Follow the steps below to connect the power supply to the IT-800 using the dedicated AC adaptor.
1. Plug the AC adaptor into the AC adaptor jack where "DCIN12V" is printed on the back of the cradle.
Figure 4.1
2. After connecting the power cable to the AC adaptor, plug in the plug to an electrical outlet.
Figure 4.2
3. Make sure the selector switch on the back of the cradle is set to position B.
Figure 4.3
19
Loading...
+ 42 hidden pages