Zebra Technologies Corporation · NASDAQ:ZBRA
Zebra Technologies — Technical Presentation (2023)
26 slides from Zebra Technologies's technical presentation, 2023
Slide 1: Embedded scripting in Python & NodeJS
Embedded scripting in Python & NodeJS Gary Crean Senior Software Engineer 1
Slide 2: User Applications (DA apps): Overview
User Applications ( DA apps ): Overview ZEBRA TECHNOLOGIES
Slide 3: User Applications
User Applications User Applications • Runs on the RFID reader, No external control software needed • Previous embedded applications were written in either C++ or Java • Difficult to maintain without a build environment setup • Support libraries and generic configuration had to be implemented every t
Slide 4: User Applications (DA apps): DA Library
User Applications User Applications (DA apps): DA Library • DA Apps must make use of the DA Library to be able to send messages across. • DA library abstracts the underlying connections between the ZIoTC components. • The DA modules are available in below languages • Python 3.9 • NodeJS • The apps m
Slide 5: Features and Highlights
User Applications Features and Highlights • Supported on FX7500, FX9600, ATR7000. • Enables connectivity to the cloud platforms to provide IOT capabilities to the reader. • Supports independent interfaces for Management, control, data and monitoring. • Supports Data retention during network disconne
Slide 6: Connectivity
User Applications Connectivity • Zebra Data Services ( ZDS ) • Message Queuing Telemetry Transport ( MQTT ) • Amazon Web Services ( AWS ) • Google Cloud Platform ( GCP ) • HTTP Post • IBM Watson IoT • TCP • Websocket • Microsoft Azure • Keyboard HID Emulation ZEBRA TECHNOLOGIES 6
Slide 7: Reader Management/Monitoring/Control
User Applications Reader Management/Monitoring/Control • Management functionalities supported • Control functionalities supported • Monitoring Events supported • Get Info • Control • Heartbeats • Status • Start • GPI • Network • Stop • Error • Region • Mode • Warnings • Configure reader • Firmware U
Slide 8: Controlling GPOs and LED
User Applications Controlling GPOs and LED • Provides an easy-to-use rules-based mechanism to control the reader GPOs and LED • User can configure: • The default state of GPOs and LED • Event of Interest upon which a GPO and LED control action can be performed • Conditions to be met for the action t
Slide 9: DA library methods overview
User Applications Overview • The following methods are available in the DA library for applications to use. • ziotc.ZIOTC() : Initializes the library. This will establish connections between the script and the other IoT Connector components • ziotcObject.reg_new_msg_callback() : Registers a callback
Slide 10: Simple Python Application
User Applications Simple Python Application def new_msg_callback(msg_type, msg_in): if msg_type == ziotc.ZIOTC_MSG_TYPE_TAG_INFO_JSON: msg_in_json = json.loads(msg_in.decode('utf-8')) tag_id_hex = msg_in_json["data"]["idHex"] ts = msg_in_json["timestamp"] tag = { “tag” : {} } tag[“id”] = tag_id_hex
Slide 11: Simple Python Application to Monitor GPI
User Applications Simple Python Application to Monitor GPI ZEBRA TECHNOLOGIES 11
Slide 12: Simple Python Application to Flash GPO
User Applications Simple Python Application to Flash GPO ZEBRA TECHNOLOGIES 12
Slide 13: Simple Python Application to decode GRAI-96
User Applications Simple Python Application to decode GRAI-96 ZEBRA TECHNOLOGIES 13
Slide 14: Rest API Interface for management
User Applications Rest API Interface for management • The Local Rest API is used to configure the RFID device • The Local Rest API can also be used to interrogate the RFID device • Local Rest API interface must be enabled in the Web Console • Local Rest API’s calls from an embedded application do no
Slide 15: Rest API Interface for management
User Applications Rest API Interface for management ZEBRA TECHNOLOGIES 15
Slide 16: Rest API Interface for management
User Applications Rest API Interface for management ZEBRA TECHNOLOGIES 16
Slide 17: Rest API Interface for management
User Applications Rest API Interface for management ZEBRA TECHNOLOGIES 17
Slide 18: Packaging the application
Packaging the application ZEBRA TECHNOLOGIES
Slide 19: Packaging
Packaging • Applications are shipped in Debian packages • The Debian package must contain a start_ and stop_ script • The Debian package also contains a control file • Installation can be either through Web Console or Reader Management software https://zebradevs.github.io/rfid-ziotc-docs/user_apps/p
Slide 20: Packaging: Example Start and Stop scripts
Packaging Example Start and Stop scripts • start_sample.sh • stop_sample.sh ZEBRA TECHNOLOGIES 20
Slide 21: Packaging: Example control file
Packaging Example control file • Control ZEBRA TECHNOLOGIES 21
Slide 22: Packaging: File Structure and building
Packaging File Structure and building • Building ( Linux Only ) dpkg-deb –build –Zgzip sample_1.0.1/ ZEBRA TECHNOLOGIES 22
Slide 23: Resources
Resources ZEBRA TECHNOLOGIES
Slide 24: Resources
Resources • Zebra IoT Connector - https://zebradevs.github.io/rfid-ziotc-docs/ • Zebra Devs GitHub - https://github.com/zebradevs • Zebra Devs Examples - https://github.com/ZebraDevs/RFID_ZIOTC_Examples ZEBRA TECHNOLOGIES 24
Slide 25: Questions
Questions ZEBRA TECHNOLOGIES 25
Slide 26: Thank You
Thank You ZEBRA and the stylized Zebra head are trademarks of Zebra Technologies Corp., registered in many jurisdictions worldwide.All other trademarks are the property of their respective owners. ©2023 Zebra Technologies Corp. and/or its affiliates. All rights reserved. ZEBRA TECHNOLOGIES