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 39
7.3 Using the Device Emulator 40
7.3.1 IT-800WM Device Emulator 40
7.3.2 I/O Simulator 41
7.3.3 Connecting via ActiveSync 46
7.4 Debugging Applications 48
Chapter 8. Visual Studio 50
8.1 Developing in C++ 51
8.2 Developing in VB 55
8.3 Developing in C# 57
Chapter 9. Resources 60
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.
1.01 October 2009 P7 Chinese Sensible Code (HanXin Code) is added.
P8, P9,
Date edited Page Content
Bluetooth library is deleted.
P36
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
• Visual Studio 2008
• Visual Studio 2005
Various communication systems
• Built-in ultra-small WLAN module compatible with the IEEE802.11b/g standard
• 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
• 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.
®
Windows Mobile® 6.5 English Version as the built-in OS
®
Version 2.0
6
Scanning industrial standard bar code symbologies
• Readable bar code symbologies with laser scanner:
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
System Lib rary Library that is used to control the system. YesYes
Laser Scanner Library Library that is used to control the built-in laser scan engine. YesYes
Imager Library Library that is used to control the built-in CMOS Imager. YesYes
Camera Library Library that is used to control the built-in CAMERA module. YesYes
NFC Library Library that is used to control to communicate with IC card. YesYes
WANGPRS Library Library that is used to control the built-in WANGPRS
JPEG Library Library that is used to handle and manipulate JPEG image
FLINK Library Library that is used to control and carry out
Note:
The abbreviations used in the table are;
C++
VB
C#
Table 1.2 shows each file name of the Dynamic Link Library and Dynamic Link Class Library.
transmission/reception of files between PC and other device.
: Visual C++
: Visual Basic .NET
: Visual C# .NET
Library Dynamic Link Library
Dynamic Link Library
(Class Library)
VB
C#
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.
IT-800R-05 - No YesSDIO No Yes Yes
IT-800RGC-05 - Yes YesSDIO Yes Yes Yes
IT-800R-15 Laser No YesmicroSD No Yes Yes
IT-800RC-15 Laser Yes YesmicroSD No Yes Yes
IT-800RGC-15 Laser Yes YesmicroSD Yes Yes Yes
IT-800R-35 Imager No YesmicroSD No Yes Yes
IT-800RC-35 Imager Yes YesmicroSD No Yes Yes
IT-800RGC-35 Imager Yes YesmicroSD Yes Yes Yes
IT-800R-15-CN Laser No YesmicroSD No Yes Yes
IT-800RC-15-CN Laser Yes YesmicroSD No Yes Yes
IT-800EC-05 * - Yes YesSDIO No No Yes
IT-800GC-05 * - Yes YesSDIO Yes No Yes
IT-800EC-35 * Imager Yes YesmicroSD No No Yes
IT-800GC-35 * Imager Yes YesmicroSD 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
Cradle
Battery
Battery charger
AC adaptor
(For HA-H60IO, HA-H62IO, HA-D32DCHG)
AC adaptor
(For IT-800, HA-H30CHG)
Power Cable
(For AD-S42120B-N, AD-S15050B-N)
Cable USB cable DT-380USB For cradle - PC
Continue.
USB Cradle HA-H60IO
Ethernet Cradle HA-H62IO
Battery Pack HA-D20BAT
Large-capacity Battery Pack HA-D21LBAT
Dual Battery Charger HA-D32DCHG
Cradle-type Battery Charger HA-H30CHG
Car Mounted-type Battery
Charger
Scan
Engine
CameraNFC
HA-H60IO-CN
HA-H62IO-CN
HA-D20BAT-CN For China
HA-D21LBAT-CN For China
HA-D32DCHG-CN For China
HA-H30CHG-CN For China
HA-H35CHG
HA-H35CHG-CN For China
AD-S42120B-N
AD-S42120BE-CN
AD-S15050BE
AD-S15050BE-CN
AD-S15050B-N
AC-CORD-EU For Europe
AC-CORD-US For USA/Canada
AC-CORD-TW For Taiwan
AC-CORD-KR For Korea
AC-CORD-AU For Australia/New Zealand
Extention
Slot
WWAN
GPS
For China
For China
Without power cable accompanied
For China
For China
Without power cable accompanied
WLAN
(802.11 b/g)
Bluetooth
11
Others
External views of IT-800 and dedicated options
Screen Protect SheetHA-H90PS5B
HA-H90PS5B-CN For China
Trigger Grip HA-H51TG
HA-H51TG-CN
For China
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.
(The site requires your user name and password. Enter your user name and password as issued by CASIO.)
Microsoft Visual Studio 2005 + SP1
Microsoft Visual Studio 2008 + SP1
Development Platform
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://www2.casio.co.jp/system_en/pa/PADealer/
(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