background image

 

.NET Compact Framework Limitations 

You use the same Visual Studio .NET environment that you use when developing desktop applications, 
but in order to fit the .NET Framework into the operating constraints of Windows CE, the following 
limitations apply:  

 

Method Overloads

—overloading a method provides alternative ways to call that method, but 

it also increases the size of the Framework. As a result, the .NET Compact Framework 
trimmed the overloads from almost all methods. Consequently, there is a good chance that a 
particular method overload you used with a desktop application will not be available when 
developing .NET Compact Framework-based applications.  

 

Missing Control

s—a number of .NET Framework controls are not part of the .NET Compact 

Framework. The absence of most of these controls (such as printing) is insignificant to mobile 
developers. You can replace many of the missing dialogs with your own dialogs or by 
accessing system dialogs directly using the Windows CE API. 

 

XML Functionality

—as much as the .NET Compact Framework offers in the way of XML, an 

equal amount of functionality was trimmed. A key missing XML-related component is the 

System.Xml.Xpath

 namespace. In its absence, you can use a combination of recursive and 

iterative searches against the Document Object Model (DOM). Another missing key XML 
component is Extensible Stylesheet Language Transformation (XSLT), which convert an XML 
document into different formats. In addition, the .NET Compact Framework does not 
currently provide support for developing device-based XML Web services. 

 

Database Support

—the .NET Compact Framework offers a robust set of data-related tools. 

SQL Server CE provides local database support, while on the server side, the .NET Compact 
Framework provides support for SQL Server.  

 

Binary Serialization

—due to size and performance considerations both the 

BinaryFormatter

 

and 

SoapFormatter

 classes are not part from the .NET Compact Framework. 

 

Access to the Windows Registry

—the .NET Framework uses the Microsoft.Win32.Registry 

namespace to work with the Windows registry from an application. Because it relates to Win32 
and not Windows CE, this namespace was not included in the .NET Compact Framework. 
However, you can access the Windows CE registry by invoking the relevant Windows APIs. 

 

Leveraging COM Components

—incorporating COM objects into a .NET Compact 

Framework-based application is a two-step process. First, you must write an unmanaged DLL 
wrapper using eMbedded Visual C++ that exposes the COM object. Then, you must use 

Pinvoke

 to access your DLL wrapper. 

 

Security

—the .NET Compact Framework does not secure access to unmanaged code. Any 

application can call any system or non-system API. There is currently no role-based security 
with the .NET Compact Framework. The principal object has no understanding of known 
identity or known role. 

 

ate 

 

 

oes not natively support GDI+, and therefore is not part of the 

 

 

ou should 

implement an XML Wed service façade for the component and access it that way. 

XML Web Services

—the most notable exclusion from the .NET Compact Framework XML 

Web service capabilities is the ability to use cookies. Cookies are widely used to maintain st
on the server between calls from a client. While the use of cookies in Web services is not as 
prevalent as their use on Web sites, they are still in use. The .NET Compact Framework offers 
limited cryptographic abilities with respect to Web services. 

Printing

—the .NET Compact Framework provides no support for printing. There is no easy 

way to interact with network printers. The workaround for accessing network printers is to 
build a server-based application, which accepts and prints jobs submitted by your application.  

GDI+

—Windows CE .NET d

.NET Compact Framework. 

Remoting

—the initial release of the .NET Compact Framework does not support remoting. If

you need to communicate with .NET components situated on a remote machine, y

JETT•RFID Technical Reference Manual, MAN0339, Rev. A, Preliminary 

5-3

Summary of Contents for JETT RFID

Page 1: ...JETT RFID Technical Reference Manual MAN0339 Rev A Preliminary...

Page 2: ......

Page 3: ...echnologies OEMs incorporating the JETT RFID into their products Please note that this publication contains material that may not be appropriate for disclosure to some end users and that Two Technolog...

Page 4: ...hich will not exceed ten percent 10 of the original purchase price have the date code updated by the Seller and thereby reestablish those products with a new warranty THE FOREGOING WARRANTY AND REMEDI...

Page 5: ...s radioelectrique depassant les limites applicables aux appareils numeriques de la class A prescrites dans le Reglement sur ie broullage radioelectrique edicte par le ministere des Communications du C...

Page 6: ...Desktop 3 9 Desktop Functions 3 9 The Taskbar 3 10 The Start Menu 3 10 Using ActiveSync 3 11 Initial Communication 3 11 Disconnecting from the Development System 3 13 Subsequent Communication 3 13 Pe...

Page 7: ...Figure A 1 Auxiliary Port Cable Connections 2 5 Figure A 1 Power Suspend Switch 3 1 Figure A 1 Charge Low Battery Indicator 3 3 Figure A 1 Changing Batteries 3 4 Figure A 2 Battery Orientation 3 5 Fig...

Page 8: ......

Page 9: ...nd computers for over fifteen years By implementing state of the art design and manufacturing techniques we revolutionized hand held terminals and computers inside and out Today Two Technologies offer...

Page 10: ...lectronics s tactless JETT RFID Features RFID comes standard as a battery powered unit with a rechargeable Nickel Metal Hydride ws CE NET Professional 4 2 as its operating system You can develop s uti...

Page 11: ...n Capabilities The JETT RFID comes standard with its JETT connect system interface configured as COM1 for RS 232 serial communication The JETT connect system can also optionally support a second commu...

Page 12: ......

Page 13: ...nd Indicators Table 2 1 Front Components and Indicators Item Function Description 1 Display Supertwist nematic liquid crystal display with touch screen 2 Battery Indicator Indicates low battery red st...

Page 14: ...in its storage position show above or swing out up to 180 degrees for maximum range For more information about using the RFID module see Using the RFID Module 2 Battery Compartment The battery compart...

Page 15: ...l communication and output power at 5 VDC to operate peripheral devices such as bar code scanner The JETT connect port also provide power input at 11 to 18 VDC for line power or battery charging opera...

Page 16: ...CELAT P Modular to DE 9S Adapter 1 Use of other power supplies may cause damage to the unit and void the warranty Cable Connections JETT connect System The JETT connect system is a set of rugged inter...

Page 17: ...ble is not compatible with telephone lines or signals Connecting the JETT RFID to a telephone line will damage it and void the warranty To connect power to the JETT RFID using a 1210 series modular in...

Page 18: ......

Page 19: ...Figure A 1 Power Suspend Switch Power On To power on the JETT RFID 1 Press and hold the ON OFF switch for one second 2 The unit should turn on and begin displaying the boot up process For example Whe...

Page 20: ...uspend mode press and release the ON Off switch To take the JETT RFID out of Suspend mode either touch the screen or press and release any key The display will turn on and the JETT RFID will resume ru...

Page 21: ...Settings in the Control Panel or on some units by using the keypad Shorten Auto suspend time the JETT RFID is automatically set to suspend operation to conserve battery power when you have not used t...

Page 22: ...tor into the corresponding connector on the bottom of the JETT RFID Plug the power supply transformer into a power outlet See Figure A 1 2 The Charge LED should turn on indicating that the batteries a...

Page 23: ...cators located above the ON OFF switch to indicate the active state of keypad modifier keys Units with internal batteries also use a LED to indicate the battery status Table 3 1 Units with 45 key keyp...

Page 24: ...ke effect when first pressed and typically remain in effect until you press another key unless its another Modifier key Optionally equipped units can use LEDs to indicate the selection of a Modifier k...

Page 25: ...ed operation On the standard JETT RFID keypad the functions and characters accessed via the 2nd key appear at the bottom of a key shaded in blue Figure A 1 Multifunctional Key A Delete Table 3 2 Modif...

Page 26: ...ST Microelectronics GemWave by TagSys and PicoTag from Inside Contactless The RFID module is totally application dependent and derives power from the COM2 port The RFID module has a flip out antenna t...

Page 27: ...lities from the JETT RFID desktop Table 3 3 Desktop Functions Icon Function Description Recycle Bin Use the Recycle Bin to restore deleted files or empty the bin to create more disk space My Computer...

Page 28: ...Status Icons The JETT RFID will display power status icons Table 3 4 in the taskbar status area Figure A 1 to indicate power use charging status and low battery conditions Table 3 4 Power Status Icon...

Page 29: ...bout Microsoft ActiveSync from the Help menu Initial Communication To setup initial communication between the development system and the JETT RFID 1 Connect the JETT RFID interface cable to an availab...

Page 30: ...onnecting message on the JETT RFID will close and the Set Up a Partnership dialog box will appear on the PC 7 On the Set Up a Partnership dialog box select No and click Next If a successful connection...

Page 31: ...sessions 1 If not already attached connect the JETT RFID interface cable to an available COM port on the JETT RFID Development System and to the COM 1 port of the JETT RFID 2 On the JETT RFID desktop...

Page 32: ...ings in the Control Panel or installing software you can permanently store registry changes without writing to flash memory by using the Persistent Registry Note The JETT RFID will also store registry...

Page 33: ...necessary drivers If you are not sure check with the card manufacturer before attempting to install the card Inserting and Removing Cards To insert a card 1 With the front of the display facing you p...

Page 34: ...e the installation If the JETT RFID cannot find the correct driver for the device or you wish to install the driver that came with the card you must first install copy the software supplied by the car...

Page 35: ...e Time Use this function to adjust the date time and time zone Dialing Use this function to adjust the dialing location settings and dialing patterns when using a modem Display Use this function to ad...

Page 36: ...n to recalibrate the touch screen and adjust the stylus double tap rate System Use this function to view system information change the RAM Program Storage memory division change the device name and ch...

Page 37: ...tap Save Registry Taskbar and Start Menu Settings To change the Taskbar and Start Menu settings 1 Select Start Settings Taskbar Start Menu The Taskbar and Start Menu Properties dialog box opens 2 Sele...

Page 38: ...select Programs and tap Save Registry Connecting to a Mail Server You can send and receive e mail by connecting to a POP3 or IMAP4 server Inbox contains an e mail service for each method you use For...

Page 39: ...ished select Inbox in the Taskbar and continue setting up Inbox Enter the POP3 Host or Server IMAP4 name of the mail server you use to receive and send messages Enter the User ID user name or mailbox...

Page 40: ...oose any of the settings as needed then click Finish The Mail Service Setup wizard closes and the Options dialog box reappears Note Receiving entire messages consumes storage memory 11 Close the Optio...

Page 41: ...Visual Studio NET and the NET Compact Framework When performance the smallest working set and low level control are a top priority use eMbedded Visual C Development Tools To write Windows CE NET 4 2...

Page 42: ...splay Super VGA 1024 x 768 or higher resolution display with 256 colors Mouse Mouse or compatible pointing device 1 Visual Studio NET 2003 does not support creating ASP NET Web applications or ASP NET...

Page 43: ...r classes are not part from the NET Compact Framework Access to the Windows Registry the NET Framework uses the Microsoft Win32 Registry namespace to work with the Windows registry from an application...

Page 44: ...CPU 1 Using ActiveSync establish communication with the JETT RFID 2 Start Visual Studio NET 2003 3 On the Tools menu click Select Windows CE Device CPU The Select Windows CE Device CPU dialog box ope...

Page 45: ...en select the Location of the project such as C Visual Studio Projects 7 Click OK The Smart Device Application Wizard opens 8 Select Windows CE as the target platform Windows Application as the projec...

Page 46: ...rd toolbar choose Release from the Solution Configurations list box 2 From the Build menu select Build HelloWorld Visual Studio NET will then build the HelloWorld application Review the Output panel t...

Page 47: ...from the Misc subdirectory and click OK Visual Studio NET will then add the icon to the project files and set the icon file s Build Action to Content 3 From the Build menu choose Build Cab File This...

Page 48: ...l only store the files temporarily in the unit s DRAM i e if you turn the power off the application files will be lost To store the files permanently you can either copy the files to internal compact...

Page 49: ...xisting applications to Visual Basic NET However Visual Basic NET does includes an Upgrade Wizard for migrating Visual Basic 6 0 application and some portion of your eMbedded Visual Basic applications...

Page 50: ...its online help Creating a Hello World Application To create a Hello World project 1 Using ActiveSync establish communication with the JETT RFID 2 Start eMbedded Visual C 4 0 3 From the File menu sele...

Page 51: ...folder and then double click IDD_HELLWORLD_DIALOG The HelloWorld form opens in the adjoining pane From the Controls toolbar drag a button onto the form Note If the Controls toolbar does not appear you...

Page 52: ...the application on the JETT RFID 3 On the JETT RFID navigate to the My Computer folder and double tap the HelloWorld icon to run the application 4 Tap Click Here on the form to display Hello Word Tap...

Page 53: ...s CE Device dialog box opens 3 Under JettCE select JettCE Device and click OK eMbedded C 4 0 will then attempt to copy the necessary files to the JETT RFID to view the registry 4 After the file transf...

Page 54: ...ing example executes JETTKBTOOL using Jet55key txt as it argument to create the file Jet55key rmt JETTKBTOOL Jett55key txt Errors Messages Message Description Unable to open filename ext JETTKBTOOL ca...

Page 55: ...2 G SCANCODE 1 3 H SCANCODE 2 0 I SCANCODE 2 1 J SCANCODE 2 2 K SCANCODE 2 3 L SCANCODE 3 0 M SCANCODE 3 1 N SCANCODE 3 2 O SCANCODE 3 3 P SCANCODE 4 0 Q SCANCODE 4 1 R SCANCODE 4 2 S SCANCODE 4 3 T S...

Page 56: ...func V COMMA REMAPPING func W TILDA REMAPPING func X USER_DEF3 REMAPPING func Y F11 REMAPPING func Z F12 REMAPPING func PERIOD BACKSLASH REMAPPING func KEY7 F7 REMAPPING func KEY8 F8 REMAPPING func K...

Page 57: ...ON B W CLEAR F10 NUMPAD2 SHIFT C X COLON F11 NUMPAD3 SLASH D Y COMMA F12 NUMPAD4 SPACE E Z CONTROL FUNCTION NUMPAD5 STAR F DELETE HASH NUMPAD6 SUBTRACT G DOLLAR HOME NUMPAD7 TAB H DOUBLEQUOTE INSERT N...

Page 58: ...s BEEP_USER PBEEP_USER define FREQUENCY_MIN 56 Frequency Min define FREQUENCY_MAX 20000 Frequency Max define VOLUME_MIN 1 Normalized Volume Min define VOLUME_MAX 100 Normalized Volume Max define DURAT...

Page 59: ...integrated devices such as RFID or Bluetooth cards Setting the screen brightness Turning Auxiliary Power On and Off The following code snippet written in Visual Basic NET shows you how to turn on and...

Page 60: ...d to permanently store the file ListFiles exe will then display the total number of files found on the JETT RFID 4 Tap OK to close the Files Found dialog 5 Exit ListFiles exe 6 Copy and install the ne...

Page 61: ...FileCopy txt file FileCopy txt Commands Each line in the FileCopy txt file must begin with one of the following command line arguments Function Arguments Copy File copy path source_file path file_name...

Page 62: ......

Page 63: ...uter but when I turn on the JETT RFID my transferred files are missing Solution To store transferred files permanently you must file copy the files into internal flash memory or a compact flash card O...

Page 64: ...sh or device card Solution The card is not installed or seated properly Reinstall the card There may be an unstable connection between the card and the JETT RFID Remove the card clean the edge connect...

Page 65: ...tional Operating System Windows CE NET 4 2 Professional Memory and Mass Storage SDRAM 64MB Internal Compact Flash 64 MB standard 16MB reserved for OS upgradeable to 128MB Optional Compact flash card s...

Page 66: ...tion available for use when the RFID reader is not active Either interface connection can optionally provide output at 5 VDC to operate peripheral device Physical Dimensions Height H 9 84 Inches 250 m...

Page 67: ...e DE9 RS 232 Signal and Pin Assignments JETT Connect DE 9 Connector 9 8 7 6 5 4 3 2 1 9 8 7 6 5 4 3 2 1 11 10 12 Pin 1 Reserved Pin 2 GND Pin 3 RI Blue Pin 4 CTS Pin 5 DTR Pin 6 TXD Pin 7 DSR Pin 8 RT...

Page 68: ...4 DSR DCD In Pin 3 RXD In Pin 6 DTR Out Pin 8 RTS Out Power Viewed Facing Connector Blue Gray Red Orange Green Brown Black Violet White Yellow White w Black Stripe Violet 1210 Series Modular Interface...

Page 69: ...the CELAT P adapter Figure B 1 CELAT P Adapter 6 Pin Modular Jack DE 9 Connector Pin 5 Ground Pin 2 RXD Pin 3 TXD Pin 8 CTS Pin 7 RTS Pin 6 DSR Pin 9 RI Pin 1 DCD Pin 4 DTR Power Viewed Facing Connec...

Page 70: ......

Page 71: ...rk and Dial up Connections 4 1 Application Development 5 1 Owner 4 1 Application Types 5 1 Password 4 1 Auxiliary Port Cable Connections 2 5 PC Connections 4 1 Power 4 2 B Regional Settings 4 2 Remove...

Page 72: ...eous Functions 5 19 Preliminary Setup 5 4 Adjusting Screen Brightness 5 19 Turning Auxiliary Power On and Off 5 19 H Modifier Key Actions 3 7 High Power Charge 3 3 Modifier Keys 3 6 Modular Cable Adap...

Page 73: ...4 Using the Compact Flash Slot 3 15 Setting Up Identification for Remote Networks 4 4 Using the RFID Module 3 8 SHIFT Key 3 6 Using the Windows CE NET Remote Registry Editor 5 13 Signal and Pin Assign...

Reviews: