Skip to main content

Veritran Docs

[en] CleanRecords

[en] This function allows you to delete event logs saved to the database to free up storage space on the device.

[en] Parameter Configuration

[en] This function requires the configuration of the ID that sets the limit up to which events will be deleted. If no ID is set, all events will be deleted from the database. Refer to the Input Registers section to learn more.

[en] Function ID

[en] Register

[en] Value

110

3

[en] Input Registers

[en] Register

[en] Description

[en] Mandatory

[en] Value

390

[en] To ID (IDs higher to the one defined in this register will not be deleted)

[en] Yes

[en] For example: 1400

[en] Output Registers

[en] Register

[en] Description

[en] Value

112

[en] Call result

000

[en] NO_ERROR

001

[en] GENERIC_ERROR

010

[en] INITIALIZE_DATABASE_ERROR

290

[en] Number of event logs deleted

[en] For example: 100