Scanner WMI Driver Developer’s Guide - Zebra Technologies

SCANNER WINDOWS MANAGEMENT INSTRUMENTATION DRIVER DEVELOPER'S GUIDE

SCANNER WMI DRIVER DEVELOPER'S GUIDE

72E-149785-04 Revision A April 2019

ii WMI DRIVER DEVELOPER'S GUIDE

No part of this publication may be reproduced or used in any form, or by any electrical or mechanical means, without permission in writing from Zebra. This includes electronic or mechanical means, such as photocopying, recording, or information storage and retrieval systems. The material in this manual is subject to change without notice.

The software is provided strictly on an "as is" basis. All software, including firmware, furnished to the user is on a licensed basis. Zebra grants to the user a non-transferable and non-exclusive license to use each software or firmware program delivered hereunder (licensed program). Except as noted below, such license may not be assigned, sublicensed, or otherwise transferred by the user without prior written consent of Zebra. No right to copy a licensed program in whole or in part is granted, except as permitted under copyright law. The user shall not modify, merge, or incorporate any form or portion of a licensed program with other program material, create a derivative work from a licensed program, or use a licensed program in a network without written permission from Zebra. The user agrees to maintain Zebra's copyright notice on the licensed programs delivered hereunder, and to include the same on any authorized copies it makes, in whole or in part. The user agrees not to decompile, disassemble, decode, or reverse engineer any licensed program delivered to the user or any portion thereof.

Zebra reserves the right to make changes to any software or product to improve reliability, function, or design.

Zebra does not assume any product liability arising out of, or in connection with, the application or use of any product, circuit, or application described herein.

No license is granted, either expressly or by implication, estoppel, or otherwise under any Zebra Technologies Corporation, intellectual property rights. An implied license only exists for equipment, circuits, and subsystems contained in Zebra products.

iii

Revision History

Changes to the original guide are listed below:

Change -01 Rev A -02 Rev A -03 Rev A -04 Rev A

Date 5/2011 3/2012 4/2015 4/2019

Description Initial Release. Updates for 64-bit. Zebra Rebranding. Updated: - File directory on pg 3-1, 3-8, 4-2 and 4-5 - Copyright statement on the last page.

iv WMI DRIVER DEVELOPER'S GUIDE

TABLE OF CONTENTS

Revision History .............................................................................................................................. iii Introduction ..................................................................................................................................... vii Chapter Descriptions ...................................................................................................................... vii Notational Conventions................................................................................................................... viii Service Information ......................................................................................................................... viii

Chapter 1: INTRODUCTION TO THE ZEBRA SCANNER WMI DRIVER Overview ........................................................................................................................................ 1-1 Zebra Scanner WMI Driver Architecture .................................................................................. 1-2 Managed Objects and Providers ........................................................................................ 1-2 WMI Infrastructure .............................................................................................................. 1-3 WMI Management Applications and Scripts ...................................................................... 1-3 Zebra WMI Provider Plug-in ............................................................................................... 1-3 Supported Devices ............................................................................................................. 1-3 System Requirements ........................................................................................................ 1-3

Chapter 2: INSTALLATION INSTRUCTIONS Overview ........................................................................................................................................ 2-1 Basic Installation Verification ......................................................................................................... 2-2 Configuration .................................................................................................................................. 2-3 Scanner Configuration Bar Codes ........................................................................................... 2-3 USB Communication Protocol ............................................................................................ 2-3

Chapter 3: ZEBRA WMI PROVIDER SCHEMA IN COMMON INFORMATION MODEL (CIM) Zebra Scanner WMI MOF File ....................................................................................................... 3-1 Properties, Methods and Events .................................................................................................... 3-1 Properties ................................................................................................................................. 3-1 Methods ................................................................................................................................... 3-6 Events ...................................................................................................................................... 3-8 Zebra Driver WMI MOF File ..................................................................................................... 3-8

Table of Contents vi

Chapter 4: TEST UTILITIES AND SOURCE CODE Overview ........................................................................................................................................ 4-1 Test Utilities Provided in the SDK .................................................................................................. 4-2 Scanner WMI C# Sample Application ...................................................................................... 4-2 Driver WMI C# Sample Application .......................................................................................... 4-5

Appendix A: XML SCHEMAS Overview ........................................................................................................................................ A-1 GetAllAttributes .............................................................................................................................. A-2 GetAttributes .................................................................................................................................. A-3 Schema for AttNumberList ....................................................................................................... A-3 Schema for AttValueList .......................................................................................................... A-3 SetAttributes and StoreAttributes ................................................................................................... A-4 GetDeviceTopology ....................................................................................................................... A-5 SymbScnrFirmwareUpdateEvent ................................................................................................... A-6 Session Start ............................................................................................................................ A-6 Download Start ........................................................................................................................ A-6 Download Progress .................................................................................................................. A-6 Session End ............................................................................................................................. A-7 Download End .......................................................................................................................... A-7 Error ......................................................................................................................................... A-7 SymbScnrDiscoveryEvent ............................................................................................................. A-8 Corded Scanner ....................................................................................................................... A-8 Cordless Scanner .................................................................................................................... A-9

Index

Glossary

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download