Skip to main content

Veritran Docs

CleanRecords

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

Parameter Configuration

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.

Function ID

Register

Value

110

3

Input Registers

Register

Description

Mandatory

Value

390

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

Yes

For example: 1400

Output Registers

Register

Description

Value

112

Call result

000

NO_ERROR

001

GENERIC_ERROR

010

INITIALIZE_DATABASE_ERROR

290

Number of event logs deleted

For example: 100