Skip to main content

Data Classes

Summary

The CODiScan™ HS7600 SDK has several callback functions which send data back within a data class.

ClassesDescription
BatteryDataContains information regarding the connected CODiScan's battery.
DeviceDataContains identifying information and firmware version regarding the connected CODiScan.
PairingDataContains a pairing code formatted both as a string, and a Bitmap of a Data Matrix code.
ScanDataContains information regarding a barcode scanned by the connected CODiScan device.

BatteryData

Contains information regarding the connected CODiScan's battery.

Members

NameTypeDescription
batteryChargeIntThe charge of the battery as an integer, representing percentage of remaining charge.
batteryProfileBatteryProfileThe battery profile, 0 -> Performance, 1 -> Health, 2 -> Save.
batteryStatusBatteryStatusThe battery status, 0 -> Charging, 1 -> Discharging.
batteryTemperatureStringThe temperature of the battery by tenths of a degree in Celsius. 101 = 10.1 C
batteryCycleCountIntThe battery cycle count.
batteryHealthIntThe health of the battery, given as an integer.

DeviceData

Contains identifying information and firmware version regarding the connected CODiScan.

Members

NameTypeDescription
deviceTypeStringThe human readable model name of the handheld device.
fwVersionStringThe firmware version of the device.
deviceIdStringThe ID of the device.

PairingData

Contains a pairing code formatted both as a string, and a Bitmap of a Data Matrix code.

Members

NameTypeDescription
pairingCodeStringA pairing code to connect a CODiScan to a mobile device.
bitmapBitMapThe pairing code formatted into a Bitmap of a Data Matrix code.

ScanData

Contains information regarding a barcode scanned by the connected CODiScan device.

Members

NameTypeDescription
rawDataByteArrayThe scanned barcode as an array of bytes.
barcodeDataStringThe scanned barcode as a string.
barcodeIDStringThe symbology of the scanned barcode as a human readable string. E.g. "UPCA"