Device statistics

Role

Read the statistics from a device.

Prototype

URL : /device/{$id}/stats

Method : GET

URL Params : {$id} : the DeviceId of the device. Use GET /devices to enumerate the connected devices.

Request data : None

Success Response

Code : 200 OK

Content : a DEVICE-STATS object, as specified below.

DEVICE-STATS object definition

Field name Type Status Description
StartupCount integer optional Startup count
CleanShutdownCount integer optional Clean shutdown count
CleanRestartCount integer optional Clean restart count
SuspendCount integer optional Suspend count
ResumeCount integer optional Resume count
OperatingModeChangeCount integer optional Operating mode change count
ByHostConfigChangeCount integer optional By host config change count
ByMasterCardConfigChangeCount integer optional By Master Card config change count
UpgradeResetCount integer optional Upgrade reset count
FactoryResetCount integer optional Factory reset count
FlashBlocksEraseCount integer optional Flash blocks erase Count
PowerOnChargerTime integer optional Power on charger time
PowerOnBatteryTime integer optional Power on battery time
PowerOnUsbTime integer optional Power on USB time
PowerOnPoeTime integer optional Power on POE time
BatteryChargeCycles integer optional Battery charge cycles
BatteryChangeCount integer optional Battery change count
BatteryVoltageMin integer optional Battery voltage min
ContactlessDiscoverCount integer optional Contactless discover count
ContactlessTemplateSuccessCount integer optional Contactless template success count
UhfDiscoverCount integer optional UHF discover count
BleTokensDiscoverCount integer optional BLE tokens discover count
BleTokensTemplateSuccessCount integer optional BLE tokens template success Count
Id1InsertionCount integer optional ID-1 insertion count
SamAInsertionCount integer optional SAM A insertion count
SamBInsertionCount integer optional SAM B insertion count
SamCInsertionCount integer optional SAM C insertion count
SamDInsertionCount integer optional SAM D insertion count
SerialConnectionCount integer optional Serial connection count
TelnetConnectionCount integer optional Telnet connection count
UsbConnectionCount integer optional USB connection count
BleConnectionCount integer optional BLE connection count
TcpConnectionCount integer optional TCP connection count
ValidMasterCardCount integer optional Valid master card count
FailedMasterCardCount integer optional Failed master card count
FailedAuthenticationCounters integer optional Failed authentication counters
ValidAuthenticationCount integer optional Valid authentication count
FailedAuthenticationCount integer optional Failed authentication count
DecryptionErrorCount integer optional Decryption error count
LocalDownloadCount integer optional Local download count
LocalErrorCount integer optional Local error count
RemoteDownloadCount integer optional Remote download count
RemoteErrorCount integer optional Remote error count
FirmwareChangeCount integer optional Firmware change count
FirmwareUpgradeCount integer optional Firmware upgrade count
MicoreFwUpgradeCount integer optional Micore FW upgrade count
BgmFwUpgradeCount integer optional BGM FW upgrade count
AudiopackUpgradeCount integer optional AudioPack upgrade count
DaugtherBoardUpgradeCount integer optional Daugther Board upgrade count
FirmwarePanicCount integer optional Firmware panic count
WatchdogResetCount integer optional Watchdog reset count
FaultResetCount integer optional Fault reset count
MicoreFaultCount integer optional Micore fault count
BgmFaultCount integer optional BGM fault count
LastError integer optional Last error

Example

{
	"StartupCount": 24,
	"CleanShutdownCount": 2,
	"CleanRestartCount": 104,
	"UpgradeResetCount": 45,
	"FlashBlocksEraseCount": 629,
	"PowerOnChargerTime": 3387,
	"PowerOnUsbTime": 2699,
	"ContactlessDiscoverCount": 4,
	"SamAInsertionCount": 24,
	"LocalDownloadCount": 18667,
	"FirmwareUpgradeCount": 15
}

Error Response

See Error Responses.