Chapter 2. Prerequisites Skills Required Hardware Required Software Required Chapter 3. Installing SDK to PC Application Development Installing CASIO SDK Files Chapter 4. Connecting Power Supply to HA-D60IO, HA-D62IO HA-D60IO HA-D62IO Chapter 5. Connecting the IT-600 to PC ActiveSync Connection ActiveSync Connection via USB 5.2.1...
Page 3
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.
5.7 “Direct TCP/IP Connection from Visual Studio”. Chapter 6.3 “Sample Program” is added. 56 to 58 In Chapter 7.3 “Using CASIO Libraries from C++”, a development method for VCC++ Project with Visual Studio is added. Chapter 7.4 “Sample Program” is added.
Page 5
1.06 January 2009 In Chapter 1.1, a note about dead pixels is added. 10 to 12 In Chapter 1, Library Configuration, Development Reference Manuals, and Sample Program are added. In Chapter 3.2, a note about User Account Control is added. 17 to 21, Chapter 3 is divided into two chapters, Installing SDK to 49 to 52...
CASIO IT-600 development. Every method of connecting to your development system is covered and step by step instructions for installing and testing the CASIO SDKs are included. The purpose of this guide is to get you to the point where you can start development; you should...
1. Product Overview 1.1 Hardware Specifications The IT-600 series handheld terminal is one of the most powerful and versatile handheld devices on the market. It is particularly suited to the retail, stocktaking, parking enforcement and hospitality markets. Table 1.1 Hardware specifications...
Page 8
Max. 3 dBm ( PowerClass 2) Host Baud rate Full speed (12 Mbps) Low speed (1.5 Mbps) Power to an 5V±5% (maximum 500 mA) See IT-600 Series external Hardware Manual. device Client Baud rate Full speed (12 Mbps) Extension port...
Page 9
Power Operation Lithium-ion battery pack (HA-D20BAT or HA-D21LBAT) Memory backup Lithium battery (rechargeable) on board Battery capacity HA-D20BAT 1,850 mAH HA-D21LBAT 3,700 mAH Operating period IT-600M30, M30C, IT-600M30R, M30-CN, M30C-CN, M30CR, M30E2, M30E2-CN, M30R-CN, M30C2, M30C2-CN M30CR-CN, M30R2, M30R2-CN, M30CR2, M30CR2-CN Approx.
Page 10
Notes: Orthogonal frequency-division multiplexing (OFDM) is a transmission technique based upon the idea of frequency-division multiplexing (FDM). The microphone is not integrated in IT-600M30R2-CN and IT-600M30CR2-CN to comply with the Chinese radio related regulations. Both the models disable the capability of voice data transmission over Internet Protocol (VOIP).
1.2 Library Configuration The CASIO Software Development Kit (“SDK”) for IT-600 series provides various libraries listed in the table. Table 1.2 Library Description System Library Library that is used to control the system. Laser Scanner Library Library that is used to control the built-in laser scan engine.
1.3 Development Reference Manuals The CASIO Software Development Kit (“SDK”) for IT-600 series includes the development reference manuals listed in the table. Table 1.4 Development Manual Description Quick Start Guide This reference manual. Hardware Manual Reference manual that describes hardware specifications in detail on each...
1.4 Sample Program The following sample programs are included in the IT-600 SDK. Table 1.5 Sample Program Description Common Device Control BLUETOOTHLIBSAMPLE Connects the terminal to a Bluetooth printer and prints out data. CAMERALIBSAMPLE Takes pictures and displays them on the screen. IMGLIBSAMPLE Scans bar codes using the Imager with settings set with Imager setting file.
2. Prerequisites 2.1 Skills Required The following skills are required by developers aiming to develop application software for the IT-600: • Windows programming • A good knowledge of one or more of the following: - Visual C++ - Visual Basic .NET - Visual C# - Active Server Pages and web programming (not covered in detail in this guide) The following skills or experiences are also desirable:...
2.2 Hardware Required The following models of the IT-600 series and the dedicated options are available. • IT-600 Table 2.1 Available models and the features Laser Wireless Communication Digital Model no. Remark scanner Camera Bluetooth IEEE802.11b/g IT-600M30 * See note 1.
Page 16
External views of the IT-600 and the options USB Cradle / Ethernet Cradle HA-D60IO HA-D62IO Figure 2.1...
2.3 Software Required 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 •...
2005 and Visual Studio .NET 2003. For detail, refer to Chapter 2.3 “Software Required”. Installing CASIO SDK Install CASIO SDK and various libraries if necessary. For installation method, refer to Chapter 6.1 “Installing CASIO SDK Files”. 3. Connecting IT-600 to PC (via ActiveSync/Windows Mobile Device Center) Connect the IT-600 to PC via Microsoft’s ActiveSync (for Windows XP or any other OS...
3.2 Installing CASIO SDK Files Download the CASIO IT-600 SDK 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.)
Page 21
Installing ExportSDK When the CASIO IT-600 SDK CD-ROM is inserted in the drive of your PC, the following menu screen appears automatically. Figure 3.1 Click Installation List in Figure 3.1. The installation screen appears. Figure 3.2 Click IT-600 ExportSDK to display the Setup Wizard. Choose any one of the buttons in the...
Page 22
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.
Page 23
Installing Sample Program When the Sample is chosen in the Installation List, the sample program folder in the CD-ROM appears. The Sample program folder is available for each development platform. Copy one of the folders you wish to use into your PC. EVC for Microsoft embedded Visual C++ VS2003 for Microsoft Visual Studio.NET 2003 VS2005 for Microsoft Visual Studio 2005...
4. Connecting Power Supply to HA-D60IO, HA-D62IO 4.1 HA-D60IO Use the dedicated AC adaptor (AD-S42120B) for power supply to the HA-D60IO USB cradle. Make sure to connect the AC adaptor to the USB cradle before starting communication between the IT-600 and PC via the cradle. Follow the steps below to set power supply to the IT-600 using the dedicated AC adaptor.
Page 25
Status of Indicator 1 on IT-600 Orange : Charging Red : Standby due to battery pack error or the surrounding temperature is out of the range (charging begins when the temperature returns within the range.) Green : Charging complete Important notes: •...
4.2 HA-D62IO Use the dedicated AC adaptor (AD-S42120B) for power supply to the HA-D62IO Ethernet cradle. Make sure to connect the AC adaptor to the Ethernet cradle before starting communication between the IT-600 and PC via the cradle. Follow the steps below to set power supply to the IT-600 using the dedicated AC adaptor.
Page 27
3. Set the selector switch on the back of the Ethernet cradle to the port that will be used. Set the switch to “LAN” to use the LAN port or to “USB” to use the USB port. Figure 4.5 4. Before using the cradle ports, remove the caps from the ports. When using a LAN, connect one end of the LAN cable to the LAN port and the other end to the PC or hub.
Page 28
Status of Indicator 1 on IT-600 Orange : Charging Red : Standby due to battery pack error or the surrounding temperature is out of the range (charging begins when the temperature returns within the range.) Green : Charging complete Important notes: •...
5. Connecting the IT-600 to PC To make connection establishment with PC, use one of the methods, depending on the OS your PC runs, described below. • ActiveSync (for Windows XP or any other OS earlier) Use the ActiveSync to connect the IT-600 to PC if the PC runs in Windows XP or other OS earlier than Windows XP.
5.1 ActiveSync Connection In nearly all cases during development work you will be communicating with the IT-600 via ActiveSync connection. There are many ways to connect the IT-600 to PC via ActiveSync. You can download ActiveSync from the following Microsoft web site: http://www.microsoft.com/windowsmobile/activesync/default.mspx...
5.2 ActiveSync Connection via USB If you have already installed ActiveSync and connected the IT-600 to the PC via direct USB, You may skip the Chapter 5.2.1. You already have the USB driver and ActiveSync in your development environment. 5.2.1 Installing ActiveSync for the First Time Install ActiveSync first.
Page 32
When the IT-600 is mounted on the USB cradle, a dialog is displayed to prompt you to install the suitable driver. Download the USB driver “wceusbsh.inf” and “wceusbsh.sys” from the CASIO Web Site and copy to the appropriate folder. Choose No, not this time radio button in Figure 5.4 and then click Next > button.
Page 33
Then, choose Install from a list or specific location radio button in the menu. Figure 5.5 Click Next > button. Figure 5.6 10. Choose Windows CE USB Devices icon. Figure 5.7...
Page 34
11. Click Have Disk… button. Figure 5.8 12. Click Browse… button. And choose “wceusbsh.inf” from the folder you created. Figure 5.9 13. Then the installation of the driver will start. Figure 5.10...
Page 35
15. A menu might be displayed to prompt to install “wceusbsh.sys”. This happens if “wceusbsh.sys” is not in the same folder where “wceusbsh.inf” is located. Download this file from the CASIO Web Site and follow the menu and then specify the location of “wceusbsh.sys”.
Page 36
17. Now go back to the ActiveSync Installation Wizard that was left on the desktop. Click Next > button. Figure 5.13 18. Now the connection is being established. You can select either one according to your need. Then click Next > button. Figure 5.14 19.
5.2.2 If ActiveSync Is Already Installed This is the procedure if ActiveSync is already installed in the PC. Let the PC recognizes the IT-600 and install the driver. 1. Open the pull-down menu navigating to File → Connection Settings…. See Figure 5.16. Figure 5.16 2.
Page 38
3. On the IT-600, choose PC Connection tab. Confirm that PC Connection is set to “USB Default”. If not, choose USB Default and tap OK button. Figure 5.18 4. When the IT-600 is mounted on the USB Cradle, a menu to prompt to install the driver is displayed.
5.2.3 ActiveSync Connection via IrDA If the PC supports an IrDA interface, it is possible to connect the IT-600 to the PC via IrDA interface using ActiveSync. Follow the steps below: 1. Choose PC Connection in the Control Panel on the IT-600. 2.
5.3 USB Connection via Windows Mobile Device Center To establish connection via USB interface with PC runs in Windows Vista, use Windows Mobile Device Center (“WMDC”). The IT-600 with the factory-setting (default) does not support the WMDC. Follow the procedure below to change the setting. Note that the CAB file, USBClientIT600.110.CAB, must be installed in the IT-600 prior to establishing connection with the IT-600 via Windows Mobile Device Center.
Page 41
6. The IT-600 starts up again. Mount the IT-600 on the cradle, and then follow a message appeared in the WMDC on the PC. Notes: • To resume the factory default setting, choose ActiveSync/LMWIN radio button in Step 3 on the previous page, and start up the IT-600 again.
5.4 ActiveSync Connection via WLAN This operation works with ActiveSync Version 3.8 or earlier. Later versions of ActiveSync do not support the LAN ActiveSync setting menu and thus it is not possible for IT-600 to establish connection with PC via WLAN or wired LAN. The quickest and easiest way to establish connection between the IT-600 and PC for development purpose is to use IEEE802.11b/g WLAN.
Page 43
5. If you double tap one of the SSIDs in the list (see Figure 5.24), the SSID will be input in the SSID field in Basic Settings tab (see Figure 5.23) of WLANConfig (the WLAN Settings toll). Set up the rest of parameters as required. Figure 5.24 •...
Page 44
7. On the PC, make sure that Allow network… checkbox is checked in the ActiveSync setting. Allow network setting is only possible for ActiveSync 3.8 or earlier version. 8. On the IT-600, navigate to Start → Programs → Communication → LAN ActiveSync to initiate the connection.
5.5 Bluetooth Connection There are many peripherals such as USB dongles and PC Cards on the market that will allow you to add a Bluetooth serial port to a PC. This manual only covers the IT-600 side of the connection and assumes that you have a suitably configured Bluetooth COM port available on the PC.
5.6 Accessing Shared Network Drive on Your LAN Assuming you have a valid network connection established, you can access shared drives on your PC from the File Explorer on the IT-600. The following shows the steps to initiate. 1. Configure a network connection on the IT-600. 2.
5.7 Direct TCP/IP Connection from Visual Studio If you have a network connection to the IT-600 for example via WLAN or the Ethernet cradle, then you can establish a direct link to the development PC without using ActiveSync. For Visual Studio .NET 2003 You require the WindowsCE Utilities add-on pack (described in Chapter 2.3).
Page 48
9. Choose IT-600 Device in the list of Devices: and click Connect button. The screen in Figure 5.30 if appear indicates the success of connection establishment. Figure 5.30...
5.8 ActiveSync Connection via Ethernet This operation works with ActiveSync Version 3.8 or earlier. Later versions of ActiveSync do not support the LAN ActiveSync setting menu and thus it is not possible to connect the IT-600 to PC via WLAN or wired LAN. With ActiveSync version 3.8 or earlier version, another way to establish wireless connection for models without the WLAN module integrated (IT-600M30, M30C, M30E2, M30C2, M30E2-CN, M30C2-CN) is to use the HA-D62IO Ethernet cradle that makes a high speed LAN access possible.
Page 50
6. The following screen will appear. Double click AX887721. Figure 5.33 7. The following TCP/IP screen appears. Set all the parameters in IP Address and Name Servers tabs as required and then click OK button. Figure 5.34 8. Once the connection is established “×” will disappear on the network icon in the Taskbar. 9.
6. Setting Up the Development Environment 6.1 Installing CAB Files 1. After installing the library files, the CAB files in Table 6.1 will be installed in the folder below. C:\Program Files\CASIO\MBSYS\CAB Table 6.1 Library CAB file Preinstalled System Library en_SystemLib.ARMV4I.CAB Laser Scanner Library en_OBReadLib.ARMV4I.CAB...
3. If IT-600_SDK is installed when standard SDK has been installed already, the following dialog box appears for warning. Figure 6.1 4. Application software developed using MFC (Microsoft Foundation Class) for CASIO IT-10 is not operable on the IT-600. 5. Any application developed not using MFC is operable on the IT-600.
6.3 Visual Studio 2005 There is no actual SDK available for Visual Studio as such. However, the CASIO libraries have been released for VB .NET and C#. See Chapter 9 for basic usage instructions. In this chapter, the remote debugging procedure using the IT-600 for application development in VB .NET and C# environments is explained.
6.4 Visual Studio .NET 2003 There is no actual SDK available for Visual Studio as such. However, the CASIO libraries have been released for VB .NET and C#. See Chapter 9 for basic usage instructions. Microsoft has released an add-on for Visual Studio .NET 2003 that allows you to set the target CPU for a connected device (Visual Studio is unable to detect the target CPU of non-Pocket PC devices).
• ActiveSync 4.2 or a later version (If required) http://www.microsoft.com/downloads/details.aspx?FamilyID=7269173a-28bf-4cac-a682-58d32 33efb4c&DisplayLang=en • Visual Studio 2008 or Visual Studio 2005 (Required) • CASIO IT-600 SDK (Required) • Standalone Device Emulator 3.0 (Optional. See note 2.) http://www.microsoft.com/downloads/details.aspx?displaylang=en&FamilyID=a6f6adaf-12e3-4 b2f-a394-356e2c2fb114 Using Visual Studio.NET 2003 •...
Page 56
Notes: 1. The software is not required if your PC has already Visual Studio 2005 installed. 2. To use Microsoft Device Emulator 3.0, follow the steps below. 2-1. Install the IT-600 ExportSDK and the Device Emulator in IT-600 SDK. 2-2. Download Microsoft Device Emulator 3.0 and install it. 2-3.
Page 57
Please check “Run this program as an administrator” of property from opening Explorer. (Ex. Execute I/O simulator in Windows Vista as administrator.) Figure 7.1 These program have installed the following location as default setting. • Device emulator C:\Program Files\Microsoft Device Emulator\1.0\DeviceEmulator.exe • I/O simulator C:\Program Files\Common Files\CASIO\Emulator\DevIoSim.exe...
After installing all required software described in Chapter 7.1, follow the steps below to start up the Device Emulator on your PC. 1. Navigate to Start menu → All Programs → CASIO Device Emulator and click IT-600. 2. Make sure that the IT-600 Device Emulator has started up on the screen. See Figure 7.2. If Figure 7.2 and Figure 7.3 appear on your PC, it is ready to use the emulator.
7.3 Using the Device Emulator 7.3.1 IT-600 Device Emulator The IT-600 Device Emulator emulates various operations carried out by the actual IT-600 device on PC’s screen such as mouse pointer by mouse, input on PC’s keyboard, displaying execution of operation, and operations by actual devices. Figure 7.4 shows an emulated IT-600 device on the screen of PC.
7.3.2 I/O Simulator The I/O Simulator simulates registration of bar codes, generation of low battery warning, detection of terminal being mounted on cradle. Registration of bar code symbologies Registration Click ADD1D or ADD2D button (drawn by red line in Figure 7.4) to change the screen into the bar code registration mode.
Page 61
3. Registration of bar code and note Enter a bar code data in the Code field (see Figure 7.7) that you wish to register and a note about the bar code in the Note field if necessary. Click OK button to complete the bar code registration.
Page 62
5. Editing registered bar code content Highlight a bar code in the list of registered bar codes (see Figure 7.8) you wish to edit and click Edit button. Figure 7.8 appears for editing the bar code and its information. Figure 7.9 6.
Page 63
Detection of Terminal in Cradle and Low Battery Warning If you check in the I/O Box and Low Battery boxes of STATE SETTING field (see Figure 7.11), the simulator simulates the respective performances. Figure 7.11 I/O Box If this box is checked, notification is issued informing the connection between the IT-600 Device Emulator and cradle is being established.
Page 64
Indications The I/O Simulator expresses a change of state that occurred in the IT-600 Device Emulator. • LED When the IT-600 Device Emulator turns on the LED, the LED icon (LED2) in the I/O Simulator also turns on. See Figure 7.11. •...
7.3.3 Connecting via ActiveSync If debugging with the Device Emulator is carried out in either eMbedded Visual C++ 4.0 or Visual Studio 2008 or Visual Studio 2005, or transmission/reception of a file with the Device Emulator is carried out, ActiveSync must be used. Setting ActiveSync 1.
Page 66
Connection via ActiveSync The ways to establish connection of the Device Emulator via ActiveSync are; - Using Visual Studio 2008 or Visual Studio 2005 - Using Standalone Device Emulator 3.0 (if Visual Studio 2008 or Visual Studio 2005 is not available.) 1.
7.4 Debugging Application This chapter describes how to debug your application using the Device Emulator. Before starting “Build”, establish connection between the IT-600 and your PC via ActiveSync by referring to Chapter 7.3 “Using the Device Emulator”. For the order of developing application, refer to Chapters 8 “eMbedded Visual C++” and 9 “Visual Studio”.
7.4.2 Debugging Application Basic Debug Operation The debug operation used for the Device Emulator in both Visual Studio 2005 and eMbedded Visual C++ 4.0 is the same with ordinary debug operation. Debugging with the Device Emulator With the Device Emulator, it is possible to set a brake point in source code of application program for step-by-step debug method.
Page 69
In case of using eMbedded Visual C++ 4.0 1. Establish connection between the Device Emulator and PC via ActiveSync before starting debugging in eMbedded Visual C++ 4.0. For establishing connection via ActiveSync, refer to Chapter 7.3.3 “Connecting via ActiveSync”. 2. Navigate to Build in the menu bar → Start Debug → Go to start up debugging. Figure 7.22 3.
8. eMbedded Visual C++ 8.1 Building Simple eVC++ 4.0 Test Program 1. On the PC, initiate eVC++ 4.0. 2. Navigate to File → New in the File menu. Figure 8.1 3. Highlight WCE Application in Projects tab. See Figure 8.1. 4.
Page 71
9. Initiate an ActiveSync connection using one of the methods described in this manual. 10. Choose Rebuild All from Build menu (or use the appropriate icon on the Toolbar). 11. The program will be built and automatically downloaded to the IT-600. By default, the program will be copied to the root folder on the terminal.
10. On the Project menu, navigate to Add To Project → Files… 11. Change Files of type: pull-down menu list to Library files (.lib). 12. Navigate to the folder where the CASIO library files are stored (see step no. 2 in the previous page), highlight SystemLib file and click OK button.
Page 73
15. Check the operation by running the program. You should find that each time the program is carried out, the screen flips 180°. You should now be able to use the CASIO System library in your C++ applications. See the System Library Manual for full detail of all the functions.
The functions of the Common Device Control Library which control various individual devices integrated in the IT-600 have different name spaces and names from those available for the previous CASIO handheld terminals. They are not compatible with the ones in the previous CASIO library.
1. Create a new VB .NET Smart Device Application in Visual Studio .NET. 2. Click Add Reference… from Project menu. 3. Click Browse and navigate to the folder where you have stored the CASIO .NET library files. Highlight SystemLibNet.dll and click Open. Click OK button.
Page 76
8. The project will be built and copied to the IT-600. By default, it will be copied to \Program Files\<name of project> folder. SystemLibNet.dll will be deployed to the same folder. 9. Check that the program works correctly on the IT-600. You can also use the CASIO samples as described in Chapter 1.4.
1. Create a new C# Smart Device Application in Visual Studio .NET. 2. Click Add Reference… from Project menu. 3. Click Browse and navigate to the folder where you have stored the CASIO .NET library files. Highlight SystemLibNet.dll and click Open. Click OK button.
Page 78
8. The project will be built and copied to the IT-600. By default, it will be copied to \Program Files\<name of project> folder. SystemLibNet.dll will be deployed to the same folder. 9. Check that the program works correctly on the device. You can also use the CASIO samples as described in Chapter 1.4.
Visual Studio. You must install Visual Studio 2005 Service Pack 1 from Microsoft. Before following the steps below, you will need to add the paths for the CASIO header and library files to Visual Studio 2008 or Visual Studio 2005. Choose Tools-Options-Projects and Solutions-VC++ Directories.
Page 80
4. Click Next > button while IT-600 is kept being highlighted in the Selected SDKs field. Figure 9.5 5. Choose Console Application for the Application type in the Application Settings menu, and click Finish button. 6. In Solution Explorer, click DeviceApp.cpp and then append the source code below subsequent to “#include <commctrl.h>”.
Page 81
7. Append the source code below in the main function of DeviceApp.cpp. DWORD result; TCHAR msg[16]; result = SysSetLED(LED_RED, 5, 8, 8); if(result == TRUE) result = SysGetLED(); switch(result & 0x0000000F) { case LED_OFF: wcscpy_s( msg, _countof(msg), TEXT("LED_OFF") ); break; case LED_RED: wcscpy_s( msg, _countof(msg), TEXT("LED_RED") );...
Page 82
11. The project will be built and copied to the “\Program Files\<name of project>” folder (by default) in the IT-600. 12. Check that the program runs correctly on the IT-600. You can also use the CASIO samples as described in Chapter 1.4.
10. Resources Microsoft’s own http://msdn.microsoft.com/mobility/ is an extremely comprehensive resource for programmers targeting WindowsCE .NET based devices. It includes links to most other useful web based resources. You will find detailed Software and Library manuals on http://world.casio.com/system/pa.
Connections from Visual Studio .NET 2003 to Pocket PC and WindowsCE .NET devices can be difficult to establish. This appears to be a Visual Studio issue and is not limited to only CASIO terminals. The good news is that once you have established an initial connection, you are unlikely to experience problems thereafter.