Zebra IoT Connector for scanner is a utility capable of collecting and write scanner events/statistics/data to text files, Windows Event log or HTTP Post endpoints. This sample NodeJS app aims to demonstrate how to configure the connector and send data to HTTP Post endpoints. For more info you can refer to the official documentation here.
This demo works in both Windows and Linux environments.
- Windows 11 64bit
- Windows 10 32bit
- Windows 10 64bit
- All Linux distros mentioned here
- Almost all Zebra Scanners. Compatible HW Information can be found here
- IoT Connector executable files - IoTConnector.exe for Windows and IoTConnector for linux.
- IoTConnector-Config.xml - It contains connector configuration including endpoints where it should send data.
- app.js - Simple NodeJS app that expose one HTTP Post endpoint and start the connector.
- docs/attributes_list.txt - Here you can see the full list of attributes you can get from Zebra scanners.
You can configure the IoT Connector from its config file IoTConnector-Config.xml. All the available configurations are well documented using comments. In particular, if you wish to change the endpoint, you can do it from here:
zebra-scanner-iot-connector/IoTConnector-Config.xml
Lines 10 to 25 in 494ea86
Run the following command to start the app
node app.js
The app creates a local HTTP Server and run the Connector. Connect a scanner and enjoy 🦓