Chapter 3 Terminal Specific Function Library
25
extern long
AIMING_TIMEOUT; /* in units of 5 ms */
This variable holds the aiming timer for the Aiming mode of the scanner. By default, it
is set to 200 (= 1 second).
extern int
IrDA_Timeout;
This variable governs the timer for the IrDA connection, i.e. the system will give up
trying to establish connection with an IrDA device when the timer expires.
Possible value of this variable can be one of the following time intervals. By default, it
is set to 1, i.e., 3 seconds.
1
: 3 sec
2
: 8 sec
3
: 12 sec
4
: 16 sec
5
: 20 sec
6
: 25 sec
7
: 30 sec
8
: 40 sec
extern int
BC_X, BC_Y;
These two variables govern the location of the battery icon, i.e. once their values are
changed, the battery icon will be moved.
Optimus S:
Set to (96, 51) by default.
Optimus R:
Set to (120, 51) by default.
extern int
KEY_CLICK [4];
This variable holds the frequency-duration pair of the key click.
The following example can be used to generate a beeping sound like the key click.
on_beeper (KEY_CLICK);
extern unsigned char
WakeUp_Event_Mask;
For the Optimus R, it is possible to wake up the terminal by one of the following
pre-defined events:
Содержание Optimus R
Страница 1: ...Printed on 20 March 2006 C Programming Guide Version 3 04 02 Optimus S Optimus R...
Страница 6: ......
Страница 8: ...2 C Programming Guide For Optimus S R...
Страница 12: ...6 C Programming Guide For Optimus S R The flow is illustrated as shown below...
Страница 23: ...Chapter 2 Development Environment 17 Different types signed unsigned Different types same size...
Страница 24: ...18 C Programming Guide For Optimus S R...
Страница 220: ...214 C Programming Guide For Optimus S R See Also FlashSize free_memory...
Страница 232: ...226 C Programming Guide For Optimus S R 4 11 Implementation defined Limits limits h float h Refer to limit h and float h...
Страница 238: ...232 C Programming Guide For Optimus S R...