ProGlove Documentation

Status folder

Note

All status files are encoded in JSON so that it is both human-readable as well as machine-parsable. The output paths in the following table are relative to the volumes root directory.

The Status Folder contains the following information about the Gateway and its connected scanners:

Exporter

Output paths

Description

Error Log

Status/logs/error.log

Recent error logs truncated to max 2 MiB

Profiles

Status/profiles/current.zip

Currently saved, default and active Profiles both as Protobuf Files and JSON representations

Failed Updates

Status/failed/<original path>

Any firmware update failed to apply

Connected Marks

Status/devices/connected.json

List of currently connected scanners

Gateway Device Information

Status/software/gateway_info.json

Information about the Gateway firmware and hhardware

Installed packages

Status/software/installed.zip

Information about all installed debian packages

Gateway Device Information

The file Status/software/gateway_info.json contains information about the Gateway device and the running firmware version. The output is similar to the one obtained by scanning the Gateway Service Barcodes.

Example 1. Example:
{ 
    "serial_number": "PGGW000000024", 
    "board_serial_number": "D30910A0", 
    "distributor_pairing_name": "PGGW-00024", 
    "app_version": "v1.1.1", 
    "kernel_version": "Linux 4.19.97+ #1294 Thu Jan 30 13:10:54 GMT 2020", 
    "hostname": "progateway-D30910A0", 
    "build_date": "Thu, 14 May 2020 13:56:25 +0100" 
}


Mark Device Information

The file Status/devices/connected.json contains information about all connected scanners' hardware and firmware version. The output is similar to the one obtained by scanning the Gateway and Scanner Combined Service Barcode.

To update this file for all connected devices, eject the Mass Storage and remount it again. If the Mass Storage Mode is set to Continuous, remounting happens automatically. If set to Manually, scan the Enable Mass Storage QR code to remount.

Example 2. Example:
{ 
    "connected_scanners": [ 
        { 
            "serial_number": "MDMR000000063", 
            "firmware_version": "v2.0.1-rc1", 
            "device_model": "Mark Two", 
            "device_manufacturer": "Workaround GmbH" 
        }, 
        { 
            "serial_number": "M2MR000001252", 
            "firmware_version": "v1.4.1", 
            "device_model": "Mark Two", 
            "device_manufacturer": "Workaround GmbH" 
        } 
    ] 
}


Profiles

The file Status/profiles/current.zip is a zipped archive of all saved configuration files downloaded from Insight Webportal. It contains the Protobuf files (.wcfg1p) of the configurations sent to Gateway as well as the currently active configuration. The default profile is relevant when programmatical switching between profiles will be supported. To apply for the early access program, contact support@proglove.com.

The profile also contains a JSON directory where all the JSON representations of the above files can be found (.wcfg1p.json). Both the scanner and gateway configurations are part of this file.

Service barcodes

After connecting the scanner to the Gateway, you can access all major device information like Firmware or Hardware version by scanning the Service Barcodes.

PEP_GatewayServiceReport.png
PEP_MarkServiceReport.png

Gateway service barcode and Gateway and scanner combined service barcode