GetDBSize

Description

Returns the size of a given DB Number.
This function is useful to upload an entire DB.

 

Declaration

int GetDBSize(uint16_t DBNumber, uint16_t *Size);

 

 

Parameters

 

Type

Dir.

 

DBNumber

uint16_t

In

DB Number

size

Pointer to uint16_t

Out

DB Size in bytes

 

 

Return value

         0 : The function was accomplished with no errors.

         Other values : see the Errors Code List.