26
"C" Programming Guide For Optimus S/R
extern char ProgVersion[16];
This character array can be used to store the version information of the user program.
Such version information can be checked from the submenu: System Menu > Version.
Note that your C program needs to declare this variable to overwrite the system default
setting. For example,
char ProgVersion[16] = "Power AP 1.00";
Wedge_WakeUp
RS232_WakeUp
Charging_WakeUp
ChargeDone_WakeUp
For example,
WakeUp_Event_Mask = RS232_WakeUp|Charging_WakeUp;
/* wake up by RS-232 connection or battery charging events */
For the Optimus S, it is possible to wake up the terminal by one of the following
pre-defined events:
PwrKey_WakeUp
Alarm_WakeUp
when the keyboard wedge cable is connected
when the RS-232 cable is connected
when the terminal is being charged
when the battery charging is done
when the POWER key is pressed
when the alarm time is up