background image

3

Any data obtained from the M300 is located at the onboard flash memory, unless  exlicitly specified 

the path to an external storage device.

retVal = KernelIoControl(IOCTL_HAL_GET_DEVICEID,

 

 

              0,

 

 

 

 0,

 

 

 

 OutputBuffer,

 

 

 

 OutputBufferSize,

 

 

 

 &BytesReturned);

Figure 7-4 ROM  Only File System (Hidden - file option cleared)

7.3    Application Software Development

    

7.3.1    Device ID

The M300 has an internal serial chip containing a hard-coded 48-bit unique serial number 

throughout the M300 product line. This unique number can be retrieved by calling KernelIoControl 

function with IOCTL_HAL_GET_DEVICEID.

Example - Kernal IO Control Function

SDK

Содержание M300

Страница 1: ...E SEEK Inc Breakthrough Technology in Bar Code M300 Reference Guide Rev 05C ...

Страница 2: ......

Страница 3: ...oducts might be used An implied license only exists for equipment circuits and subsystems contained in E Seek products E Seek and the E Seek logo are registered trademarks of E Seek Incorporated Other product names men tioned in this Reference Guide may be trademarks or registered trademarks of their respective companies and are hereby acknowledged The M300 product is powered by Microsoft Window C...

Страница 4: ...hapter Contents Introduction Product Specifications Getting Started Working With M300 Communications Application SDK M300 Tools Reference Accessories Trouble Shooting Appendix A Appendix B 3 B2 5 10 7 18 43 42 35 20 A1 25 ...

Страница 5: ... 2D barcode and contact smart card reading technologies A full color TFT 3 5 inch display with touch screen capabilities simplifies the interaction with the Windows CE 5 0 operating system USB Host USB Device and RS232 C interfaces provide flexibility in com munications and external device attachment The Figures that follow Figure 1 1 1 2 and 1 3 illustrate the major modules and components of the ...

Страница 6: ... Figure 1 3 Back End View Introduction Stylus Power Connector RS232 Serial USB Device Connector USB Host Port Figure 1 2 Back View Reset Button Speaker Strap Optional Rechargeable Battery ...

Страница 7: ...ernet Adapter Performance Characteristics Card Operating Mode Manual Insertion of ID Card Mag Stripe Swipe action or Smart Card Insertion Display TFT 3 5 LCD display with 240x320 pixels 260K colors high bright LED backlight and touch screen Operation Hand held or stand alone Memory 64 MB RAM 64 MB Flash 40 MB for data CPU Powerful 32 bits ARM9 processor Operating System Microsoft Windows CE 5 0 No...

Страница 8: ...mm Dimensions 2 7 height x 5 0 width x 8 0 length Weight 1 0 lb with battery Environment Operating Temperature 32o to 104o F 0o to 40o C Storage 40o to 140o F 40o to 60o C Humidity 10 to 90 non condensing Regulatory FCC and CE recognized components Product Specifications ...

Страница 9: ...se NOTE Charging the battery full can take up to three hours NOTE For replacing battery please contact E SEEK or your system provider 3 2 Unpacking M300 3 2 1 M300 Device 3 2 2 Power Supply The AC DC power supply is provided with the Model 300 to provide battery charging capability from any AC power outlet The AC DC power supply also allows the Model 300 to be operated from wall power The power su...

Страница 10: ...lus The Model 300 is provided with a USB interface cable as standard equipment This cable allows the Model 300 to interface with any standard USB port on your computer Attach this cable to any USB port on your computer and to the USB device connector RJ 45 on the Model 300 Stylus Getting Started Figure 3 2 Cable NOTE When the M300 in connected to your computer with the USB Cable the M300 battery i...

Страница 11: ... the back of the unit insert the top of the hand Strap into the pressure fit cut out at the top of the battery compartment Reinstall the battery door making sure the battery door is flush with the case plastic Secure the base of the hand Strap into the case with the screw provided 3 2 7 Quick start guide A Quick Start Guide is include with each M300 unit Software Drivers Soft copy of Manual Gettin...

Страница 12: ... of your device on Splash Screen Figure 4 2 it would stay for about 10 seconds 4 2 Setting The Time When the M300 screen comes on use the Stylus Pen and tap on the Time window on the bottom right of the display Figure 4 1 Power Button Figure 4 3 Window Working With M300 Figure 4 2 Splash Screen Power Button Version Number Time ...

Страница 13: ...Power Check To check the main battery go to Start Settings Control panel and then choose the Power Prop erties Or use the stylus pen and tap on the power on the bottom right of the display Figure 4 4 Date Time Properties Window Figure 4 5 Power Check Working With M300 ...

Страница 14: ... Keyboard has 17 keys including the numeric input keys Use the Input Panel in Win CE for entering text Figure 4 6 Keyboard Figure 4 7 Input Panel Working With M300 Virtual Key Power Button Back Key Numeric Keys Enter Key Scroll up Down ...

Страница 15: ...set The Reset Button is used only when a Program Error has caused the Computer to hang up or lock up Figure 4 8 Reset Button NOTE The reset button can only be accessed by using a long 2 inch straight pice of wire or a long thin tool Working With M300 Reset Button ...

Страница 16: ...d or Green These colors indicate the following LED Explanation Red Charging external Green Battery full 4 7 Volume Sound To set the event sounds and volume options go to Start Settings Control Panel and double tap the Volume Sounds icon Figure 4 10 Volume Sound Working With M300 LED ...

Страница 17: ... ID Cards and Driver s Licences can be read with the E Seek 2D Bar Code Scanner Scanning the barcode is as simple as inserting the ID card and then removing it in one complete motion The decoded information will be passed to the application software via Comport 2 Figure 4 11 Barcode Working With M300 ...

Страница 18: ...rmation from any magnetic stripe The reader provides full three track reading capabilities Simply swipe the card through the Magstripe reader as shown in Figure 4 12 above The reader is bidirectional so the card maybe swiped in either direction Figure 4 12 Magnetic Stripe Reader Working With M300 ...

Страница 19: ... The M300 Smart Card Reader is designed to read the information contained in a standard contact Smart Card Simply insert the Smart Card in the reader as shown in Figure 4 13 above Figure 4 13 Smart Card Reader Working With M300 ...

Страница 20: ...net 5 3 Bluetooth 5 4 Wi Fi Communications A USB Cable is include with each unit CN 8000 this cable enables the communication between the M300 and host computer The Bluetooth functionality can only be add via an external USB Bluetooth dongle This dongle is attached to the USB host connection wireless local area networks WLAN based on the IEEE 802 11 If M300 device has the Wi Fi capability and has ...

Страница 21: ...unications After you see your local area connection double click on it and you can make your own settings and get the connection Figure 5 2 Figure 5 2 Wi Fi Setting Your wireless local area network will show in here Network Connection ...

Страница 22: ...ing each change in setting the Set Button should be activated 6 1 3 Factory Button Activation of the Factory Button will set the M300 Device to the default set up and clear all the set tings Power Prefix Suffix Linear PDF417 and Magnetic 6 1 4 Revision Page Show the applications hardware configuration and serial number Figure 6 1 Revision Page Application NOTE All M300 Scanners are set to a defaul...

Страница 23: ...ntifier If the Code Identifier is enabled the standard AIM ID is added to the Prefix The Code Identifier is added to the end of the Prefix Value Serial Number The maximum length of the Serial Number is 30 characters No Control Character is allowed for a Serial Number Figure 6 2 Prefix Suffix Page Application View Set Factory View Set Factory ...

Страница 24: ...22 6 1 7 Linear Page To setup Code 128 or Code 39 parameters Figure 6 3 Linear Page 6 1 8 PDF417 Page To setup PDF417 parameters Figure 6 4 PDF417 Page Application View Set Factory View Set Factory ...

Страница 25: ...rameters LRC Longitudinal Redundancy Check Character Setup Use the LRC to setup Track Data with LRC check Character to the host after decoding Magnetic Raw Data Setup Each 8 bit Raw Data is encoded into two ASCII Characters Figure 6 5 Magnetic Page Application View Set Factory ...

Страница 26: ... With Ports Scanner COM Port Definition 2 Barcode reader 2 Magnetic reader 3 Smart card 4 RS232 External 6 3 Adding the program What is needed M300 Cable Active Sync SDK Newest Application Program Device Application ...

Страница 27: ...view Figure 7 1 M300 Block Diagram M300 uses Samsung s powerful S3C2440 CPU running at 300MHz and provides users a TFT 3 5 inch LCD display A 64MB SDRAM and a 64MB NAND flash memory give more flexible spaces for your application and data Barcode reader module and Smartcard reader module are accessible through serial communication ports Getting barcode data is just as simple as reading data from CO...

Страница 28: ... 2 Flash Memory Map Applications typically rely on Windows CE s virtual addressing scheme The main memory on M300 is mapped between 0x8000_0000 and 0x83FF_FFFF Figure 7 2 M300 Memory Map cacheable region SDK ...

Страница 29: ...ider XML HTTP XML Query Languages XML SAX Communication Services and Networking Wired Local Area Network Wireless LAN STA Bluetooth HID Keyboard Bluetooth HID Mouse Bluetooth HS HF and Audio Gateway Service Bluetooth PAN Bluetooth Stack with Integrated USB Driver Bluetooth Stack with Universal Loadable Driver Dial Up Networking RAS PPP Telephony API TAPI 2 0 Extensible Authentication Protocol NDIS...

Страница 30: ...ystem FAT File System System Password Fonts Courier New Subset 1_30 Tahoma Subset 1_30 Graphics and Multimedia Technologies Waveform Audio Gradient Fill Support Still Image Codec Support Still Image Decoders Still Image Encoders DirectShow International Input Method Manager National Language Support Internet Client Services Internet Explorer Multiple Language Base API URL Moniker Services Windows ...

Страница 31: ... safely kept when M300 is OFF Some applications may add some keys onto the M300 registry It is important to understand that reg istry changes are not automatically saved whenever the registry is modified Saving modified registry keys requires an explicit call to the RegFlushKey Windows CE API function However keep in mind that it will wear out the flash memory fairly soon if your application const...

Страница 32: ...orer 7 2 6 ROM Only File System A device like HP ipaq which provides the RAM and ROM File System explicitly shows you a hard disk folder and the Windows folder However there is no hard disk folder in M300 because it uses ROM Only file system which treats a hard disk and the object store as one ROM Figure 7 3 ROM Only File System SDK ...

Страница 33: ... OutputBufferSize BytesReturned Figure 7 4 ROM Only File System Hidden file option cleared 7 3 Application Software Development 7 3 1 Device ID The M300 has an internal serial chip containing a hard coded 48 bit unique serial number throughout the M300 product line This unique number can be retrieved by calling KernelIoControl function with IOCTL_HAL_GET_DEVICEID Example Kernal IO Control Function...

Страница 34: ...tion It consists of the DEVICE_ID structure followed by a PresetID and a PlatformID The PresetID represents the device manufacturer and device model The PlatformID is the unique number for each device among same models Figure 7 5 Data Returned By The Kernel To Control Function SDK ...

Страница 35: ...rd project by using Microsoft device independent APIs without knowing low level smartcard interfaces M300 SDK includes necessary libraries for developing a smartcard application For more general information about a smartcard and readers http www cardwerk com smartcards smartcard_standards aspx http www pcscworkgroup com For the Smartcard on Windows CE consult http msdn microsoft com library defaul...

Страница 36: ... is OFF as default It is recommended for developers to unload the M250Decoding dll when the Power saving mode is ON 7 3 5 Serial Communication with M300 The M300 exports its serial port COM4 to a host computer or other devices SDK ...

Страница 37: ...0 Step 2 Make following directories at a host computer and populate it with the below files DNW directory DNW exe secbulk sys secbulk inf Note You will notice that some registry keys are wiped out after upgrading OS image If those were related to running an application it won t be executed at all Step 3 Turn OFF M300 Step 4 Run DNW Application Set the baud rate to 115200 and an appropriate COM por...

Страница 38: ... to connect between M300 and a host computer M300 remain s OFF Step 6 Select Connect from the Serial Port menu Figure 8 3 Select Conect Successful connection gives you the following message on the title bar Figure 8 4 Successful Conection M300 Tools Reference ...

Страница 39: ...inutes on a LCD panel Figure 8 5 Upgrade Mode With successful start you can see upgrading splash image on LCD panel If failed please press the RESET button at the back of M300 and repeat Step 7 Step 8 Verify the option 2 and 3 to have the below settings You can toggle their values by entering their selection number Figure 8 7 USBoot Configuration Options M300 Tools Reference Figure 8 6 Upgrade Ima...

Страница 40: ...ce driver for M300 is needed on your host computer If the USB device driver is already installed and the DNW indicates USB OK Figure 8 13 then go to Step 11 Otherwise The following is how to install the driver 1 PC will detect the new hardware M300 Portable ID Reader Figure 8 8 Detecting M300 Portable ID Reader 2 Install the driver Figure 8 9 Install the Driver Specify the directory which contains...

Страница 41: ...zard asked for the location of secbulk sys file specify the directory containing a secbulk sys Figure 8 10 Specify the Directory Contains secbulk Figure 8 11 Specify the Location of Secbulk inf M300 Tools Reference ...

Страница 42: ...ts the USB connection from M300 it will display USB OK at the title bar If DNW program couldn t detect the M300 start from Step 7 Step 12 Select Transmit from the USB Port menu and then open NKx bin Figure 8 12 Succesfull Instalation Figure 8 13 dnw exe Detects the USB Connection Figure 8 14 Select Transmit M300 Tools Reference ...

Страница 43: ...41 Figure 8 15 Open OS Image Step 13 Wait for complete download followed by copping process into the M300 flash The wait continues until the windows CE start at M300 You are Done M300 Tools Reference ...

Страница 44: ...42 9 0 Accessories 9 1 USB Flash Driver 9 2 USB Bluetooth Adapter 9 3 Wi Fi 802 11g Internal 9 4 Extra battery 9 5 AC DC Power Supply 9 6 USB Cable for PC 9 7 USB Ethernet Adapter Accessories ...

Страница 45: ...43 12 0 Trouble shooting Please check link below Trouble Shooting http www e seek com faq asp ...

Страница 46: ...44 ...

Страница 47: ...irection REMARK 1 USB POWER IN USB Power 5V 2 POWER IN Main Power 7V to 18V 3 D IN OUT USB DATA Signal 4 D IN OUT USB DATA Signal 5 GND Ground for both 6 TXD OUT Transmit Data 7 RXD IN Receive Data 8 RTS OUT Request to Send 9 CTS IN Clear to Send Appendix A ...

Страница 48: ...OH character followed by the two commands and the End character Commands Each command data is bounded in characters For example the factory default command is FACDEF 1 End Character At the end of each set of command s the end character EOT ASCII value 04 is required Scanner Responds After each successful command s the scanner will respond with an ACK character If the command is incomplete or out o...

Страница 49: ...canner model number FINGER or request a respond to a ping command TXPING Scanner Response SETPAR ACK followed by a complete list of settings each field is sent sepa rately with its start and stop character and followed by r n after the last field NAK FINGER ACK followed by a model name and r n NAK TXPING ACK NAK Description Field Values allowed Factory Default Default FACDEF 1 Description Field Va...

Страница 50: ...aracters and no control character is allowed for a serial number Example SOH SERIAL EOT Scanner Response ACK XXXXXXXXXX r n NAK X is a printable ASCII with variable length Description When this option is enabled the data will be sent before the decoded data The default is a disable Scanner Response ACK NAK Description Field Values allowed Send Revision Number Application 1 APP1RV Application 2 APP...

Страница 51: ... Line Feed is SOH SUFFIX AbC CR LF EOT Then the suffix value is added to the end of every good read the control characters are sent in ASCII characters Code Identifier If the code identifier is enabled then the standard AIM ID is added to the prefix The AIM ID values are the following Code39 A Code128 C PDF417 L Magnetic M The Code identifier is added to the end of the prefix value Scanner Respons...

Страница 52: ... Scanner Response ACK NAK PDF417 Setup Description To setup PDF417 parameters changes will be effective after scanner ACK response Scanner Response ACK NAK Description Field Values allowed Code 39 Enable CD39EN 1 Disable CD39EN 0 Code 39 Start Stop Char Send CD39SS 1 Hide CD39SS 0 Description Field Values allowed Code 128 Enable CD128E 1 Disable CD128E 0 Description Field Values allowed PDF417 Ena...

Страница 53: ... 1 2 3 Enable MAG1EN 1 Disable MAG1EN 0 Enable MAG2EN 1 Disable MAG2EN 0 Enable MAG3EN 1 LRC Longitudinal Redundancy Check Character Setup Description To setup track data with LRC Check Character to the host after decoding Changes will be ef fective after scanner ACK response This command affects all enabled tracks Scanner Response ACK NAK Description Field Values allowed LRC Character Enable MAGL...

Страница 54: ...ective after scanner ACK response This command affects all enabled tracks Scanner Response ACK NAK Description Field Values allowed LRC Character Enable MAGLRC 1 Disable MAGLRC 0 Appendix B Magnetic Raw Data Setup Description To setup raw data output to the host Each 8 bit raw data is encoded into two ASCII characters Example 0000 0110 1011 0000 0 6 B 0 4 leading zeros data 4 trailing zeros Hex re...

Страница 55: ...he card The reader reports an error using the ASCII string NR0 HEX 45 52 30 Any enabled prefixes or suffixes are appended around this message The reader does not send the Code ID even in case that the option is enabled Appendix B PDF417 Barcode If there is a problem in reading a PDF417 on the card the reader reports an error using the ASCII string NR HEX 45 52 followed by a character indicating a ...

Страница 56: ... Example SOH REGKEY EOT Scanner Response ACK XXXXXXXXXX r n NAK X is a printable ASCII with variable length Scanner Response ACK NAK Description Field Values allowed Reg Key Read REGKEY Add to stream Enable REGIEN 1 Disable REGIEN 0 Reg Key Write REGKEY Do not use write function on every scanner reads the maximum write is 10 000 times Baud Rate Description All M300 Scanners are set to a default 96...

Страница 57: ...B11 ...

Страница 58: ...nc www e seek com R D Center 4360 Viewridge Ave Unit B San Diego CA 92123 Tel 858 495 1900 Fax 858 495 1901 Rev 05C 300802 5C Sales Marketing 245 Fischer Ave D5 Costa Mesa CA 92626 Tel 714 394 5789 Fax 714 545 3595 ...

Отзывы: