7 Teleservice Application Framework
User Manual 131/374
Example code:
// call of x_function_name()
void main(void)
{
sint16 s16_Result = C_NO_ERR;
uint16 u16_Value = 0;
s16_Result = x_function_name(15, 0x20000, &u16_Value);
if (s16_Result != C_NO_ERR) // check if an error occurred!
{
u16_Value = 0;
}
else
{
u16_Value *= 2;
}
:
}
7.3.2.3 Error Codes
The error codes used by the C-BIOS API functions are handled by using macros.
The following macros are defined:
Function executed without error
The corresponding values here are informal only (e.g. for debugging). Values/Constants should not be
used direct for coding.