Availability | All terminals | ||||||
Description |
This function returns the version of the Bootloader of the device.
The version is returned in an 8 character string and is terminated by a null character.
FFN4076C = OPN-2500 Application 4076 rev. C FFM4076C = OPN-6000 Application 4076 rev. C |
||||||
Syntax | char GetApplVersion( void ); | ||||||
Arguments | None | ||||||
Returns | A pointer to a zero terminated string with the version number. | ||||||
Remarks | None | ||||||
Example |
#include <stdio.h> #include "lib.h" void main( void ) { int key; ResetKey(); printf("\nPress trigger key"); for(;;) { if( (key = getchar()) != EOF) { ResetKey(); switch( key ) { case TRIGGER_KEY: Sound( TSTANDARD, VHIGH, SHIGH, 0); printf("\nBootloader = %s", GetBootVersion()); printf("\nO/S = %s", GetOsVersion()); printf("\nAppl. = %s", GetApplVersion()); break; default: Sound( TCLICK, VHIGH, SLOW, 0); break; } } Idle(); } } |